Affected versions
npmparse-server
- Affected versions
- < 5.5.2
- Fixed version
- 5.5.2
npmparse-server
- Affected versions
- >= 6.0.0, < 6.2.1
- Fixed version
- 6.2.1
Exploitation
Description
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.
Credits
Discovered by hir0ot working with Trend Micro Zero Day Initiative
Fixed by dbythy
Reviewed by mtrezza
References
Links
- https://github.com/advisories/GHSA-462x-c3jw-7vr6
- https://github.com/parse-community/parse-server/commit/3dd99dd80e27e5e1d99b42844180546d90c7aa90
- https://github.com/parse-community/parse-server/commit/5fad2928fb8ee17304abcdcf259932f827d8c81f
- https://github.com/parse-community/parse-server/issues/8674
- https://github.com/parse-community/parse-server/issues/8675
- https://github.com/parse-community/parse-server/releases/tag/5.5.2
- https://github.com/parse-community/parse-server/releases/tag/6.2.1
- https://github.com/parse-community/parse-server/security/advisories/GHSA-462x-c3jw-7vr6
- https://nvd.nist.gov/vuln/detail/CVE-2023-36475
Credits
- dblythy
- mtrezza

