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 bu...
HighCVSS 7.5
EPSS 5.5%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libbson-xs-perl(Debian 12) | < 0.8.4-2+deb12u1; = 0.8.4-2 | 0.8.4-2+deb12u1 | Fixed |
| ubuntu/libbson(Ubuntu Pro 16.04) | < 1.3.1-1ubuntu0.1~esm1; = 1.3.1-1 | 1.3.1-1ubuntu0.1~esm1 | Fixed |
| mongodb/mongodb | = 1.7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libbson-xs-perl(Debian:12) | < 0.8.4-2+deb12u1 | 0.8.4-2+deb12u1 |
| debian/libbson-xs-perl(Debian:12) | = 0.8.4-2 | No fix listed |
| mongodb/mongodb | = 1.7.0 | No fix listed |
| ubuntu/libbson(Ubuntu:Pro:16.04) | < 1.3.1-1ubuntu0.1~esm1 | 1.3.1-1ubuntu0.1~esm1 |
| ubuntu/libbson(Ubuntu:Pro:16.04) | = 1.3.1-1 | No fix listed |
References
- Debian Security Tracker CVE-2017-14227 vendor-advisory
- 100825 third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking third-party-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- lists.debian.org
- ubuntu.com issue-tracking
- jira.mongodb.org issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory