Advisory

GHSA-3qmg-c9vc-r47j

Also known as: CVE-2017-1000116, PYSEC-2017-89

Summary

Mercurial is vulnerable to shell injection attack

Details

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-13 01:40 UTC
Modified
2024-09-25 20:23 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 4.3 (ecosystem)

Fixed versions

4.3

Fix

  • Fixed version 4.3
    pip install --upgrade mercurial==4.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences