CVE-2023-0437 MongoDB client C Driver may infinitely loop when validating certain BSON input data
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.
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 |
| debian/mongo-c-driver(Debian:12) | < 1.23.1-1+deb12u1 | 1.23.1-1+deb12u1 |
| debian/mongo-c-driver(Debian:12) | = 1.23.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:13) | < 1.25.0-1 | 1.25.0-1 |
| debian/mongo-c-driver(Debian:14) | < 1.25.0-1 | 1.25.0-1 |
| MongoDB C Driver | >= 1.0.0, < 1.25.0 | 1.25.0 |
| MongoDB C Driver | < 1.25.0 | 1.25.0 |
| alpine/mongo-c-driver(Alpine:v3.20) | < 1.25.4-r0 | 1.25.4-r0 |
| alpine/mongo-c-driver(Alpine:v3.21) | < 1.25.4-r0 | 1.25.4-r0 |
| alpine/mongo-c-driver(Alpine:v3.22) | < 1.25.4-r0 | 1.25.4-r0 |
| alpine/mongo-c-driver(Alpine:v3.23) | < 1.25.4-r0 | 1.25.4-r0 |
| alpine/mongo-c-driver(Alpine:v3.24) | < 1.25.4-r0 | 1.25.4-r0 |
References
- Debian Security Tracker CVE-2023-0437 vendor-advisory
- jira.mongodb.org issue-tracking vendor-advisory
- lists.fedoraproject.org
- lists.debian.org
- lists.debian.org
- security.alpinelinux.org vendor-advisory