CVE-2022-39396
Remote code execution via MongoDB BSON parser through prototype pollution
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
How to fix CVE-2022-39396
To remediate CVE-2022-39396, upgrade the affected package to a fixed version below.
- —upgrade to 4.10.18 or later
- —upgrade to 4.10.18 or later
Is CVE-2022-39396 being exploited?
Moderate — EPSS is 11.0%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 4.10.18, >= 5.0.0, < 5.3.1
- from 0, < 4.10.18
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |