Advisory

GHSA-prm5-8g2m-24gg

Also known as: BIT-parse-2022-39396, CVE-2022-39396

Summary

Remote code execution via MongoDB BSON parser through prototype pollution

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-11-08 17:29 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

parse-server

npm · All systems

Affected

  • introduced 0, fixed 4.10.18 (semver)

Fixed versions

4.10.18

Fix

parse-server

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.3.1 (semver)

Fixed versions

5.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences