CVEfocus › CVE database › CVE-2018-17983

CVE-2018-17983

CVSS 9.1 CriticalEPSS 2.0% (higher than 81% of CVEs)Published 2018-10-04Updated 2024-08-05Assigner: mitre

cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04mercurialNot affected
vulnerable_code_not_present
Ubuntu 20.04mercurialNot affected
vulnerable_code_not_present
Ubuntu 18.04mercurialFixed4.5.3-1ubuntu2.2UBUNTU-CVE-2018-17983
Ubuntu 16.04mercurialFix pending
Debian 14mercurialFixed4.7.2-1DEBIAN-CVE-2018-17983
Debian 13mercurialFixed4.7.2-1DEBIAN-CVE-2018-17983
Debian 12mercurialFixed4.7.2-1DEBIAN-CVE-2018-17983
Red Hat Enterprise Linux 8mercurialNot affected
Red Hat Enterprise Linux 8mercurial-chgNot affected
Red Hat Enterprise Linux 8mercurial-hgkNot affected
Red Hat Enterprise Linux 7emacs-mercurialNot affected
Red Hat Enterprise Linux 7emacs-mercurial-elNot affected
Red Hat Enterprise Linux 7mercurialNot affected
Red Hat Enterprise Linux 7mercurial-hgkNot affected
Red Hat Enterprise Linux 6emacs-mercurialNot affected
Red Hat Enterprise Linux 6emacs-mercurial-elNot affected
Red Hat Enterprise Linux 6mercurialNot affected
Red Hat Enterprise Linux 6mercurial-hgkNot affected
PyPI librarymercurialFixed4.7.2PYSEC-2018-91

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.