Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/17845?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17845?format=api", "vulnerability_id": "VCID-stpq-7qys-t3cf", "summary": "Rack ReDoS Vulnerability in HTTP Accept Headers Parsing\n### Summary\n\nA 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).\n\n### Details\n\nThe fix for https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f 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.", "aliases": [ { "alias": "CVE-2024-39316" }, { "alias": "GHSA-cj83-2ww7-mvq7" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/938328?format=api", "purl": "pkg:deb/debian/ruby-rack@0?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@0%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/938322?format=api", "purl": "pkg:deb/debian/ruby-rack@2.1.4-3%2Bdeb11u2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1j61-5e8x-7fbd" }, { "vulnerability": "VCID-2p73-rc9t-rudb" }, { "vulnerability": "VCID-2qba-a6bp-ryak" }, { "vulnerability": "VCID-5twm-pqc2-xyfn" }, { "vulnerability": "VCID-dh75-6jyw-1ke2" }, { "vulnerability": "VCID-j34j-bgfd-8fez" }, { "vulnerability": "VCID-jg77-mm5c-gydu" }, { "vulnerability": "VCID-m98a-mcyb-c7fm" }, { "vulnerability": "VCID-metf-cghw-p3b5" }, { "vulnerability": "VCID-p3dk-p1gb-kkem" }, { "vulnerability": "VCID-pbu7-4hdm-s3a6" }, { "vulnerability": "VCID-pnz8-yes1-pfc7" }, { "vulnerability": "VCID-wvs1-dhwp-ebat" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.1.4-3%252Bdeb11u2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/938320?format=api", "purl": "pkg:deb/debian/ruby-rack@2.2.20-0%2Bdeb12u1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1j61-5e8x-7fbd" }, { "vulnerability": "VCID-2p73-rc9t-rudb" }, { "vulnerability": "VCID-2qba-a6bp-ryak" }, { "vulnerability": "VCID-5twm-pqc2-xyfn" }, { "vulnerability": "VCID-dh75-6jyw-1ke2" }, { "vulnerability": "VCID-j34j-bgfd-8fez" }, { "vulnerability": "VCID-jg77-mm5c-gydu" }, { "vulnerability": "VCID-m98a-mcyb-c7fm" }, { "vulnerability": "VCID-metf-cghw-p3b5" }, { "vulnerability": "VCID-p3dk-p1gb-kkem" }, { "vulnerability": "VCID-pbu7-4hdm-s3a6" }, { "vulnerability": "VCID-pnz8-yes1-pfc7" }, { "vulnerability": "VCID-wvs1-dhwp-ebat" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.2.20-0%252Bdeb12u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/938325?format=api", "purl": "pkg:deb/debian/ruby-rack@3.1.18-1~deb13u1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1j61-5e8x-7fbd" }, { "vulnerability": "VCID-2p73-rc9t-rudb" }, { "vulnerability": "VCID-2qba-a6bp-ryak" }, { "vulnerability": "VCID-5twm-pqc2-xyfn" }, { "vulnerability": "VCID-dh75-6jyw-1ke2" }, { "vulnerability": "VCID-j34j-bgfd-8fez" }, { "vulnerability": "VCID-jg77-mm5c-gydu" }, { "vulnerability": "VCID-m98a-mcyb-c7fm" }, { "vulnerability": "VCID-metf-cghw-p3b5" }, { "vulnerability": "VCID-p3dk-p1gb-kkem" }, { "vulnerability": "VCID-pbu7-4hdm-s3a6" }, { "vulnerability": "VCID-pnz8-yes1-pfc7" }, { "vulnerability": "VCID-wvs1-dhwp-ebat" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.1.18-1~deb13u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/938323?format=api", "purl": "pkg:deb/debian/ruby-rack@3.1.18-1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-skxv-7he3-xqgc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.1.18-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/938324?format=api", "purl": "pkg:deb/debian/ruby-rack@3.2.5-2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1j61-5e8x-7fbd" }, { "vulnerability": "VCID-2p73-rc9t-rudb" }, { "vulnerability": "VCID-2qba-a6bp-ryak" }, { "vulnerability": "VCID-5twm-pqc2-xyfn" }, { "vulnerability": "VCID-dh75-6jyw-1ke2" }, { "vulnerability": "VCID-j34j-bgfd-8fez" }, { "vulnerability": "VCID-jg77-mm5c-gydu" }, { "vulnerability": "VCID-m98a-mcyb-c7fm" }, { "vulnerability": "VCID-metf-cghw-p3b5" }, { "vulnerability": "VCID-p3dk-p1gb-kkem" }, { "vulnerability": "VCID-pbu7-4hdm-s3a6" }, { "vulnerability": "VCID-pnz8-yes1-pfc7" }, { "vulnerability": "VCID-wvs1-dhwp-ebat" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.2.5-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/1059652?format=api", "purl": "pkg:deb/debian/ruby-rack@3.2.6-2?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.2.6-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/57884?format=api", "purl": "pkg:gem/rack@3.1.5", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.5" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/130927?format=api", "purl": "pkg:gem/rack@3.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-stpq-7qys-t3cf" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/139713?format=api", "purl": "pkg:gem/rack@3.1.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-stpq-7qys-t3cf" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/139714?format=api", "purl": "pkg:gem/rack@3.1.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-stpq-7qys-t3cf" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/139715?format=api", "purl": "pkg:gem/rack@3.1.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-stpq-7qys-t3cf" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/139716?format=api", "purl": "pkg:gem/rack@3.1.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-47ja-djzb-2bbw" }, { "vulnerability": "VCID-7p12-ejdu-uqgy" }, { "vulnerability": "VCID-7wvj-9h3p-23am" }, { "vulnerability": "VCID-9rpp-9xss-duf6" }, { "vulnerability": "VCID-azu5-jcmd-3ufx" }, { "vulnerability": "VCID-c5sc-7qnn-mkb9" }, { "vulnerability": "VCID-d58r-22kr-9bct" }, { "vulnerability": "VCID-npag-sz7d-v7b6" }, { "vulnerability": "VCID-s971-gkdg-jkhc" }, { "vulnerability": "VCID-skxv-7he3-xqgc" }, { "vulnerability": "VCID-stpq-7qys-t3cf" }, { "vulnerability": "VCID-w732-52bx-2qf8" }, { "vulnerability": "VCID-wt7k-s1yd-nke6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.4" } ], "references": [ { "reference_url": "https://advisory.dw1.io/61", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://advisory.dw1.io/61" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-39316", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74626", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74588", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74597", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74617", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74594", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74579", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74547", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74572", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74546", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00833", "scoring_system": "epss", "scoring_elements": "0.74633", "published_at": "2026-04-18T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-39316" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/rack/rack", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rack/rack" }, { "reference_url": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-03T13:50:23Z/" } ], "url": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058" }, { "reference_url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-03T13:50:23Z/" } ], "url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f" }, { "reference_url": "https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-03T13:50:23Z/" } ], "url": "https://github.com/rack/rack/security/advisories/GHSA-cj83-2ww7-mvq7" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-39316.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-39316.yml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39316", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39316" }, { "reference_url": "https://github.com/advisories/GHSA-cj83-2ww7-mvq7", "reference_id": "GHSA-cj83-2ww7-mvq7", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-cj83-2ww7-mvq7" } ], "weaknesses": [ { "cwe_id": 1333, "name": "Inefficient Regular Expression Complexity", "description": "The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": "4.0 - 6.9", "exploitability": "0.5", "weighted_severity": "6.2", "risk_score": 3.1, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-stpq-7qys-t3cf" }