Unleash
Unleash: Unauthenticated single-request DoS via OpenAPI validation error formatter
Unleash is an open-source feature management platform. Prior to 7.5.2, 7.6.5, and 8.0.2, the shared OpenAPI validation error path in src/lib/error/bad-data-error.ts passes a raw request value from lodash.get to JSON.stringify in genericErrorMessage and fromOpenApiValidationErrors without guarding stack exhaustion. An unauthenticated attacker can send a roughly 10 KB JSON value nested thousands of levels deep to POST /edge/validate, POST /edge/issue-token, or another OpenAPI-validated endpoint, causing RangeError: Maximum call stack size exceeded in openAPIValidationMiddleware and terminating the Node process because no uncaughtException handler recovers it. Replaying the request can sustain a complete service outage. This issue is fixed in versions 7.5.2, 7.6.5, and 8.0.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.5.2
- >= 7.6.0, < 7.6.5
- >= 8.0.0, < 8.0.2
Fixed in 7.5.2, 7.6.5, 8.0.2
Mitigation
Upgrade unleash to 7.5.2 or 7.6.5 or 8.0.2 or later.
References
- Vendor advisory github.com/Unleash/unleash/security/advisories…
- Patch github.com/Unleash/unleash/commit/b0e4da63249a…
- Patch github.com/Unleash/unleash/commit/d45f99df924c…
4 more
- Patch github.com/Unleash/unleash/commit/d862562a5ab8…
- Release notes github.com/Unleash/unleash/releases/tag/v7.5.2
- Release notes github.com/Unleash/unleash/releases/tag/v7.6.5
- Release notes github.com/Unleash/unleash/releases/tag/v8.0.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.