{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-25126","id":"CVE-2024-25126","title":"Rack ReDos in content type parsing (2nd degree polynomial)","description":"Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.","descriptionLong":"Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.","published":"2024-02-28T23:28:07.073Z","updated":"2026-11-11T10:30:48.806094412Z","reserved":"2024-02-05T14:14:46.381Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["rack"],"affectedProducts":[{"vendor":"rack","product":"rack","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.0.9.1","status":"affected"},{"version":">= 0.4, < 2.2.8.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.0.0 <3.0.9.1",">=0.4 <2.2.8.1"],"fixed":["3.0.9.1","2.2.8.1"],"advisory":"GHSA-22f2-v57c-j9cx"}],"cwes":["CWE-1333"],"aliases":["GHSA-22f2-v57c-j9cx"],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0005/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25126.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25126","tags":["advisory"]},{"url":"https://github.com/rack/rack","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0005","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.35376,"epssPercentile":0.98481,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-25126","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25126","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-25126","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-22f2-v57c-j9cx","ok":true,"note":"GHSA-22f2-v57c-j9cx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-25126","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}