Forge
Forge: Denial of service in TLS record processing via call stack exhaustion
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), TLS record processing, process() to process the relevant input or security decision. node-forge processed received TLS records recursively, consuming one JavaScript stack frame per record in a single input chunk. A remote peer could send thousands of small records together and exhaust the call stack, causing an uncaught exception and denial of service. This issue is fixed in version 1.4.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.4.1
Fixed in 1.4.1
Mitigation
Upgrade forge to 1.4.1 or later.
References
- Vendor advisory github.com/digitalbazaar/forge/security/adviso…
- Patch github.com/digitalbazaar/forge/commit/817e2ce0…
- Release notes github.com/digitalbazaar/forge/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.