GitHub Advisoryadvisory · npm

GHSA-6927-3vr9-fxf2 ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection

CRITICAL Published 2024-03-01 Modified 2024-03-01 Official page ↗
Aliases
CVE-2024-27298
Ecosystem
npm
Packages
parse-server
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weaknesses
CWE-89
Reviewed
2024-03-01

Affected packages

• npm parse-server: < 6.5.0 → fixed in 6.5.0 • npm parse-server: >= 7.0.0-alpha.1, < 7.0.0-alpha.20 → fixed in 7.0.0-alpha.20

Description

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)

Related

Alias · CVE (1)

  • CVE-2024-27298 parse-server is a Parse Server for Node.js / Express. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References