Mongoid 暗号化した埋め込みフィールドが平文で保存される脆弱性
Summary
Mongoidの一部の埋め込みドキュメントで、アプリケーションが暗号化を指定した値が平文のままデータベースに書き込まれることがあります。読み取り権限だけを持つ利用者が、暗号化キーがなくても値を読める可能性があります。9.0.0以降9.1.3未満のMongoDB Ruby Driverが対象で、9.1.3で修正されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Mongoidの一部の埋め込みドキュメントで、アプリケーションが暗号化を指定した値が平文のままデータベースに書き込まれることがあります。読み取り権限だけを持つ利用者が、暗号化キーがなくても値を読める可能性があります。9.0.0以降9.1.3未満のMongoDB Ruby Driverが対象で、9.1.3で修正されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBRuby Driver |
≥ 9.0.0, < 9.1.3→ 9.1.3 |
9.1.3 |
Original description The description as published by the source.
Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com