Denial of Service in @commercial/subtext

@commercial/subtext Updated 02 Oct 2025

Summary

03/09/2020
HIGH
Yes i
High
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for @commercial/subtext.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback