{"id":"GHSA-prm5-8g2m-24gg","summary":"Remote code execution via MongoDB BSON parser through prototype pollution","details":"### Impact\n\nAn attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. \n\n### Patches\n\nPrevent prototype pollution in MongoDB database adapter.\n\n### Workarounds\n\nDisable remote code execution through the MongoDB BSON parser.\n\n### Collaborators\n\nMikhail Shcherbakov (KTH), Cristian-Alexandru Staicu (CISPA) and Musard Balliu (KTH) working with Trend Micro Zero Day Initiative\n\n### References\n\n- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg\n","aliases":["BIT-parse-2022-39396","CVE-2022-39396"],"modified":"2023-12-06T01:02:33.974497Z","published":"2022-11-08T17:29:16Z","database_specific":{"cwe_ids":["CWE-1321"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-11-08T17:29:16Z","nvd_published_at":"2022-11-10T01:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39396"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/pull/8295"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/pull/8296"},{"type":"PACKAGE","url":"https://github.com/parse-community/parse-server"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/releases/tag/4.10.18"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/releases/tag/5.3.1"}],"affected":[{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.10.18"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-prm5-8g2m-24gg/GHSA-prm5-8g2m-24gg.json"}},{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.3.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-prm5-8g2m-24gg/GHSA-prm5-8g2m-24gg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}