GO-2023-1989

Source
https://pkg.go.dev/vuln/GO-2023-1989
Import Source
https://vuln.go.dev/ID/GO-2023-1989.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-1989
Aliases
Published
2023-08-02T15:06:02Z
Modified
2024-05-20T16:03:47Z
Summary
Excessive resource consumption in golang.org/x/image/tiff
Details

The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-1989"
}
References
Credits
    • Philippe Antoine (Catena cyber)

Affected packages

Go / golang.org/x/image

Package

Name
golang.org/x/image
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/image

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/image/tiff",
            "symbols": [
                "Decode",
                "DecodeConfig",
                "newDecoder"
            ]
        }
    ]
}