Aarondoran servify-express
Servify Express does not enforce rate limiting when parsing JSON
Servify Express is a Node.js package to start an Express server and log the port it's running on. Prior to 1.2, the Express server used express.json() without a size limit, which could allow attackers to send extremely large request bodies. This can cause excessive memory usage, degraded performance, or process crashes, resulting in a Denial of Service (DoS). Any application using the JSON parser without limits and exposed to untrusted clients is affected. The issue is not a flaw in Express itself, but in configuration. This issue is fixed in version 1.2. To work around, consider adding a limit option to the JSON parser, rate limiting at the application or reverse-proxy level, rejecting unusually large requests before parsing, or using a reverse proxy (such as NGINX) to enforce maximum request body sizes.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.2
Fixed in 1.2
Mitigation
Upgrade servify-express to 1.2 or later.
References
- Vendor advisory github.com/Aarondoran/servify-express/security…
- Patch github.com/Aarondoran/servify-express/commit/8…
- Release notes github.com/Aarondoran/servify-express/releases…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.