Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mercurial
  4. ›
  5. CVE-2010-4237

CVE-2010-4237: Mercurial Improper Certificate Validation vulnerability

April 21, 2022 (updated May 2, 2024)

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.

References

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=598841
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-4237
  • bz.mercurial-scm.org/show_bug.cgi?id=2407
  • github.com/advisories/GHSA-7gf7-7wx4-mxmw
  • github.com/dscho/hg/commit/4ea63fb25ceeeaaa4cd1026f733b7ea7672c30b3
  • github.com/dscho/hg/commit/89baabf4fb7abf30ef6fdcf3d455a7893e5cc145
  • nvd.nist.gov/vuln/detail/CVE-2010-4237
  • repo.mercurial-scm.org/hg/rev/6ab4a7d3c179
  • repo.mercurial-scm.org/hg/rev/f2937d6492c5
  • security-tracker.debian.org/tracker/CVE-2010-4237

Code Behaviors & Features

Detect and mitigate CVE-2010-4237 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.4

Fixed versions

  • 1.6.4

Solution

Upgrade to version 1.6.4 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

pypi/mercurial/CVE-2010-4237.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.