GHSA-prm5-8g2m-24gg
Remote code execution via MongoDB BSON parser through prototype pollution
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | parse-server | < 4.10.18 | 4.10.18 |
| npm | parse-server | >= 5.0.0, < 5.3.1 | 5.3.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.
- 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