CVE-2022-32148 Affecting golang-1.16 package, versions <1.16.2-0ubuntu1~20.04.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-GOLANG116-6148767
  • published10 Jan 2024
  • disclosed10 Aug 2022

Introduced: 10 Aug 2022

CVE-2022-32148  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 golang-1.16 to version 1.16.2-0ubuntu1~20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-1.16 package and not the golang-1.16 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1