GO-2023-1578

Source
https://pkg.go.dev/vuln/GO-2023-1578
Import Source
https://vuln.go.dev/ID/GO-2023-1578.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2023-1578
Aliases
Published
2023-02-17T21:16:15Z
Modified
2024-05-20T16:03:47Z
Summary
Denial of service in github.com/hashicorp/go-getter/v2
Details

HashiCorp go-getter is vulnerable to decompression bombs. This can lead to excessive memory consumption and denial-of-service attacks.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-1578"
}
References

Affected packages

Go / github.com/hashicorp/go-getter/v2

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.2.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/hashicorp/go-getter/v2",
            "symbols": [
                "Bzip2Decompressor.Decompress",
                "Client.Get",
                "Client.GetChecksum",
                "FolderStorage.Get",
                "Get",
                "GetAny",
                "GetFile",
                "GzipDecompressor.Decompress",
                "HttpGetter.Get",
                "Request.CopyReader",
                "TarBzip2Decompressor.Decompress",
                "TarGzipDecompressor.Decompress",
                "TarXzDecompressor.Decompress",
                "XzDecompressor.Decompress",
                "ZipDecompressor.Decompress",
                "copyReader",
                "untar"
            ]
        }
    ]
}

Go / github.com/hashicorp/go-getter

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/hashicorp/go-getter",
            "symbols": [
                "Bzip2Decompressor.Decompress",
                "Client.ChecksumFromFile",
                "Client.Get",
                "FolderStorage.Get",
                "GCSGetter.Get",
                "GCSGetter.GetFile",
                "Get",
                "GetAny",
                "GetFile",
                "GzipDecompressor.Decompress",
                "HttpGetter.Get",
                "S3Getter.Get",
                "S3Getter.GetFile",
                "TarBzip2Decompressor.Decompress",
                "TarDecompressor.Decompress",
                "TarGzipDecompressor.Decompress",
                "TarXzDecompressor.Decompress",
                "TarZstdDecompressor.Decompress",
                "XzDecompressor.Decompress",
                "ZipDecompressor.Decompress",
                "ZstdDecompressor.Decompress",
                "copyReader",
                "untar"
            ]
        }
    ]
}