What’s Vulnerable › Vulnerabilities
CVE-2018-20578
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-12-28 · updated 2026-06-17
- Weakness: CWE-835
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.
Affected products
- Nuttx: before 7.27 — fixed in 7.27
How to fix
Upgrade to a fixed version: Nuttx 7.27. Check the vendor advisory for mitigations.
References
- https://bitbucket.org/nuttx/nuttx/downloads/nuttx-7_27-README.txt
- https://bitbucket.org/nuttx/nuttx/issues/119/denial-of-service-infinite-loop-while
- https://bitbucket.org/nuttx/nuttx/downloads/nuttx-7_27-README.txt
- https://bitbucket.org/nuttx/nuttx/issues/119/denial-of-service-infinite-loop-while
Get alerted when CVE-2018-20578 or the next vulnerability affects your stack