High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-16789
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-16789
Complete source record
{
"id": "aadff0f096f2993f2cc05c060a4d48e69519b00fd171403c81d1b3f2a984f2de",
"url": "https://osv.dev/vulnerability/CVE-2018-16789",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-16789",
"summary": "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.",
"evidence": "osv:CVE-2018-16789",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-16789",
"aliases": [
"CVE-2018-16789"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/shellinabox/shellinabox",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "5c7fb5cde2d2a74775af040549bb5cb11aae6790"
},
{
"fixed": "4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:shellinabox_project:shellinabox:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.20"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.20",
"v2.19",
"v2.18",
"v2.17",
"v2.16",
"v2.15",
"v2.15-rc2",
"v2.14",
"v2.13",
"v2.12",
"v2.11"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16789.json",
"vanir_signatures": [
{
"id": "CVE-2018-16789-95780f45",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108587633537507210242609878158511307392",
"108587633537507210242609878158511307392",
"55349953397407534518078989044189755933",
"200263102641848300981171117296208127289"
]
},
"source": "https://github.com/shellinabox/shellinabox/commit/4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361",
"target": {
"file": "libhttp/url.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-16789-faaf7bc7",
"digest": {
"length": 1668,
"function_hash": "312959051071918327107693244833019918451"
},
"source": "https://github.com/shellinabox/shellinabox/commit/4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361",
"target": {
"file": "libhttp/url.c",
"function": "urlParsePostBody"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:26:52Z"
}
}
],
"modified": "2026-10-20T13:26:52.195905023Z",
"provider": "osv",
"references": [
"https://code.google.com/archive/p/shellinabox/issues",
"https://github.com/shellinabox/shellinabox/commit/4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-16789",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387691,
"published_at": "2019-03-21T16:00:22.547+00:00"
}