CVE catalog

CVE-2022-32148

golang-1.19 affected and fixed versions

[CVE catalog]

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 · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.52% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debianbookwormgolang-1.191.19.8-2Fixed[CVE-2022-32148]
Debianbookwormgolang-1.191.19~rc1-1FixedDistribution-reported fixed boundary[CVE-2022-32148]

Showing 2 fix observations. All 34 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormgolang-1.191.19.8-2Fixed[CVE-2022-32148]
Debianbookwormgolang-1.191.19~rc1-1FixedDistribution-reported fixed boundary[CVE-2022-32148]
Ubuntu18.04golang-1.181.18.1-1ubuntu1~18.04.3UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu18.04golang-1.181.18.1-1ubuntu1~18.04.4UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.1-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.3-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.4-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.5-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.6-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.6-2ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.7-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.8-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.8-1ubuntu1.1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.131.13.8-1ubuntu1.2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.161.16.2-0ubuntu1~20.04UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.161.16.2-0ubuntu1~20.04.1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.181.18.1-1ubuntu1~20.04.1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu20.04golang-1.181.18.1-1ubuntu1~20.04.2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.131.13.8-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.131.13.8-1ubuntu2.22.04.1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.131.13.8-1ubuntu2.22.04.2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18.1-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18.1-1ubuntu1.1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18~beta1-0ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18~beta2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18~beta2-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntu22.04golang-1.181.18~rc1-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.131.13.8-1ubuntu1~18.04.2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.131.13.8-1ubuntu1~18.04.3UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.131.13.8-1ubuntu1~18.04.4UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.131.13.8-1ubuntu1~18.04.4+esm1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.161.16.2-0ubuntu1~18.04.2UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Ubuntuprogolang-1.161.16.2-0ubuntu1~18.04.2+esm1UnknownSource applicability is not established[UBUNTU-CVE-2022-32148]
Original provider fields
{
  "package_releases": [
    {
      "name": "golang-1.19",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.19.8-2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "golang-1.19",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.19~rc1-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "golang-1.13",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.13.8-1ubuntu1~18.04.4+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.13.8-1ubuntu1~18.04.2",
        "1.13.8-1ubuntu1~18.04.3",
        "1.13.8-1ubuntu1~18.04.4"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.13.8-1ubuntu1~18.04.4+esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.18",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.18.1-1ubuntu1~18.04.4"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.18.1-1ubuntu1~18.04.3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.18.1-1ubuntu1~18.04.4",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.16",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.16.2-0ubuntu1~18.04.2+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.16.2-0ubuntu1~18.04.2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.16.2-0ubuntu1~18.04.2+esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.13",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.13.8-1ubuntu1.2"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.13.1-1ubuntu1",
        "1.13.3-1ubuntu1",
        "1.13.4-1ubuntu1",
        "1.13.5-1ubuntu1",
        "1.13.6-1ubuntu1",
        "1.13.6-2ubuntu1",
        "1.13.7-1ubuntu1",
        "1.13.8-1ubuntu1",
        "1.13.8-1ubuntu1.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.13.8-1ubuntu1.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.16",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.16.2-0ubuntu1~20.04.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.16.2-0ubuntu1~20.04"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.16.2-0ubuntu1~20.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.18",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.18.1-1ubuntu1~20.04.2"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.18.1-1ubuntu1~20.04.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.18.1-1ubuntu1~20.04.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.13",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.13.8-1ubuntu2.22.04.2"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.13.8-1ubuntu2",
        "1.13.8-1ubuntu2.22.04.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.13.8-1ubuntu2.22.04.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    },
    {
      "name": "golang-1.18",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.18.1-1ubuntu1.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.18~beta1-0ubuntu1",
        "1.18~beta2-1ubuntu1",
        "1.18~beta2-1ubuntu2",
        "1.18~rc1-1ubuntu1",
        "1.18-1ubuntu1",
        "1.18.1-1ubuntu1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-32148",
      "fixed_version": "1.18.1-1ubuntu1.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-32148",
      "provider_updated_at": "2026-03-09T11:24:08.314778Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [golang-1.19]Unknown
    Details (2)
    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

  • Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

  • Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · amd64 · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

    • 1.19.8-2 · arm64 · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

  • Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Fixed · Fixed: 1.19~rc1-1

      dsa · golang-1.19 · debian · bookworm

Observed:

References