Vulnerability · Published Feb 28, 2023 · Assigned by Go
CVE-2022-41727Denial of service via crafted TIFF image in golang.org/x/image/tiff
Medium 5.5
In plain English
A medium-severity security flaw in golang.org/x/image/tiff from golang.org/x/image. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 76.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-golang-x-image | 0.5.0-1 | DEBIAN-CVE-2022-41727 |
| Debian:13 | golang-golang-x-image | 0.5.0-1 | DEBIAN-CVE-2022-41727 |
| Debian:14 | golang-golang-x-image | 0.5.0-1 | DEBIAN-CVE-2022-41727 |
| Go | golang.org/x/image | 0.5.0 | GHSA-qgc7-mgm3-q253 |
| Go | golang.org/x/image | 0.5.0 | GO-2023-1572 |
| Ubuntu:22.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2022-41727 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/image | golang.org/x/image/tiff | 0 – before 0.5.0 |
References
- https://go.dev/issue/58003
- https://go.dev/cl/468195
- https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
- https://pkg.go.dev/vuln/GO-2023-1572
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/