Resource Exhaustion Affecting golang-docs package, versions <0:1.17.12-1.el9_0


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.63% (80th 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 Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS9-GOLANGDOCS-2886215
  • published17 Mar 2022
  • disclosed3 Mar 2022

Introduced: 3 Mar 2022

CVE-2022-24921  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Centos:9 golang-docs to version 0:1.17.12-1.el9_0 or higher.

NVD Description

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

regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.

CVSS Scores

version 3.1