GitHub Advisoryadvisory · npm
GHSA-c2hr-cqg6-8j6r ZDI-CAN-23894: Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2024-39309
- Ecosystem
- npm
- Packages
- parse-server
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-288
- Reviewed
- 2024-07-01
Affected packages
• npm parse-server: < 6.5.7 → fixed in 6.5.7
• npm parse-server: >= 7.0.0, < 7.1.0 → fixed in 7.1.0
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-c2hr-cqg6-8j6r
• https://github.com/parse-community/parse-server/pull/9167 (fix for Parse Server 7)
• https://github.com/parse-community/parse-server/pull/9168 (fix for Parse Server 6)
Credits
• Smile Thanapattheerakul of Trend Micro (finder)
• Manuel Trezza (coordinator)
Related
Alias · CVE (1)
- CVE-2024-39309 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability
Weakness · CWE (1)
- CWE-288 Authentication Bypass Using an Alternate Path or Channel weakness
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-c2hr-cqg6-8j6r web
- https://nvd.nist.gov/vuln/detail/CVE-2024-39309 advisory
- https://github.com/parse-community/parse-server/pull/9167 web
- https://github.com/parse-community/parse-server/pull/9168 web
- https://github.com/parse-community/parse-server/commit/2edf1e4c0363af01e97a7fbc97694f851b7d1ff3 web
- https://github.com/parse-community/parse-server/commit/f332d54577608c5ad927255e06d8c694e2e0ff5b web
- https://github.com/parse-community/parse-server package