VDB
PYSEC-2017-89
PYSEC-2017-89
PUBLISHED
Record from OSV · Published October 5, 2017
mercurial is fixed in 4.3 (PyPI)
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mercurial | PyPI | 4.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | mercurial | 0, 0.8.1, 0.9 |
Timeline
- Oct 5, 2017 CVE Published
- May 1, 2024 CVE Updated
- May 1, 2026 Distribution Patch (2 in total, the first dated here)
- May 1, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln PYSEC-2017-89
vulnetix vdb fixes PYSEC-2017-89
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2017-89/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart