Denial of Service in @commercial/subtext
Summary
GHSA-fvwr-h9xh-m6wc: Denial of Service in @commercial/subtext. Affects @commercial/subtext versions < 5.1.1. Fixed in 5.1.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @commercial/subtext package is an npm package used for handling payloads with chunked encoding in Node.js applications. It provides functionality for writing payloads to the file system. However, versions prior to 5.1.1 are vulnerable to a Denial of Service (DoS) attack.
Vulnerability Detail
The vulnerability in @commercial/subtext arises from the package's failure to enforce the 'maxBytes' configuration for payloads with chunked encoding that are written to the file system. This allows attackers to send requests with arbitrary payload sizes, potentially exhausting system resources and leading to a Denial of Service. The impact of this vulnerability can be severe, as it can disrupt the availability of the affected system.
How To Fix
Minimum fixed version
5.1.1
This is the first release that contains the fix.
npm install @commercial/subtext@5.1.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the fixed version of the package.
Conclusion
The @commercial/subtext package prior to version 5.1.1 is vulnerable to a Denial of Service (DoS) attack. It is crucial to upgrade to the fixed version to mitigate the risk of potential attacks. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for @commercial/subtext →
FAQ
@commercial/subtext is an npm package used for handling payloads with chunked encoding in Node.js applications. It provides functionality for writing payloads to the file system.
The vulnerability allows attackers to send requests with arbitrary payload sizes, potentially exhausting system resources and leading to a Denial of Service (DoS) attack. This can disrupt the availability of the affected system.
To fix this vulnerability, it is recommended to upgrade to version 5.1.1 or later of the @commercial/subtext package.
There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the fixed version of the package.
You can find more information about this vulnerability in the GitHub Advisory Database. The link to the advisory is provided in the 'affected' section of this report.
References
Related vulnerabilities
Recent vulnerabilities recorded for @commercial/subtext.