CVE-2022-39396
Remote code execution via MongoDB BSON parser through prototype pollution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami.
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 4.10.18, and prior to 5.3.1 on the 5.X branch, are vulnerable to Remote Code Execution via prototype pollution. An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. This issue is patched in version 5.3.1 and in 4.10.18. There are no known workarounds.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | parse | 4.10.18, 5.3.1 |
| npm::GitHub Security Advisory npm | parse-server | 4.10.18, 5.3.1 |
References
- https://github.com/parse-community/parse-server
- https://github.com/parse-community/parse-server/pull/8295
- https://github.com/parse-community/parse-server/pull/8296
- https://github.com/parse-community/parse-server/releases/tag/4.10.18
- https://github.com/parse-community/parse-server/releases/tag/5.3.1
- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg
- https://nvd.nist.gov/vuln/detail/CVE-2022-39396