cve.bz

CVE-2018-16789 shellinabox project shellinabox: Infinite Loop

7.5 highExploit referenceEPSS 6.0%Fix available

High (7.5) in shellinabox project shellinabox. EPSS 6.0% estimated probability of exploitation activity in the next 30 days.

On this page
libhttp/url.c in shellinabox through 2.20 has an implementation flaw in the HTTP request parsing logic. By sending a crafted multipart/form-data HTTP request, an attacker could exploit this to force shellinaboxd into an infinite loop, exhausting available CPU resources and taking the service down.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
6.0% (unchanged from 6.0% a week ago; 6.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-16789 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-16789?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-16789?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-16789 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
shellinabox_project:shellinaboxthrough 2.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14shellinabox2.21DEBIAN-CVE-2018-16789
Ubuntu16.04:LTS, 18.04:LTSshellinaboxno fix listedUBUNTU-CVE-2018-16789

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON