golang-1.19 — security advisory
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.
- Products
- golang-1.19
- Affected versions
- 1.19.10-1, 1.19.10-2, 1.19.11-1, 1.19.12-1, 1.19.12-2, 1.19.12-2~bpo11+1, 1.19.12-2~bpo12+1, 1.19.13-1, 1.19.13-1~bpo11+1, 1.19.13-1~bpo12+1, 1.19.8-2, 1.19.9-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-45289
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:11 UTC · Revision 1
Source evidence
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.
osv:DEBIAN-CVE-2023-45289
golang-1.19
Fixed versions: Not specified
Complete source record
{
"id": "a7a82ba29263076928ae89f588b1fbab75cb78ce484dc9557bd50e320e56bdc6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-45289",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-45289",
"summary": "When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as \"Authorization\" or \"Cookie\". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.",
"evidence": "osv:DEBIAN-CVE-2023-45289",
"products": [
{
"name": {
"value": "golang-1.19",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.19.10-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.10-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.8-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.9-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-45289",
"aliases": [
"DEBIAN-CVE-2023-45289"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.19",
"purl": "pkg:deb/debian/golang-1.19?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.19.10-1",
"1.19.10-2",
"1.19.11-1",
"1.19.12-1",
"1.19.12-2",
"1.19.12-2~bpo11+1",
"1.19.12-2~bpo12+1",
"1.19.13-1",
"1.19.13-1~bpo11+1",
"1.19.13-1~bpo12+1",
"1.19.8-2",
"1.19.9-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-45289.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:02:49.711358935Z",
"provider": "osv",
"upstream": [
"CVE-2023-45289"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-45289"
]
},
"related_cves": [
{
"value": "CVE-2023-45289",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 456935,
"published_at": "2024-03-05T23:15:07.137+00:00"
}