ghsa-cj83-2ww7-mvq7
Vulnerability from github
Published
2024-07-03 17:03
Modified
2024-11-05 18:12
Severity ?
Summary
Rack ReDoS Vulnerability in HTTP Accept Headers Parsing
Details
Summary
A 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).
Details
The 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.
{ "affected": [ { "package": { "ecosystem": "RubyGems", "name": "rack" }, "ranges": [ { "events": [ { "introduced": "3.1.0" }, { "fixed": "3.1.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-39316" ], "database_specific": { "cwe_ids": [ "CWE-1333" ], "github_reviewed": true, "github_reviewed_at": "2024-07-03T17:03:45Z", "nvd_published_at": "2024-07-02T16:15:04Z", "severity": "MODERATE" }, "details": "### 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.", "id": "GHSA-cj83-2ww7-mvq7", "modified": "2024-11-05T18:12:49Z", "published": "2024-07-03T17:03:45Z", "references": [ { "type": "WEB", "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": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39316" }, { "type": "WEB", "url": "https://github.com/rack/rack/commit/412c980450ca729ee37f90a2661f166a9665e058" }, { "type": "WEB", "url": "https://advisory.dw1.io/61" }, { "type": "PACKAGE", "url": "https://github.com/rack/rack" }, { "type": "WEB", "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-39316.yml" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "Rack ReDoS Vulnerability in HTTP Accept Headers Parsing" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.