CVE-2018-17983

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

published October 4, 2018

CVSS
—
EPSS
2%
Percentile
80.2
In the wild
Unconfirmed
What it is

⚠️ A crafty out-of-bounds read is hiding in Mercurial's manifest parsing! This bug can lead to unexpected behavior in versions before 4.7.2. 😲 Think of it as a librarian finding a book page that’s been torn out and trying to read it anyway — they might stumble onto some unexpected information that causes confusion or errors. That's exactly what happens here when Mercurial encounters a malformed manifest entry. An attacker could exploit this vulnerability to induce unpredictable behavior in Mercurial, which might disrupt version control operations or lead to data corruption. While it isn't known to be actively exploited, the potential for chaos in your repositories is definitely something to consider!

Put simply

Think of it as a librarian finding a book page that’s been torn out and trying to read it anyway — they might stumble onto some unexpected information that causes confusion or errors. That's exactly what happens here when Mercurial encounters a malformed manifest entry. This vulnerability involves an out-of-bounds read occurring during the parsing of a malformed manifest entry within Mercurial, which can cause the software to behave unexpectedly without proper safeguards.

What to do

An attacker could exploit this vulnerability to induce unpredictable behavior in Mercurial, which might disrupt version control operations or lead to data corruption. While it isn't known to be actively exploited, the potential for chaos in your repositories is definitely something to consider! Upgrade to Mercurial version 4.7.2 or later to patch this vulnerability. Also, consider reviewing your configurations and testing for any malicious manifest entries to ensure your environment remains secure. You've got this! By taking these steps, you'll keep your version control running smoothly and securely. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01969 · 80.2th percentile
Published
2018-10-04T23:00Z
EPSS history
Timeline
  • 04 OCT 23:00Z
    cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry
    cvelistv5