CRITICAL 10.0 npm
ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection
GHSA-6927-3vr9-fxf2 · BIT-parse-2024-27298 · CVE-2024-27298
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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)
References
- WEB https://github.com/parse-community/parse-server/security/advisories/GHSA-6927-3vr9-fxf2
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-27298
- WEB https://github.com/parse-community/parse-server/commit/a6e654943536932904a69b51e513507fcf90a504
- WEB https://github.com/parse-community/parse-server/commit/cbefe770a7260b54748a058b8a7389937dc35833
- PACKAGE https://github.com/parse-community/parse-server
- WEB https://github.com/parse-community/parse-server/releases/tag/6.5.0
- WEB https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.20
Ready to move
Start Securing
Free, no credit card | First findings in minutes