CVE-2017-14227 json
In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows…
published 9y ago modified 4mo ago also EUVD-2017-5737
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libbson-xs-perl Debian 12 0.8.4-2+deb12u1
debian advisories DEBIAN-CVE-2017-14227
- libbson Ubuntu Pro 16.04 LTS 1.3.1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2017-14227
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2017-14227 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-14227 updated cvss 3.3
libbson: Heap based buffer over read in the bson_utf8_validate function
-
Red Hat Software Collections rh-mongodb34-libbsonaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.47% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1489362
issue-tracking, third-party-advisory
-
securityfocus.com
/bid/100825
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1489355
issue-tracking, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1489356
issue-tracking, third-party-advisory
- lists.debian.org /debian-lts-announce/2025/05/msg00012.html
Sources
- CVE List CVE-2017-14227
- NVD CVE-2017-14227
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.