CVE-2022-32148

Public on 2022-08-10
Modified on 2024-03-27
Description
Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.
Severity
Medium severity
Medium
CVSS v3 Base Score
5.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core go-rpm-macros 2022-10-17 ALAS2-2022-1863 Fixed
Amazon Linux 1 golang 2022-09-15 ALAS-2022-1635 Fixed
Amazon Linux 2 - Core golang 2022-09-15 ALAS2-2022-1846 Fixed
Amazon Linux 2023 golang 2023-02-17 ALAS2023-2023-048 Fixed
Amazon Linux 2023 golang-github-cpuguy83-md2man 2023-02-17 ALAS2023-2023-047 Fixed
Amazon Linux 2 - Core golang-github-godbus-dbus 2022-10-17 ALAS2-2022-1858 Fixed
Amazon Linux 2 - Core golang-github-gorilla-context 2022-10-17 ALAS2-2022-1859 Fixed
Amazon Linux 2 - Core golang-github-gorilla-mux 2022-10-17 ALAS2-2022-1860 Fixed
Amazon Linux 2 - Core golang-github-kr-pty 2022-10-17 ALAS2-2022-1864 Fixed
Amazon Linux 2 - Core golang-github-syndtr-gocapability 2022-10-17 ALAS2-2022-1865 Fixed
Amazon Linux 2 - Core golang-googlecode-net 2022-10-17 ALAS2-2022-1861 Fixed
Amazon Linux 2 - Core golang-googlecode-sqlite 2022-10-17 ALAS2-2022-1862 Fixed
Amazon Linux 2 - Core golist 2022-09-15 ALAS2-2022-1847 Fixed
Amazon Linux 2023 golist 2023-02-17 ALAS2023-2023-046 Fixed
Amazon Linux 2 - Docker Extra runc 2022-09-30 ALAS2DOCKER-2022-020 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD CVSSv3 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N