| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2024-45336" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "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-116: Improper Encoding or Escaping of Output" |
| } |
| ] |
| } |
| ], |
| "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" |
| } |
| ] |
| } |
| } |
| } |