CVE-2023-36475: Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution

Published Jun 28, 2023
·
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.

Credits

- Discovered by hir0ot working with Trend Micro Zero Day Initiative - Fixed by dbythy - Reviewed by mtrezza

References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-462x-c3jw-7vr6 - https://github.com/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. Prior to versions 5.5.2 and 6.2.1, an attacker can use a prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. A patch is available in versions 5.5.2 and 6.2.1.

MITRE

Affected Software

4 affected componentsFixes available
npm/parse-server>=6.0.0<6.2.1
6.2.1
npm/parse-server<5.5.2
5.5.2
parseplatform Parse-server Node.js<5.5.2
parseplatform Parse-server Node.js>=6.0.0<6.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/parse-server to a version that resolves this vulnerability.

    Fixed in 6.2.1
  2. Upgrade

    Upgrade npm/parse-server to a version that resolves this vulnerability.

    Fixed in 5.5.2
  3. Upgrade

    Upgrade Parse Server to a version that resolves this vulnerability.

    Fixed in 5.5.2
  4. Upgrade

    Upgrade Parse Server to a version that resolves this vulnerability.

    Fixed in 6.2.1
  5. Compensating control

    Disable remote code execution through the MongoDB BSON parser.

Event History

Jun 28, 2023
CVE Published
via MITRE·10:32 PM
Data Sourced
via MITRE·10:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 30, 2023
Advisory Published
08:41 PM

Frequently Asked Questions

1

What is the impact of CVE-2023-36475?

An attacker can use this vulnerability to trigger a remote code execution through the MongoDB BSON parser.

2

How can I fix CVE-2023-36475?

Apply the patch to prevent prototype pollution in the MongoDB database adapter.

3

Are there any workarounds to protect against CVE-2023-36475?

Disable remote code execution through the MongoDB BSON parser.

4

What is the severity of CVE-2023-36475?

The severity of this vulnerability is critical with a CVSS score of 9.8.

5

Where can I find more information about CVE-2023-36475?

You can find more information about CVE-2023-36475 at the following references: [GitHub Advisory](https://github.com/parse-community/parse-server/security/advisories/GHSA-462x-c3jw-7vr6), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-36475), [GitHub Issue](https://github.com/parse-community/parse-server/issues/8674).

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