MongoDB Atlas SQL ODBC Driver
MongoDB Atlas SQL ODBC Driver writes 48-byte Extended JSON into fixed 16-byte SQL_C_GUID target, causing a 32-byte out-of-bounds write
An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value of a particular database type is retrieved into a fixed-width client-side target. The driver produces a textual form of the value that is longer than the fixed target the ODBC interface defines, and copies it without limiting the copy to the target's real size. A database user with basic write privileges can influence part of the data written outside the target, which may corrupt memory in the application using the driver and cause that application to terminate unexpectedly.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.0.1, < 3.0.1
Fixed in 3.0.1
Mitigation
Upgrade Atlas SQL ODBC Driver to 3.0.1 or later.
References
- Release notes mongodb.com/docs/sql-interface/changelog
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.