CVE-2024-53900
CRITICAL9.8EPSS 52.2%Mongoose search injection vulnerability
發布日:2024/12/2修改日:2026/2/5
描述
Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.
受影響套件(2)
- Bitnami/mongoosefrom 0, < 6.13.5, >= 7.0.0, < 8.8.3
- npm/mongoose>= 8.0.0-rc0, < 8.8.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-53900
- PATCHhttps://github.com/Automattic/mongoose
- WEBhttps://github.com/advisories/GHSA-m7xq-9374-9rvx
- WEBhttps://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
- WEBhttps://github.com/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805b
- WEBhttps://github.com/Automattic/mongoose/commit/bbb6fa7ecb44bbaf5bea955d886378a1247bce0b
- WEBhttps://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156
- WEBhttps://github.com/Automattic/mongoose/compare/6.13.4...6.13.5
- WEBhttps://github.com/Automattic/mongoose/compare/7.8.2...7.8.3
- WEBhttps://github.com/Automattic/mongoose/compare/8.8.2...8.8.3
- WEBhttps://github.com/Automattic/mongoose/releases
- WEBhttps://github.com/github/advisory-database/pull/6769
- WEBhttps://github.com/github/advisory-database/pull/6776
- WEBhttps://www.npmjs.com/package/mongoose?activeTab=versions