GitHub Advisoryadvisory · npm
GHSA-462x-c3jw-7vr6 Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution
CRITICAL
Official page ↗
- Aliases
- CVE-2023-36475
- Ecosystem
- npm
- Packages
- parse-server
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2023-06-30
Affected packages
• npm parse-server: < 5.5.2 → fixed in 5.5.2
• npm parse-server: >= 6.0.0, < 6.2.1 → fixed in 6.2.1
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
• https://github.com/parse-community/parse-server/security/advisories/GHSA-462x-c3jw-7vr6
• https://github.com/advisories/GHSA-prm5-8g2m-24gg
Related
Alias · CVE (1)
- CVE-2023-36475 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-462x-c3jw-7vr6 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-36475 advisory
- https://github.com/parse-community/parse-server/issues/8674 web
- https://github.com/parse-community/parse-server/issues/8675 web
- https://github.com/parse-community/parse-server/commit/3dd99dd80e27e5e1d99b42844180546d90c7aa90 web
- https://github.com/parse-community/parse-server/commit/5fad2928fb8ee17304abcdcf259932f827d8c81f web
- https://github.com/parse-community/parse-server package
- https://github.com/parse-community/parse-server/releases/tag/5.5.2 web
- https://github.com/parse-community/parse-server/releases/tag/6.2.1 web