GHSA-fvwr-h9xh-m6wc Denial of Service in @commercial/subtext

Not scored Published

Attackers can cause Denial of Service by sending large chunked payloads that bypass size limits, exhausting system resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-fvwr-h9xh-m6wc?

GHSA-fvwr-h9xh-m6wc is a denial of service vulnerability in @commercial/subtext, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-fvwr-h9xh-m6wc?

2 open source packages ship an affected version, including @commercial/subtext.

PackageAffectedFixed in
@commercial/subtext npmAll versions5.1.1
@commercial/subtext npmAll versions5.1.1

How do I fix GHSA-fvwr-h9xh-m6wc?

Upgrade @commercial/subtext to 5.1.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-fvwr-h9xh-m6wc being exploited?

There is no known exploitation of GHSA-fvwr-h9xh-m6wc in the wild and no public exploit code.

Sources

Is GHSA-fvwr-h9xh-m6wc in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free