{
  "cveId": "CVE-2022-31081",
  "url": "https://patchblox.com/security/cve/CVE-2022-31081",
  "summary": "CVE-2022-31081 is fixed in 3 products on 1 platform, first by libhttp-daemon-perl 6.01-1ubuntu0.1, released June 27, 2022. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libhttp-daemon-perl: HTTP::Daemon is a simple http server class written in perl",
  "description": "HTTP::Daemon is a simple http server class written in perl. Versions prior to 6.15 are subject to a vulnerability which could potentially be exploited to gain privileged access to APIs or poison intermediate caches. It is uncertain how large the risks are, most Perl based applications are served on top of Nginx or Apache, not on the \u0060HTTP::Daemon\u0060. This library is commonly used for local development and tests. Users are advised to update to resolve this issue. Users unable to upgrade may add additional request handling logic as a mitigation. After calling \u0060my $rqst = $conn-\u0026gt;get_request()\u0060 one could inspect the returned \u0060HTTP::Request\u0060 object. Querying the \u0027Content-Length\u0027 (\u0060my $cl = $rqst-\u0026gt;header(\u0027Content-Length\u0027)\u0060) will show any abnormalities that should be dealt with by a \u0060400\u0060 response. Expected strings of \u0027Content-Length\u0027 SHOULD consist of either a single non-negative integer, or, a comma separated repetition of that number. (that is \u006042\u0060 or \u006042, 42, 42\u0060). Anything else MUST be rejected.",
  "published": "2022-06-27T14:15:00Z",
  "severity": "Medium",
  "cvss": 6.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "epss": 0.0235,
  "epssPercentile": 0.83809,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.14-1.1",
      "fix": "DEBIAN-CVE-2022-31081",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31081",
      "released": "2022-06-27T21:15:08Z"
    },
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.14-1.1",
      "fix": "DEBIAN-CVE-2022-31081",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31081",
      "released": "2022-06-27T21:15:08Z"
    },
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Debian 14",
      "fixedVersion": "6.14-1.1",
      "fix": "DEBIAN-CVE-2022-31081",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-31081",
      "released": "2022-06-27T21:15:08Z"
    },
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "6.01-1ubuntu0.1",
      "fix": "libhttp-daemon-perl 6.01-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libhttp-daemon-perl-6.01-1ubuntu0.1",
      "released": "2022-06-27T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "6.06-1ubuntu0.1",
      "fix": "libhttp-daemon-perl 6.06-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libhttp-daemon-perl-6.06-1ubuntu0.1",
      "released": "2022-06-27T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libhttp-daemon-perl",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "6.13-1ubuntu0.1",
      "fix": "libhttp-daemon-perl 6.13-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libhttp-daemon-perl-6.13-1ubuntu0.1",
      "released": "2022-06-27T14:15:00Z"
    },
    {
      "platform": "linux",
      "product": "perl-HTTP-Daemon",
      "release": "amzn 2023",
      "fixedVersion": "6.16-1.amzn2023",
      "fix": "ALAS2023-2023-247",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-247",
      "released": "2023-07-05T20:13:00Z"
    },
    {
      "platform": "linux",
      "product": "perl-HTTP-Daemon-tests",
      "release": "amzn 2023",
      "fixedVersion": "6.16-1.amzn2023",
      "fix": "ALAS2023-2023-247",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-247",
      "released": "2023-07-05T20:13:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}