UNKNOWN WRITE Vulnerability in ghostscript
Summary
OSV-2022-757: UNKNOWN WRITE in pdfi_free_array. Affects ghostscript versions >= 461818d4af16839b9cd8c68320fc224f66d76691, < 1d8d9605e251d1b51281efe5ef8db07640e49203. Fixed in 1d8d9605e251d1b51281efe5ef8db07640e49203. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ghostscript is an open-source interpreter for the PostScript language and the PDF file format. It is widely used for rendering and converting PDF files. This vulnerability affects the ghostscript package and can lead to an UNKNOWN WRITE crash. The vulnerability was reported through the OSS-Fuzz project.
Vulnerability Detail
The vulnerability occurs in the pdfi_free_array function of ghostscript. It can be triggered by a specific input, leading to an UNKNOWN WRITE crash. The crash state involves the pdfi_free_object and pdfi_clear_to_mark functions. The exact cause and impact of the vulnerability are not provided in the report.
How To Fix
Minimum fixed version
1d8d9605e251d1b51281efe5ef8db07640e49203
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No workaround is mentioned in the report.
Conclusion
The UNKNOWN WRITE vulnerability in ghostscript can lead to a crash, but the exact impact and cause are not provided in the report. It is recommended to update the ghostscript package to a fixed version. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for ghostscript →
FAQ
The report does not provide specific information about the impact of this vulnerability.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
The report does not mention any known exploits for this vulnerability.
The report does not provide information about any specific mitigations for this vulnerability.
You can find more information about this vulnerability in the OSS-Fuzz report at https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50406.
References
Related vulnerabilities
Recent vulnerabilities recorded for ghostscript.