CVE-2014-10064 Denial-of-Service Extended Event Loop Blocking in qs

High 7.5 Published Updated

An attacker can cause a temporary denial of service in web applications by sending deeply nested objects that block the event loop in the qs library.

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

What is CVE-2014-10064?

CVE-2014-10064 is a high-severity denial of service vulnerability in HackerOne qs node module, published on 31 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The qs module before 1.0.0 does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time. An attacker could leverage this to cause a temporary denial-of-service condition, for example, in a web application, other requests would not be processed while this blocking is occurring.

Weakness: CWE-399, CWE-400

Which versions are affected by CVE-2014-10064?

2 open source packages ship an affected version, including qs. It affects 1 product.

PackageAffectedFixed in
qs npmAll versions1.0.0
qs npmAll versions1.0.0

Products include Qs Project Qs.

How do I fix CVE-2014-10064?

Upgrade qs to 1.0.0 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 CVE-2014-10064 being exploited?

There is no known exploitation of CVE-2014-10064 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-10064, GHSA-f9cm-p3w6-xvr3, UBUNTU-CVE-2014-10064.

Is CVE-2014-10064 in your software?

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

Check your SBOMs for free