Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
MongoDB Java Driver
Default version status: unaffected
4.2.0 to < 5.11.1affected
MongoDB org.mongodb:mongodb-crypt Maven package
Default version status: unaffected
1.4.0 to < 5.11.1affected
MongoDB org.mongodb:mongodb-driver-reactivestreams Maven package
Default version status: unaffected
4.6.0 to < 5.11.1affected