Mongoid stores encrypted fields in plaintext when two models share a collection
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MongoDB | Ruby Driver | =9.0.0, =9.0.1, =9.0.10, =9.0.11, =9.0.12, =9.0.2, =9.0.3, =9.0.4, =9.0.5, =9.0.6, =9.0.7, =9.0.8, =9.0.9, =9.1.0, =9.1.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