{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-54133",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-11-29T18:02:16.754Z",
        "datePublished": "2024-12-10T22:52:04.633Z",
        "dateUpdated": "2025-03-07T00:10:45.315Z"
    },
    "containers": {
        "cna": {
            "title": "Possible Content Security Policy bypass in Action Dispatch",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rails/rails/security/advisories/GHSA-vfm5-rmrh-j26v"
                },
                {
                    "name": "https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rails/rails/commit/2e3f41e4538b9ca1044357f6644f037bbb7c6c49"
                },
                {
                    "name": "https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rails/rails/commit/3da2479cfe1e00177114b17e496213c40d286b3a"
                },
                {
                    "name": "https://github.com/rails/rails/commit/5558e72f22fc69c1c407b31ac5fb3b4ce087b542",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rails/rails/commit/5558e72f22fc69c1c407b31ac5fb3b4ce087b542"
                },
                {
                    "name": "https://github.com/rails/rails/commit/cb16a3bb515b5d769f73926d9757270ace691f1d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rails/rails/commit/cb16a3bb515b5d769f73926d9757270ace691f1d"
                }
            ],
            "affected": [
                {
                    "vendor": "rails",
                    "product": "rails",
                    "versions": [
                        {
                            "version": ">= 5.2.0, < 7.0.8.7",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.1.0, < 7.1.5.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.2.0, < 7.2.2.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 8.0.0, < 8.0.0.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-12-10T22:52:04.633Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Action Pack is a framework for handling and responding to web requests. There is a possible Cross Site Scripting (XSS) vulnerability  in the `content_security_policy` helper starting in version 5.2.0 of Action Pack and prior to versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1. Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks. Versions 7.0.8.7, 7.1.5.1, 7.2.2.1, and 8.0.0.1 contain a fix. As a workaround, applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input."
                }
            ],
            "source": {
                "advisory": "GHSA-vfm5-rmrh-j26v",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-12-11T16:05:59.623098Z",
                                "id": "CVE-2024-54133",
                                "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": "2024-12-11T16:06:09.364Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20250306-0010/"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-03-07T00:10:45.315Z"
                }
            }
        ]
    }
}