{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-46336",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-04-22T22:41:54.911Z",
        "datePublished": "2025-05-08T19:26:01.638Z",
        "dateUpdated": "2025-05-08T20:18:38.555Z"
    },
    "containers": {
        "cna": {
            "title": "Rack session gets restored after deletion",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-362",
                            "lang": "en",
                            "description": "CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-367",
                            "lang": "en",
                            "description": "CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-613",
                            "lang": "en",
                            "description": "CWE-613: Insufficient Session Expiration",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.2,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj"
                },
                {
                    "name": "https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g"
                },
                {
                    "name": "https://github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rack/rack-session/commit/c28c4a8c1861d814e09f2ae48264ac4c40be2d3b"
                }
            ],
            "affected": [
                {
                    "vendor": "rack",
                    "product": "rack-session",
                    "versions": [
                        {
                            "version": ">= 2.0.0, < 2.1.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-05-08T19:26:01.638Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Rack::Session is a session management implementation for Rack. In versions starting from 2.0.0 to before 2.1.1, when using the Rack::Session::Pool middleware, and provided the attacker can acquire a session cookie (already a major issue), the session may be restored if the attacker can trigger a long running request (within that same session) adjacent to the user logging out, in order to retain illicit access even after a user has attempted to logout. This issue has been patched in version 2.1.1."
                }
            ],
            "source": {
                "advisory": "GHSA-9j94-67jr-4cqj",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-05-08T20:18:09.543353Z",
                                "id": "CVE-2025-46336",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "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": "2025-05-08T20:18:38.555Z"
                }
            }
        ]
    }
}