{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-25126",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack\u2019s 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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1333: Inefficient Regular Expression Complexity",
                        "cweId": "CWE-1333"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "rack",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "rack",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 3.0.0, < 3.0.9.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 0.4, < 2.2.8.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx",
                "refsource": "MISC",
                "name": "https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx"
            },
            {
                "url": "https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462",
                "refsource": "MISC",
                "name": "https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462"
            },
            {
                "url": "https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49",
                "refsource": "MISC",
                "name": "https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49"
            },
            {
                "url": "https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941",
                "refsource": "MISC",
                "name": "https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941"
            },
            {
                "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml",
                "refsource": "MISC",
                "name": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html"
            },
            {
                "url": "https://security.netapp.com/advisory/ntap-20240510-0005/",
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20240510-0005/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-22f2-v57c-j9cx",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
            }
        ]
    }
}