CVE-2024-53900 json
Mongoose search injection vulnerability
published last yr. modified 2mo ago also BIT-mongoose-2024-53900 , EUVD-2024-3487 , GHSA-m7xq-9374-9rvx
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
Patch / fix
- npm mongoose 5.13.23, 6.13.5, 7.8.3, 8.8.3
- bitnami mongoose 6.13.5, 8.8.3
- automattic mongoose 8.8.3
Is CVE-2024-53900 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
3.98% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mongoose | >=8.0.0-rc0, <8.8.3 >=7.0.0-rc0, <7.8.3 >=6.0.0-rc0, <6.13.5 >=3.6.0-rc0, <5.13.23 |
8.8.3 7.8.3 6.13.5 5.13.23 |
| bitnami | mongoose | <6.13.5 >=7.0.0, <8.8.3 |
6.13.5 8.8.3 |
Affected products
- automattic mongoose
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156
web, patch
-
github.com
/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805b
web
-
github.com
/Automattic/mongoose/commit/bbb6fa7ecb44bbaf5bea955d886378a1247bce0b
web
-
github.com
/advisories/GHSA-m7xq-9374-9rvx
vendor-advisory, advisory
-
npmjs.com
/package/mongoose?activeTab=versions
web, product
-
github.com
/Automattic/mongoose/releases
web, release-notes, article
-
github.com
/Automattic/mongoose/blob/master/CHANGELOG.md
web, release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2024-53900
advisory, web
-
github.com
/github/advisory-database/pull/6769
web
-
github.com
/github/advisory-database/pull/6776
web
-
github.com
/Automattic/mongoose
package
-
github.com
/Automattic/mongoose/compare/6.13.4...6.13.5
web
-
github.com
/Automattic/mongoose/compare/7.8.2...7.8.3
web
-
github.com
/Automattic/mongoose/compare/8.8.2...8.8.3
web
Sources
- CVE List CVE-2024-53900
- GitHub Advisory GHSA-m7xq-9374-9rvx
- NVD CVE-2024-53900
- OSV BIT-mongoose-2024-53900
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.