Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a critical vulnerability in the Image::WebP module for Perl, which utilizes an outdated and vulnerable version of the libwebp library. The issue stems from a bundled copy of libwebp that is not updated when the system's libwebp is patched, meaning external updates do not address this specific vulnerability. This could potentially allow for severe impacts if untrusted WebP images are processed.
- Outdated image library bundled in Perl module.
- Critical vulnerability affects image processing.
- Confirm if Perl Image::WebP is in use.
Attack Path
How an attacker could exploit the issue
An attacker could exploit this vulnerability by tricking a user into decoding a specially crafted WebP image. Since the vulnerable library is bundled directly within the Image::WebP module, any application using this module to process WebP images would be susceptible, potentially allowing an attacker to execute arbitrary code.
- Requires decoding untrusted images.
- Vulnerable bundled image decoder.
- Allows arbitrary code execution.
Live Threat
Current exploitation, exposure, and threat context
A critical vulnerability in the bundled libwebp library within Image::WebP for Perl could allow an attacker to execute arbitrary code when processing untrusted WebP images. This is because the module uses an outdated and vulnerable copy of libwebp that is compiled directly into the module, bypassing system-level security updates.
- Arbitrary code execution.
- Processing untrusted WebP images.
- Compromise of the application.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Image::WebP module for Perl includes a vulnerable bundled version of libwebp, meaning standard system updates won't fix it. Owners of applications that decode WebP images, especially those processing untrusted input, must first identify where this module is used, confirm its exposure and criticality, and then coordinate remediation.
- Application owners must own the issue.
- Verify untrusted WebP image decoding.
- Plan targeted remediation based on risk.