GHSA-8fcj-gf77-47mg

Suggest an improvement
Source
https://github.com/advisories/GHSA-8fcj-gf77-47mg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-8fcj-gf77-47mg/GHSA-8fcj-gf77-47mg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8fcj-gf77-47mg
Aliases
Published
2023-01-25T19:40:26Z
Modified
2023-11-01T05:00:16.968491Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
Denial of service (DoS) when processing Git credentials
Details

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:

Database specific
{
    "nvd_published_at": "2023-02-07T13:15:00Z",
    "github_reviewed_at": "2023-01-25T19:40:26Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-150",
        "CWE-74"
    ]
}
References

Affected packages

Go / github.com/rancher/wrangler

Package

Name
github.com/rancher/wrangler
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/wrangler

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.4-security1

Database specific

{
    "last_known_affected_version_range": "<= 0.7.3"
}

Go / github.com/rancher/wrangler

Package

Name
github.com/rancher/wrangler
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/wrangler

Affected ranges

Type
SEMVER
Events
Introduced
0.8.0
Fixed
0.8.5-security1

Database specific

{
    "last_known_affected_version_range": "<= 0.8.4"
}

Go / github.com/rancher/wrangler

Package

Name
github.com/rancher/wrangler
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/wrangler

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.0.1

Affected versions

1.*

1.0.0

Go / github.com/rancher/wrangler

Package

Name
github.com/rancher/wrangler
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/wrangler

Affected ranges

Type
SEMVER
Events
Introduced
0.8.6
Fixed
0.8.11