Arbitrary Code Injection Affecting go-toolset package, versions <0:1.16.7-1.module+el8.5.0+694+f77f0bfd


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.73% (81st 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-ROCKY8-GOTOOLSET-3286937
  • published3 Feb 2023
  • disclosed2 Aug 2021

Introduced: 2 Aug 2021

CVE-2021-33195  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 go-toolset to version 0:1.16.7-1.module+el8.5.0+694+f77f0bfd or higher.
This issue was patched in RLSA-2021:4156.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go-toolset package and not the go-toolset package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.

CVSS Scores

version 3.1