CVEMETERBack to radar
OFFICIAL RECORD · Ruby packages

CVE-2024-39316

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 6.5 · medium

Rack ReDoS Vulnerability in HTTP Accept Headers Parsing

Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.5, Regular Expression Denial of Service (ReDoS) vulnerability exists in the `Rack::Request::Helpers` module when parsing HTTP Accept headers. This vulnerability can be exploited by an attacker sending specially crafted `Accept-Encoding` or `Accept-Language` headers, causing the server to spend excessive time processing the request and leading to a Denial of Service (DoS). The fix for CVE-2024-26146 was not applied to the main branch and thus while the issue was fixed for the Rack v3.0 release series, it was not fixed in the v3.1 release series until v3.1.5. Users of versions on the 3.1 branch should upgrade to version 3.1.5 to receive the fix.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.856% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 6.5 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:14.567Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:14.567ZCVE Program
epssverified2026-11-19T16:04:38.699ZFIRST EPSS
patchesverified2026-11-19T12:52:43.599ZOSV
affectedverified2026-11-19T12:57:14.567ZCVE Program
lifecycleverified2026-11-19T12:57:14.567ZCVE Program

Affected versions and configuration

rack rack; default status: unknown: >= 3.1.0, < 3.1.5 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "rack",
      "product": "rack",
      "versions": [
        {
          "status": "affected",
          "version": ">= 3.1.0, < 3.1.5"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-39316",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-07-03T13:50:23.901915Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2024-07-03T20:09:58.349Z"
      }
    },
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7",
          "name": "https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f",
          "name": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058",
          "name": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-02T04:19:20.629Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-cj83-2ww7-mvq7",
  "aliases": [
    "CVE-2024-39316"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "3.1.0"
            },
            {
              "fixed": "3.1.5"
            }
          ]
        }
      ],
      "package": {
        "name": "rack",
        "purl": "pkg:gem/rack",
        "ecosystem": "RubyGems"
      },
      "versions": [
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.1.3",
        "3.1.4"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-cj83-2ww7-mvq7/GHSA-cj83-2ww7-mvq7.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f",
      "type": "WEB"
    },
    {
      "url": "https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39316",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058",
      "type": "WEB"
    },
    {
      "url": "https://advisory.dw1.io/61",
      "type": "WEB"
    },
    {
      "url": "https://github.com/rack/rack",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-39316.yml",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-1333"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2024-07-02T16:15:04Z",
    "github_reviewed_at": "2024-07-03T17:03:45Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryRubyGems / packagerackNot a distribution channel3.1.5Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history