CVE-2023-36308 Crash when processing crafted TIFF files
A crafted TIFF file triggers an integer index out of range panic in the disintegration Imaging library, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-36308?
CVE-2023-36308 is a medium-severity vulnerability in n/a, published on 5 Sep 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
disintegration Imaging 1.6.2 allows attackers to cause a panic (because of an integer index out of range during a Grayscale call) via a crafted TIFF file to the scan function of scanner.go. NOTE: it is unclear whether there are common use cases in which this panic could have any security consequence
Weakness: CWE-129
Which versions are affected by CVE-2023-36308?
2 open source packages ship an affected version, including github.com/disintegration/imaging. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/disintegration/imaging Go | All versions to 1.6.2 | None |
github.com/disintegration/imaging Go | All versions to 1.6.2 | None |
Products include Disintegration Imaging.
How do I fix CVE-2023-36308?
Upgrade to a fixed version.
Is CVE-2023-36308 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-36308 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as DEBIAN-CVE-2023-36308, GHSA-q7pp-wcgr-pffx.