Advisory

GHSA-7gf7-7wx4-mxmw

Also known as: CVE-2010-4237, PYSEC-2026-665

Summary

Mercurial Improper Certificate Validation vulnerability

Details

Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-04-21 01:57 UTC
Modified
2026-07-06 08:11 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 1.6.4 (ecosystem)

Fixed versions

1.6.4

Fix

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

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