Vulnerability in ghostscript: UNKNOWN READ in gx_dc_default_fill_masked
Summary
OSV-2022-177: UNKNOWN READ in gx_dc_default_fill_masked. Affects ghostscript versions >= 2be8b436910cfc8b013a13df000c3c854cf3c5c5, < c8051ae666672cb7ca39531e28ec85636e1ce6d5. Fixed in c8051ae666672cb7ca39531e28ec85636e1ce6d5. 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 documents. The vulnerability in ghostscript, identified as UNKNOWN READ in gx_dc_default_fill_masked, can lead to a crash. This vulnerability was reported through the OSS-Fuzz project.
Vulnerability Detail
The vulnerability occurs in the gx_dc_default_fill_masked function of ghostscript. It results in an UNKNOWN READ crash state. The exact cause and impact of this vulnerability are not specified in the provided information. However, it is important to note that UNKNOWN READ vulnerabilities can potentially lead to information disclosure or other security issues. The vulnerability was reported through the OSS-Fuzz project, which focuses on fuzzing and finding vulnerabilities in open-source software.
How To Fix
Minimum fixed version
c8051ae666672cb7ca39531e28ec85636e1ce6d5
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 specific workaround is mentioned in the provided information. It is advisable to follow the recommended fix and update ghostscript to a patched version.
Conclusion
In conclusion, the vulnerability in ghostscript, identified as UNKNOWN READ in gx_dc_default_fill_masked, can lead to a crash. It is recommended to update ghostscript to a version that includes the fix for this vulnerability. No specific workarounds are mentioned, and the fix is available in commit c8051ae666672cb7ca39531e28ec85636e1ce6d5 of the ghostpdl.git repository. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for ghostscript →
FAQ
Ghostscript is an open-source interpreter for the PostScript language and the PDF file format. It is commonly used for rendering and converting documents.
The exact impact of this vulnerability is not specified in the provided information. However, UNKNOWN READ vulnerabilities can potentially lead to information disclosure or other security issues.
This vulnerability was discovered through the OSS-Fuzz project, which focuses on fuzzing and finding vulnerabilities in open-source software.
Yes, a fix for this vulnerability is available in commit c8051ae666672cb7ca39531e28ec85636e1ce6d5 of the ghostpdl.git repository. Updating ghostscript to a version that includes this commit should resolve the vulnerability.
No specific workarounds are mentioned in the provided information. It is recommended to follow the recommended fix and update ghostscript to a patched version.
References
Related vulnerabilities
Recent vulnerabilities recorded for ghostscript.