{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "cveId": "CVE-2024-26146",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-02-14T17:40:03.689Z",
        "datePublished": "2024-02-28T23:28:01.158Z",
        "dateUpdated": "2024-08-01T23:59:32.576Z"
    },
    "containers": {
        "cna": {
            "title": "Possible Denial of Service Vulnerability in Rack Header Parsing",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1333",
                            "lang": "en",
                            "description": "CWE-1333: Inefficient Regular Expression Complexity",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f"
                },
                {
                    "name": "https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716"
                },
                {
                    "name": "https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582"
                },
                {
                    "name": "https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f"
                },
                {
                    "name": "https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd"
                },
                {
                    "name": "https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942"
                },
                {
                    "name": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml"
                },
                {
                    "url": "https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20240510-0006/"
                }
            ],
            "affected": [
                {
                    "vendor": "rack",
                    "product": "rack",
                    "versions": [
                        {
                            "version": ">= 3.0.0, < 3.0.9.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.2.0, < 2.2.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.1.0, < 2.1.4.4",
                            "status": "affected"
                        },
                        {
                            "version": "< 2.0.9.4",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-02-28T23:28:01.158Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this problem, so Rack applications using Ruby 3.2 or newer are unaffected. This vulnerability is fixed in 2.0.9.4, 2.1.4.4, 2.2.8.1, and 3.0.9.1.\n"
                }
            ],
            "source": {
                "advisory": "GHSA-54rr-7fvw-6x8f",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "rack_project",
                        "product": "rack",
                        "cpes": [
                            "cpe:2.3:a:rack_project:rack:2.2.0:*:*:*:*:ruby:*:*",
                            "cpe:2.3:a:rack_project:rack:2.1.0:*:*:*:*:ruby:*:*",
                            "cpe:2.3:a:rack_project:rack:3.0.0:-:*:*:*:ruby:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "2.1.0",
                                "status": "affected",
                                "lessThan": "2.1.4.4",
                                "versionType": "custom"
                            },
                            {
                                "version": "2.2.0",
                                "status": "affected",
                                "lessThan": "2.2.8.1",
                                "versionType": "custom"
                            },
                            {
                                "version": "3.0.0",
                                "status": "affected",
                                "lessThan": "3.0.9.1",
                                "versionType": "custom"
                            }
                        ]
                    },
                    {
                        "vendor": "rack_project",
                        "product": "rack",
                        "cpes": [
                            "cpe:2.3:a:rack_project:rack:*:*:*:*:*:ruby:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "2.0.9.4",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-02-29T17:31:54.207314Z",
                                "id": "CVE-2024-26146",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-25T16:39:52.274Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T23:59:32.576Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f"
                    },
                    {
                        "name": "https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716"
                    },
                    {
                        "name": "https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582"
                    },
                    {
                        "name": "https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f"
                    },
                    {
                        "name": "https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd"
                    },
                    {
                        "name": "https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942"
                    },
                    {
                        "name": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20240510-0006/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    },
    "dataVersion": "5.1"
}