Application denial of service via cancellation race in reactive client-side encryption in MongoDB Java Driver
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Java Driver 5.11.1, org.mongodb:mongodb-crypt Maven package 5.11.1 and org.mongodb:mongodb-driver-reactivestreams Maven package 5.11.1.
A use-after-free in the reactive client-side encryption component of the MongoDB Java Driver can cause native resources to be freed while an affected encrypted operation is still using them when the operation is cancelled. A party able to cause such an operation to be cancelled may cause the hosting application process to terminate. Reaching the issue requires an affected reactive encryption configuration that retrieves KMS credentials on demand.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MongoDB | Java Driver | >=4.2.0 <5.11.1 | 5.11.1 |
| MongoDB | org.mongodb:mongodb-crypt Maven package | >=1.4.0 <5.11.1 | 5.11.1 |
| MongoDB | org.mongodb:mongodb-driver-reactivestreams Maven package | >=4.6.0 <5.11.1 | 5.11.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in MongoDB, strongest first
Embed
A live severity badge for an advisory, README or ticket