GHSA-2g5j-5x95-r6hr

Suggest an improvement
Source
https://github.com/advisories/GHSA-2g5j-5x95-r6hr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-2g5j-5x95-r6hr/GHSA-2g5j-5x95-r6hr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-2g5j-5x95-r6hr
Aliases
Published
2023-02-06T23:16:16Z
Modified
2023-11-01T04:53:00.405648Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Unsafe tar unpacking in HashiCorp go-slug
Details

HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2023-02-06T23:16:16Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22",
        "CWE-59"
    ]
}
References

Affected packages

Go / github.com/hashicorp/go-slug

Package

Name
github.com/hashicorp/go-slug
View open source insights on deps.dev
Purl
pkg:golang/github.com/hashicorp/go-slug

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0