A flaw was found in the MongoDB Java Driver. The BSON (Binary JSON) encoding component fails to verify that an externally supplied raw document's declared length matches its actual byte range before copying it into an outgoing database command. A remote attacker can exploit this flaw by submitting crafted input through an application that wraps the raw document into database operations, causing trailing data to be interpreted as additional command fields. This issue allows attackers to alter database commands and potentially read or modify data under the application's credentials.
Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:LI:LA:N6.5/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N