gsd-2022-32148
Vulnerability from gsd
Modified
2023-12-13 01:19
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-32148",
    "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.",
    "id": "GSD-2022-32148",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-32148.html",
      "https://advisories.mageia.org/CVE-2022-32148.html",
      "https://access.redhat.com/errata/RHSA-2022:5775",
      "https://access.redhat.com/errata/RHSA-2022:5799",
      "https://access.redhat.com/errata/RHSA-2022:5866",
      "https://access.redhat.com/errata/RHSA-2022:6040",
      "https://access.redhat.com/errata/RHSA-2022:6042",
      "https://access.redhat.com/errata/RHSA-2022:6113",
      "https://access.redhat.com/errata/RHSA-2022:6188",
      "https://access.redhat.com/errata/RHSA-2022:6152",
      "https://alas.aws.amazon.com/cve/html/CVE-2022-32148.html",
      "https://access.redhat.com/errata/RHSA-2022:6183",
      "https://access.redhat.com/errata/RHSA-2022:6283",
      "https://access.redhat.com/errata/RHSA-2022:6344",
      "https://access.redhat.com/errata/RHSA-2022:6345",
      "https://access.redhat.com/errata/RHSA-2022:6346",
      "https://access.redhat.com/errata/RHSA-2022:6347",
      "https://access.redhat.com/errata/RHSA-2022:6348",
      "https://access.redhat.com/errata/RHSA-2022:6370",
      "https://access.redhat.com/errata/RHSA-2022:6430",
      "https://access.redhat.com/errata/RHSA-2022:7129",
      "https://access.redhat.com/errata/RHSA-2022:7519",
      "https://access.redhat.com/errata/RHSA-2022:7529",
      "https://access.redhat.com/errata/RHSA-2022:7648",
      "https://access.redhat.com/errata/RHSA-2022:8057",
      "https://access.redhat.com/errata/RHSA-2022:8250",
      "https://access.redhat.com/errata/RHSA-2022:8626",
      "https://access.redhat.com/errata/RHSA-2022:9047",
      "https://access.redhat.com/errata/RHSA-2022:7398",
      "https://access.redhat.com/errata/RHSA-2022:7399",
      "https://access.redhat.com/errata/RHSA-2023:0407",
      "https://access.redhat.com/errata/RHSA-2023:0408",
      "https://access.redhat.com/errata/RHSA-2023:1042"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-32148"
      ],
      "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.",
      "id": "GSD-2022-32148",
      "modified": "2023-12-13T01:19:12.753599Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@golang.org",
        "ID": "CVE-2022-32148",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "net/http",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "0",
                          "version_value": "1.17.12"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "1.18.0-0",
                          "version_value": "1.18.4"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Go standard library"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "Christian Mehlmauer"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-200: Information Exposure"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://go.dev/cl/412857",
            "refsource": "MISC",
            "url": "https://go.dev/cl/412857"
          },
          {
            "name": "https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a",
            "refsource": "MISC",
            "url": "https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a"
          },
          {
            "name": "https://go.dev/issue/53423",
            "refsource": "MISC",
            "url": "https://go.dev/issue/53423"
          },
          {
            "name": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE",
            "refsource": "MISC",
            "url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
          },
          {
            "name": "https://pkg.go.dev/vuln/GO-2022-0520",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/vuln/GO-2022-0520"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.17.12",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.18.4",
                "versionStartIncluding": "1.18.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@golang.org",
          "ID": "CVE-2022-32148"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://go.dev/cl/412857",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://go.dev/cl/412857"
            },
            {
              "name": "https://go.dev/issue/53423",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://go.dev/issue/53423"
            },
            {
              "name": "https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Patch"
              ],
              "url": "https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a"
            },
            {
              "name": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Release Notes"
              ],
              "url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
            },
            {
              "name": "https://pkg.go.dev/vuln/GO-2022-0520",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://pkg.go.dev/vuln/GO-2022-0520"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 2.5
        }
      },
      "lastModifiedDate": "2023-03-02T16:35Z",
      "publishedDate": "2022-08-10T20:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.