Out-of-bounds Read in MongoDB

CVE-2017-14227

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

Vulnerability class: Buffer Overflow

EPSS: 0.028 (85.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Mongodb — versions 1.7.0
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-14227?
CVE-2017-14227 is a high-severity vulnerability in MongoDB, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2017-09-09.
How severe is CVE-2017-14227?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2017-14227 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.