GHSA-q3w9-g74q-vp5f Denial of Service in express-fileupload

Not scored Published

An attacker can cause server delays and potential denial of service by sending requests with large filenames consisting of dots.

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

What is GHSA-q3w9-g74q-vp5f?

GHSA-q3w9-g74q-vp5f is a denial of service vulnerability in express-fileupload, 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 express-fileupload prior to 1.1.6-alpha.6 are vulnerable to Denial of Service. The package causes server responses to be delayed (up to 30s in internal testing) if the request contains a large filename of . characters.

Recommendation

Upgrade to version 1.1.6-alpha.6 or later.

Which versions are affected by GHSA-q3w9-g74q-vp5f?

2 open source packages ship an affected version, including express-fileupload.

PackageAffectedFixed in
express-fileupload npmAll versions1.1.6-alpha.6
express-fileupload npmAll versions1.1.6-alpha.6

How do I fix GHSA-q3w9-g74q-vp5f?

Upgrade express-fileupload to 1.1.6-alpha.6 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-q3w9-g74q-vp5f being exploited?

There is no known exploitation of GHSA-q3w9-g74q-vp5f in the wild and no public exploit code.

Sources

Is GHSA-q3w9-g74q-vp5f in your software?

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

Check your SBOMs for free