Division by zero in libvips - CVE-2021-27847

 

Division by zero in libvips - CVE-2021-27847

Published: October 23, 2023


Vulnerability identifier: #VU82308
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-27847
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due ti a division by zero error within the vips_eye_point() function in eye.c. A remote attacker can pass specially crafted input to the affected application and perform a denial of service (DoS) attack.


Affected software

libvips
Ubuntu
gir1.2-vips-8.0 (Ubuntu package)
libvips-tools (Ubuntu package)
libvips42 (Ubuntu package)
python-vipscc (Ubuntu package)

How to mitigate CVE-2021-27847

Install updates from vendor's website.

libvips - update to 8.10.6
gir1.2-vips-8.0 (Ubuntu package) - update to Ubuntu Pro
libvips-tools (Ubuntu package) - update to Ubuntu Pro
libvips42 (Ubuntu package) - update to Ubuntu Pro
python-vipscc (Ubuntu package) - update to Ubuntu Pro

External References

Related Security Bulletins