Advisory

DEBIAN-CVE-2022-32148

Also known as: CVE-2022-32148

Summary

The record has no summary.

Details

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 Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2022-08-10 20:15 UTC
Modified
2026-11-18 06:01 UTC

Affected packages and fixes

golang-1.19

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.19~rc1-1 (ecosystem)

Fixed versions

1.19~rc1-1

Fix

  • Fixed version 1.19~rc1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences