CVE-2017-14227
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0.8.4-2+deb12u1 |
| debian | bullseye | fixed | 0.8.4-1+deb11u1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mongodb | mongodb | 1.7.0 | |
References
- http://www.securityfocus.com/bid/100825
- https://bugzilla.redhat.com/show_bug.cgi?id=1489355
- https://bugzilla.redhat.com/show_bug.cgi?id=1489356
- https://bugzilla.redhat.com/show_bug.cgi?id=1489362
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html
- https://security-tracker.debian.org/tracker/CVE-2017-14227
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.