CVE-2022-41715 Affecting go-toolset:rhel8/golang-tests package, versions <0:1.18.9-1.module_el8.7.0+3397+4350156d


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.23% (61st 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-ALMALINUX8-GOTOOLSET-5608283
  • published28 May 2023
  • disclosed23 Jan 2023

Introduced: 23 Jan 2023

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

How to fix?

Upgrade AlmaLinux:8 go-toolset:rhel8/golang-tests to version 0:1.18.9-1.module_el8.7.0+3397+4350156d or higher.
This issue was patched in ALSA-2023:0446.

NVD Description

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

Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

CVSS Scores

version 3.1