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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mercurial | 1.6.4-1 | — |
| Debian 13 | mercurial | 1.6.4-1 | — |
| Debian 12 | mercurial | 1.6.4-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | mercurial | < 1.6.4 | 1.6.4 | GHSA-7gf7-7wx4-mxmw |