Vulnerability · Published Mar 19, 2024 · Assigned by GitHub_M
CVE-2024-29027Parse Server crash and RCE via invalid Cloud Function or Cloud Job name
Critical 9.1
In plain English
A critical-severity injection in parse-server from parse-community. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 6.5.5 and 7.0.0-alpha.29, calling an invalid Parse Server Cloud Function name or Cloud Job name crashes the server and may allow for code injection, internal store manipulation or remote code execution. The patch in versions 6.5.5 and 7.0.0-alpha.29 added string sanitation for Cloud Function name and Cloud Job name. As a workaround, sanitize the Cloud Function name and Cloud Job name before it reaches Parse Server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | parse-server | 6.5.5 | GHSA-6hh7-46r2-vf29 |
| npm | parse-server | 7.0.0-alpha.29 | GHSA-6hh7-46r2-vf29 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| parse-community | parse-server | < 6.5.5>= 7.0.0-alpha.1, < 7.0.0-alpha.29 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-6hh7-46r2-vf29 x_refsource_CONFIRM
- https://github.com/parse-community/parse-server/commit/5ae6d6a36d75c4511029f0ba5673ae4b2999179b x_refsource_MISC
- https://github.com/parse-community/parse-server/commit/9f6e3429d3b326cf4e2994733c618d08032fac6e x_refsource_MISC
- https://github.com/parse-community/parse-server/releases/tag/6.5.5 x_refsource_MISC
- https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.29 x_refsource_MISC