GitHub Advisoryadvisory · npm
GHSA-prm5-8g2m-24gg Remote code execution via MongoDB BSON parser through prototype pollution
CRITICAL
Official page ↗
- Aliases
- CVE-2022-39396
- 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
- 2022-11-08
Affected packages
• npm parse-server: < 4.10.18 → fixed in 4.10.18
• npm parse-server: >= 5.0.0, < 5.3.1 → fixed in 5.3.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.
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
Related
Alias · CVE (1)
- CVE-2022-39396 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-prm5-8g2m-24gg web
- https://nvd.nist.gov/vuln/detail/CVE-2022-39396 advisory
- https://github.com/parse-community/parse-server/pull/8295 web
- https://github.com/parse-community/parse-server/pull/8296 web
- https://github.com/parse-community/parse-server package
- https://github.com/parse-community/parse-server/releases/tag/4.10.18 web
- https://github.com/parse-community/parse-server/releases/tag/5.3.1 web