{"id":"CVE-2010-4237","aliases":["DEBIAN-CVE-2010-4237","EUVD-2022-1665","GHSA-7gf7-7wx4-mxmw","PYSEC-2026-665"],"status":"published","title":"Mercurial Improper Certificate Validation vulnerability","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00821,"percentile":0.57541,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2019-10-29T17:07:34Z","modified":"2026-10-23T18:03:39Z","fixes":[{"ecosystem":"PyPI","package":"mercurial","fixed_in":["1.6.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"mercurial","fixed_in":["1.6.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mercurial","fixed_in":["1.6.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mercurial","fixed_in":["1.6.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4"}]}],"versions":["0.8.1","0.9","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.2","1.2.1","1.3","1.3.1","1.4","1.4.1","1.4.2","1.4.3","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.6","1.6.1","1.6.2","1.6.3"]},{"source":"osv","ecosystem":"PyPI","package":"mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.4"}]}],"versions":["0.8.1","0.9","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.2","1.2.1","1.3","1.3.1","1.4","1.4.1","1.4.2","1.4.3","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.6","1.6.1","1.6.2","1.6.3"]}],"products":[{"vendor":"mercurial","product":"mercurial"},{"vendor":"the mercurial project","product":"mercurial"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2010-4237","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-4237","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598841","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://bz.mercurial-scm.org/show_bug.cgi?id=2407","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4237","tags":["advisory"]},{"url":"https://github.com/dscho/hg/commit/4ea63fb25ceeeaaa4cd1026f733b7ea7672c30b3","tags":["web"]},{"url":"https://github.com/dscho/hg/commit/89baabf4fb7abf30ef6fdcf3d455a7893e5cc145","tags":["web"]},{"url":"https://repo.mercurial-scm.org/hg/rev/6ab4a7d3c179","tags":["web"]},{"url":"https://repo.mercurial-scm.org/hg/rev/f2937d6492c5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7gf7-7wx4-mxmw","tags":["advisory"]},{"url":"https://pypi.org/project/mercurial","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2010-4237","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.","status":"published","published":"2019-10-29T17:07:34Z","modified":"2024-08-07T03:34:37.773Z","updated_at":"2026-11-02T14:33:28.50039Z"}],"euvd":[{"id":"EUVD-2022-1665","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.","status":"published","published":"2019-10-29T17:07:34Z","modified":"2024-08-07T03:34:37Z","updated_at":"2026-11-03T01:39:31.025742Z"}],"ghsa":[{"id":"GHSA-7gf7-7wx4-mxmw","title":"Mercurial Improper Certificate Validation vulnerability","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.","status":"published","published":"2022-04-21T01:57:44Z","modified":"2024-05-02T13:14:04Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:37:48.08826Z"}],"nvd":[{"id":"CVE-2010-4237","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.","status":"published","published":"2019-10-29T19:15:12.72Z","modified":"2026-06-16T23:24:24.847Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:02:04.957683Z"}],"osv":[{"id":"CVE-2010-4237","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.","status":"published","published":"2019-10-29T19:15:12Z","modified":"2026-07-06T08:11:12.037621418Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2010-4237","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.","status":"published","published":"2019-10-29T19:15:12.72Z","modified":"2026-10-23T18:03:39.873506406Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"GHSA-7gf7-7wx4-mxmw","title":"Mercurial Improper Certificate Validation vulnerability","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.","status":"published","published":"2022-04-21T01:57:44Z","modified":"2026-07-06T08:11:12.037621418Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"PYSEC-2026-665","title":"Mercurial Improper Certificate Validation vulnerability","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.","status":"published","published":"2026-07-02T14:13:17.606556Z","modified":"2026-07-06T08:00:38.849597485Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:57.671918Z"}]}}
