CVE-2022-41715 Affecting golang-src package, versions <0:1.18.9-1.el9_1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (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-RHEL9-GOLANGSRC-5580937
  • published7 Oct 2022
  • disclosed4 Oct 2022

Introduced: 4 Oct 2022

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

How to fix?

Upgrade RHEL:9 golang-src to version 0:1.18.9-1.el9_1 or higher.
This issue was patched in RHSA-2023:0328.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-src package and not the golang-src package as distributed by RHEL. See How to fix? for RHEL:9 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