parse-community/parse-server · Security
Remote code execution via MongoDB BSON parser through prototype pollution
- GHSA ID
- GHSA-prm5-8g2m-24gg
- CVE ID
- CVE-2022-39396
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg ↗
- 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/releases/tag/4.10.18 ↗
- https://github.com/parse-community/parse-server/releases/tag/5.3.1 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2022-39396 ↗
- https://github.com/advisories/GHSA-prm5-8g2m-24gg ↗