CVE-2018-20578 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause an infinite loop in NuttX by sending a crafted HTTP 3xx response with a long Location header, leading to denial of service.

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

What is CVE-2018-20578?

CVE-2018-20578 is a high-severity denial of service vulnerability in n/a, published on 28 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in NuttX before 7.27. The function netlib_parsehttpurl() in apps/netutils/netlib/netlib_parsehttpurl.c mishandles URLs longer than hostlen bytes (in the webclient, this is set by default to 40), leading to an Infinite Loop. The attack vector is the Location header of an HTTP 3xx response.

Weakness: CWE-835

Which versions are affected by CVE-2018-20578?

It affects 1 product.

Products include Nuttx Nuttx.

How do I fix CVE-2018-20578?

No fix has been published for CVE-2018-20578 yet. Limit exposure of the affected software until one is available.

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-2018-20578 being exploited?

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

Sources

Also known as GHSA-wmm4-77g9-76jv.

Is CVE-2018-20578 in your software?

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

Check your SBOMs for free