CVE-2022-39396: Parse Server vulnerable to Remote Code Execution via prototype pollution in MongoDB BSON parser

Published Nov 8, 2022
·
Updated

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

Other sources

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 4.10.18, and prior to 5.3.1 on the 5.X branch, are vulnerable to Remote Code Execution via prototype pollution. An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. This issue is patched in version 5.3.1 and in 4.10.18. There are no known workarounds.

Affected Software

4 affected componentsFixes available
npm/parse-server>=5.0.0<5.3.1
5.3.1
npm/parse-server<4.10.18
4.10.18
parseplatform Parse-server Node.js<4.10.18
parseplatform Parse-server Node.js>=5.0.0<5.3.1

Event History

Nov 8, 2022
Advisory Published
05:29 PM
Nov 10, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-39396?

CVE-2022-39396 is a vulnerability that allows an attacker to trigger a remote code execution through the MongoDB BSON parser in Parse Server, an open-source backend.

2

What is the impact of CVE-2022-39396?

The impact of CVE-2022-39396 is that an attacker can use this vulnerability to execute remote code on the affected system.

3

How can I patch the vulnerability CVE-2022-39396?

To patch the vulnerability CVE-2022-39396, you need to prevent prototype pollution in the MongoDB database adapter used by Parse Server.

4

Are there any workarounds for CVE-2022-39396?

Yes, you can disable remote code execution through the MongoDB BSON parser as a workaround for CVE-2022-39396.

5

Where can I find more information about CVE-2022-39396?

You can find more information about CVE-2022-39396 in the following references: [link 1](https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg), [link 2](https://github.com/parse-community/parse-server/pull/8295), [link 3](https://github.com/parse-community/parse-server/pull/8296).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203