{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.20"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5c7fb5cde2d2a74775af040549bb5cb11aae6790"
            },
            {
              "fixed": "4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361"
            }
          ],
          "repo": "https://github.com/shellinabox/shellinabox",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2018-16789",
  "modified": "2026-04-01T23:08:05.195662999Z",
  "published": "2019-03-21T16:00:22.547Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://code.google.com/archive/p/shellinabox/issues"
    },
    {
      "type": "FIX",
      "url": "http://packetstormsecurity.com/files/149978/Shell-In-A-Box-2.2.0-Denial-Of-Service.html"
    },
    {
      "type": "FIX",
      "url": "http://seclists.org/fulldisclosure/2018/Oct/50"
    },
    {
      "type": "FIX",
      "url": "https://github.com/shellinabox/shellinabox/commit/4f0ecc31ac6f985e0dd3f5a52cbfc0e9251f6361"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}