github.com/rancher/wrangler
Affected
- introduced
0, fixed0.7.4-security1(semver)
Fixed versions
0.7.4-security1
Fix
- Fixed version
0.7.4-security1go get github.com/rancher/[email protected]
Advisory
Also known as: CVE-2022-43756, GO-2023-1515
Denial of service (DoS) when processing Git credentials
Impact
A denial of services (DoS) vulnerability was discovered in Wrangler Git package affecting versions up to and including v1.0.0.
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.
Workarounds
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.
Patches
Patched versions include v1.0.1 and later and the backported tags - v0.7.4-security1, v0.8.5-security1 and v0.8.11.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 0.7.4-security1 (semver)0.7.4-security1
0.7.4-security1go get github.com/rancher/[email protected]0.8.0, fixed 0.8.5-security1 (semver)0.8.5-security1
0.8.5-security1go get github.com/rancher/[email protected]1.0.0, fixed 1.0.1 (semver)1.0.1
1.0.1go get github.com/rancher/[email protected]0.8.6, fixed 0.8.11 (semver)0.8.11
0.8.11go get github.com/rancher/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0