Skip to content
Heist/ feed
Back to feed
MediumFix available

golang-1.19 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-32148

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.

Products
golang-1.19
Affected versions
Not specified
Fixed versions
1.19~rc1-1
CVEs
CVE-2022-32148
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:20 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-32148

core-osv · Original source

Published 10 Aug 2022, 20:15 UTC

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.

osv:DEBIAN-CVE-2022-32148

golang-1.19

Fixed versions: 1.19~rc1-1

Complete source record
{
  "id": "c845d7ec0984156c1315277f7b9a8bef4fca22755beaee00b6f89450e46d4ba2",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-32148",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-32148",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2022-32148",
    "products": [
      {
        "name": {
          "value": "golang-1.19",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.19~rc1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-32148",
      "aliases": [
        "DEBIAN-CVE-2022-32148"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.19~rc1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-1.19",
            "purl": "pkg:deb/debian/golang-1.19?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-32148.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:52.965296267Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-32148"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-32148"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-32148",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 324490,
  "published_at": "2022-08-10T20:15:47.133+00:00"
}