OSV-2021-1774 UNKNOWN READ in pdfi_array_get
An unknown read vulnerability in the PDF parsing library can cause a crash when processing malicious PDF files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is OSV-2021-1774?
OSV-2021-1774 is a memory corruption vulnerability in ghostscript, published on 28 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43004
Crash type: UNKNOWN READ
Crash state:
pdfi_array_get
pdfi_array_get_type
pdfi_create_colorspace_by_array
Which versions are affected by OSV-2021-1774?
1 open source package ship an affected version, including ghostscript.
| Package | Affected | Fixed in |
|---|---|---|
ghostscript OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1774?
No fix has been published for OSV-2021-1774 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2021-1774 being exploited?
There is no known exploitation of OSV-2021-1774 in the wild and no public exploit code.