Denial of service when processing Git credentials in github.com/rancher/wrangler

Overview

Source
ID
GO-2023-1515
Aliases
CVE-2022-43756
GHSA-8fcj-gf77-47mg

Description

A denial of service (DoS) vulnerability exists in the Wrangler Git package. Specially crafted Git credentials can result in a denial of service (DoS) attack on an application that uses Wrangler due to the exhaustion of the available memory and CPU resources.

This is caused by a lack of input validation of Git credentials before they are used, which may lead to a denial of service in some cases. This issue can be triggered when accessing both private and public Git repositories.

A workaround is to sanitize input passed to the Git package to remove potential unsafe and ambiguous characters. Otherwise, the best course of action is to update to a patched Wrangler version.

Summary

339
Total packages affected
Packages with at least one version that is affected by the advisory or has an affected dependency.
56
Packages with a known fix
Packages with versions affected by the advisory that have a greater version that is not affected.
0.03%
Total ecosystem affected
The proportion of packages in the ecosystem that are affected by the advisory (fixed or not).
Affected Version: Introduced: 0, Fixed: 0.7.4-security1, Introduced: 0.8.0, Fixed: 0.8.5-security1, Introduced: 0.8.6, Fixed: 0.8.11, Introduced: 1.0.0, Fixed: 1.0.1
Patched/Unaffected
v0.7.5
v0.8.5
v0.8.11
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
Affected
v1.0.0
v0.8.10
v0.8.9
v0.8.8
v0.8.7
v0.8.6
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.3
v0.5.2
v0.5.1
v0.5.0
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.2.0
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0