CVE-2023-45289

Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http

MEDIUM 4.3

En bref

Source
NVD
EPSS
EPSS 1.08 % · centile 65 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Go
Statut NVD
Deferred

Description

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NCISA-ADP
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Avis

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Go standard library · net/httpaffected 0 < 1.21.8 ; affected 1.22.0-0 < 1.22.1
Go standard library · net/http/cookiejaraffected 0 < 1.21.8 ; affected 1.22.0-0 < 1.22.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD