GitHub Advisoryadvisory · npm

GHSA-prm5-8g2m-24gg Remote code execution via MongoDB BSON parser through prototype pollution

CRITICAL Published 2022-11-08 Modified 2022-11-09 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