GitHub Advisory Database
GHSA-prm5-8g2m-24gg
Remote code execution via MongoDB BSON parser through prototype pollution
Details
Impact
An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser.
Patches
Prevent prototype pollution in MongoDB database adapter.
Workarounds
Disable remote code execution through the MongoDB BSON parser.
Collaborators
Mikhail Shcherbakov (KTH), Cristian-Alexandru Staicu (CISPA) and Musard Balliu (KTH) working with Trend Micro Zero Day Initiative
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | parse-server | All versions before 4.10.18 (fixed in 4.10.18) |
| npm | parse-server | From 5.0.0 before 5.3.1 (fixed in 5.3.1) |
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg
- https://nvd.nist.gov/vuln/detail/CVE-2022-39396
- 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
- https://github.com/parse-community/parse-server/releases/tag/4.10.18
- https://github.com/parse-community/parse-server/releases/tag/5.3.1