Uncontrolled Recursion Affecting golang-tests package, versions <0:1.21.13-2.module+el8.10.0+22329+6cd5c9c6


Severity

Recommended
high

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-CENTOS8-GOLANGTESTS-7925955
  • published 10 Sep 2024
  • disclosed 6 Sep 2024

How to fix?

Upgrade Centos:8 golang-tests to version 0:1.21.13-2.module+el8.10.0+22329+6cd5c9c6 or higher.

NVD Description

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

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

CVSS Scores

version 3.1
Expand this section

Red Hat

5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

SUSE

5.9 medium