Loop with Unreachable Exit Condition ('Infinite Loop') Affecting servicemesh-pilot-discovery package, versions <0:2.0.9-3.el8


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (45th 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-RHEL8-SERVICEMESHPILOTDISCOVERY-4401656
  • published26 Mar 2023
  • disclosed19 Aug 2020

Introduced: 19 Aug 2020

CVE-2021-29482  (opens in a new tab)
CWE-835  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:8 servicemesh-pilot-discovery to version 0:2.0.9-3.el8 or higher.
This issue was patched in RHSA-2022:1276.

NVD Description

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

xz is a compression and decompression library focusing on the xz format completely written in Go. The function readUvarint used to read the xz container format may not terminate a loop provide malicous input. The problem has been fixed in release v0.5.8. As a workaround users can limit the size of the compressed file input to a reasonable size for their use case. The standard library had recently the same issue and got the CVE-2020-16845 allocated.

CVSS Scores

version 3.1