GO-2023-1990

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

A maliciously-crafted image can cause excessive CPU consumption in decoding.

A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-1990"
}
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"
            ]
        }
    ]
}