Loading...
Skip to main content

CVE-2024-27298

CRITICAL

ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection

Published March 1, 2024Updated April 1, 2024Source: osv

Summary

### 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)

Remediation

Upgrade to the fixed version using your package manager.

npm
Update parse-server to 6.5.0 or later
npm install parse-server@6.5.0
npm
Update parse-server to 7.0.0-alpha.20 or later
npm install parse-server@7.0.0-alpha.20

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

PackageEcosystemAffectedFixed In
parse-server
npm
All versions6.5.0
parse-server
npm
All versions7.0.0-alpha.20

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2024-27298?
ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2024-27298?
CVE-2024-27298 affects parse-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-27298 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6927-3vr9-fxf2
BIT-parse-2024-27298

Related CVEs

  • CVE-2023-36475
    CRITICAL

    Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution

  • CVE-2026-27804
    CRITICAL

    Parse Server: Account takeover via JWT algorithm confusion in Google auth adapter

  • CVE-2026-30966
    CRITICAL

    Parse Server has role escalation and CLP bypass via direct `_Join` table write

  • CVE-2026-32248
    CRITICAL

    Parse Server: Account takeover via operator injection in authentication data identifier

  • CVE-2026-30965
    CRITICAL

    Parse Server vulnerable to session token exfiltration via `redirectClassNameForKey` query parameter

  • CVE-2024-39309
    CRITICAL

    ZDI-CAN-23894: Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability

  • CVE-2026-31871
    CRITICAL

    Parse Server vulnerable to SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL

  • CVE-2026-31800
    HIGH

    Parse Server: Classes `_GraphQLConfig` and `_Audience` master key bypass via generic class routes

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies