Out-of-bounds read in DjVuLibre - CVE-2021-32492

 

Out-of-bounds read in DjVuLibre - CVE-2021-32492

Published: May 17, 2021


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

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in DJVU::DataPool::has_data() function. A remote attacker can create a specially crafted djvu file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

DjVuLibre
Arch Linux
SUSE Manager Server
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Fedora
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
Ubuntu
openEuler
cflinuxfs3
djvulibre (Debian package)
SUSE Linux Enterprise Module for Packagehub Subpackages
djvulibre-debugsource
djvulibre-debuginfo
libdjvulibre21
libdjvulibre-devel
libdjvulibre21-debuginfo
djvulibre
libdjvulibre21 (Ubuntu package)
mingw-djvulibre
djvulibre-help
djvulibre-devel

How to mitigate CVE-2021-32492

Install updates from vendor's website.

DjVuLibre - update to 3.5.28
cflinuxfs3 - update to 0.238.0
djvulibre (Debian package) - addressed in versions 3.5.27.1-10+deb10u1, 3.5.28-2
djvulibre-debugsource - addressed in versions 3.5.21-3.9.1, 3.5.25.3-5.9.1, 3.5.27-3.11.1, 3.5.27-11.3.1
djvulibre-debuginfo - addressed in versions 3.5.21-3.9.1, 3.5.25.3-5.9.1, 3.5.27-3.11.1, 3.5.27-11.3.1
libdjvulibre21 - addressed in versions 3.5.21-3.9.1, 3.5.25.3-5.9.1, 3.5.27-3.11.1, 3.5.27-11.3.1
libdjvulibre-devel - addressed in versions 3.5.25.3-5.9.1, 3.5.27-3.11.1, 3.5.27-11.3.1
libdjvulibre21-debuginfo - addressed in versions 3.5.25.3-5.9.1, 3.5.27-3.11.1, 3.5.27-11.3.1
djvulibre - update to 3.5.25.3-23.el7
libdjvulibre21 (Ubuntu package) - addressed in versions 3.5.27.1-8ubuntu0.3, 3.5.27.1-14ubuntu0.1, 3.5.27.1-15ubuntu0.1, 3.5.27.15ubuntu0.1+esm1, 3.5.28-1ubuntu0.1
mingw-djvulibre - addressed in versions 3.5.27-11.fc33, 3.5.27-11.fc34, 3.5.27-12.fc33, 3.5.27-12.fc34
djvulibre - update to 3.5.27-11.3.1
djvulibre-help - update to 3.5.27-16
djvulibre-debuginfo - update to 3.5.27-16
djvulibre-debugsource - update to 3.5.27-16
djvulibre-devel - update to 3.5.27-16
djvulibre - update to 3.5.27-16

External References

Related Security Bulletins