CVE-2024-27298: Parse Server literalizeRegexPart SQL Injection

Published Mar 1, 2024
·
Updated

Impact

This vulnerability allows SQL injection when Parse Server is configured to use the PostgreSQL database.

Patches

The algorithm to detect SQL injection has been improved.

Workarounds

None.

References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-6927-3vr9-fxf2 - https://github.com/parse-community/parse-server/releases/tag/6.5.0 (fixed in Parse Server 6) - https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.20 (fixed in Parse Server 7 alpha release)

Credits

- Mikhail Shcherbakov (https://twitter.com/yu5k3) working with Trend Micro Zero Day Initiative (finder) - Ehsan Persania (remediation developer) - Manuel Trezza (coordinator)

Other sources

parse-server is a Parse Server for Node.js / Express. This vulnerability allows SQL injection when Parse Server is configured to use the PostgreSQL database. The vulnerability has been fixed in 6.5.0 and 7.0.0-alpha.20.

NVD

Affected Software

25 affected componentsFixes available
npm/parse-server>=7.0.0-alpha.1<7.0.0-alpha.20
7.0.0-alpha.20
npm/parse-server<6.5.0
6.5.0
parseplatform Parse-server Node.js<6.5.0
parseplatform Parse-server Node.js=6.5.0-alpha1
parseplatform Parse-server Node.js=6.5.0-alpha2
parseplatform Parse-server Node.js=6.5.0-beta1
parseplatform Parse-server Node.js=7.0.0-alpha1
parseplatform Parse-server Node.js=7.0.0-alpha10
parseplatform Parse-server Node.js=7.0.0-alpha11
parseplatform Parse-server Node.js=7.0.0-alpha12
parseplatform Parse-server Node.js=7.0.0-alpha13
parseplatform Parse-server Node.js=7.0.0-alpha14
parseplatform Parse-server Node.js=7.0.0-alpha15
parseplatform Parse-server Node.js=7.0.0-alpha16
parseplatform Parse-server Node.js=7.0.0-alpha17
parseplatform Parse-server Node.js=7.0.0-alpha18
parseplatform Parse-server Node.js=7.0.0-alpha19
parseplatform Parse-server Node.js=7.0.0-alpha2
parseplatform Parse-server Node.js=7.0.0-alpha3
parseplatform Parse-server Node.js=7.0.0-alpha4
parseplatform Parse-server Node.js=7.0.0-alpha5
parseplatform Parse-server Node.js=7.0.0-alpha6
parseplatform Parse-server Node.js=7.0.0-alpha7
parseplatform Parse-server Node.js=7.0.0-alpha8
parseplatform Parse-server Node.js=7.0.0-alpha9

Event History

Mar 1, 2024
CVE Published
via MITRE·05:48 PM
Data Sourced
via MITRE·05:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:08 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-27298?

CVE-2024-27298 is classified as a SQL injection vulnerability that can have significant impact if exploited.

2

How do I fix CVE-2024-27298?

To fix CVE-2024-27298, update to the patched version of Parse Server which is 7.0.0-alpha.20 or later.

3

Who is affected by CVE-2024-27298?

CVE-2024-27298 affects users of Parse Server versions prior to 7.0.0-alpha.20 and 6.5.0.

4

What type of vulnerability is CVE-2024-27298?

CVE-2024-27298 is a SQL injection vulnerability when Parse Server is configured to use PostgreSQL.

5

Are there any workarounds for CVE-2024-27298?

There are currently no workarounds available for CVE-2024-27298, so updating the software is the recommended action.

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