Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Driver 1.21.11, PHP Driver 2.1.11 and PHP Driver 2.5.4.
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MongoDB | PHP Driver | >=1.3.0 <1.21.11, >=2.0.0 <2.1.11, >=2.2.0 <2.5.4 | 1.21.11, 2.1.11, 2.5.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in MongoDB, strongest first
Embed
A live severity badge for an advisory, README or ticket