ADVISORIES

Go Vulnerability Database

GO-2023-1515

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

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/rancher/wrangler
All versions before 0.7.4-security1 (fixed in 0.7.4-security1)
From 0.8.0 before 0.8.5-security1 (fixed in 0.8.5-security1)
From 0.8.6 before 0.8.11 (fixed in 0.8.11)
From 1.0.0 before 1.0.1 (fixed in 1.0.1)

References