Skip to content
OpenAdvisories
Medium · 5.9 CVE-2010-4237 EUVD-2022-1665GHSA-7gf7-7wx4-mxmwPYSEC-2026-665

Mercurial Improper Certificate Validation vulnerability

Published Oct 29, 2019 · Updated Aug 7, 2024 · Assigned by canonical

Description

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.

Affected products

VendorProductAffectedFixed
mercurial mercurial 1.6.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mercurial 1.6.4-1 —
Debian 13 mercurial 1.6.4-1 —
Debian 12 mercurial 1.6.4-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mercurial < 1.6.4 1.6.4 GHSA-7gf7-7wx4-mxmw

References