Denial of Service in @commercial/subtextGHSA-cvfm-xjc8-f2vm
GHSA-cvfm-xjc8-f2vm is a security vulnerability in @commercial/subtext. A fix is available for @commercial/subtext — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@commercial/subtextnpmDescription
Version 5.1.1 of @commercial/subtext is vulnerable to Denial of Service. The Content-Encoding HTTP header parser has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. Because hapi rethrows system errors (as opposed to catching expected application errors), the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.
Recommendation
Upgrade to version 5.1.2 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @commercial/subtext | ≥ 5.1.1&&< 5.1.2 | 5.1.2npm install @commercial/subtext@5.1.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @commercial/subtext, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @commercial/subtext to 5.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cvfm-xjc8-f2vm is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-cvfm-xjc8-f2vm in your dependencies?
Find it across npm, including transitive dependencies.