{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-45336",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2024-08-27T19:41:58.555Z",
        "datePublished": "2025-01-28T01:03:24.869Z",
        "dateUpdated": "2025-09-18T18:41:11.116Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2025-09-18T18:41:11.116Z"
            },
            "title": "Sensitive headers incorrectly sent after cross-domain redirect in net/http",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2."
                }
            ],
            "affected": [
                {
                    "vendor": "Go standard library",
                    "product": "net/http",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "net/http",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.22.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.23.0-0",
                            "lessThan": "1.23.5",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.24.0-0",
                            "lessThan": "1.24.0-rc.2",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "Client.do"
                        },
                        {
                            "name": "Client.makeHeadersCopier"
                        },
                        {
                            "name": "shouldCopyHeaderOnRedirect"
                        },
                        {
                            "name": "Client.Do"
                        },
                        {
                            "name": "Client.Get"
                        },
                        {
                            "name": "Client.Head"
                        },
                        {
                            "name": "Client.Post"
                        },
                        {
                            "name": "Client.PostForm"
                        },
                        {
                            "name": "Get"
                        },
                        {
                            "name": "Head"
                        },
                        {
                            "name": "Post"
                        },
                        {
                            "name": "PostForm"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-201: Insertion of Sensitive Information Into Sent Data"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/cl/643100"
                },
                {
                    "url": "https://go.dev/issue/70530"
                },
                {
                    "url": "https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ"
                },
                {
                    "url": "https://groups.google.com/g/golang-dev/c/bG8cv1muIBM/m/G461hA6lCgAJ"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2025-3420"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Kyle Seely"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "CHANGED",
                            "version": "3.1",
                            "baseScore": 6.1,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                            "integrityImpact": "LOW",
                            "userInteraction": "REQUIRED",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-01-28T14:56:59.058895Z",
                                "id": "CVE-2024-45336",
                                "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-01-28T15:16:38.044Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20250221-0003/"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-02-21T18:03:31.299Z"
                }
            }
        ]
    }
}