Uncontrolled Recursion Affecting golang-bin package, versions <0:1.17.10-1.module+el8.6.0+986+efe4cea4


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
5.29% (92nd 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 Learn

Learn about Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-GOLANGBIN-3195672
  • published5 Jan 2023
  • disclosed20 Apr 2022

Introduced: 20 Apr 2022

CVE-2022-24675  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 golang-bin to version 0:1.17.10-1.module+el8.6.0+986+efe4cea4 or higher.
This issue was patched in RLSA-2022:5337.

NVD Description

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

encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.

References

CVSS Base Scores

version 3.1