VDB
Sign up
HIGH

GHSA-fvwr-h9xh-m6wc

Denial of Service in @commercial/subtext

Quick fix

GHSA-fvwr-h9xh-m6wc — @commercial/subtext: upgrade to the fixed version with the command below.

npm install @commercial/subtext@5.1.1

Details

Versions of `@commercial/subtext` prior to 5.1.1 are vulnerable to Denial of Service (DoS). The package fails 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, which may exhaust system resources leading to Denial of Service.

## Recommendation

Upgrade to version 5.1.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@commercial/subtext
Introduced in: 0Fixed in: 5.1.1
Fixnpm install @commercial/subtext@5.1.1

References