CVE-2021-3630 Memory corruption in djvulibre

Medium 5.5 Published Updated

An out-of-bounds write in DjVuLibre allows attackers to cause a crash via crafted DjVu files, impacting applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3630?

CVE-2021-3630 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 30 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.

Weakness: CWE-787

Which versions are affected by CVE-2021-3630?

It affects 3 products.

Linux distribution packages (37)
djvulibre SUSE:Enterprise Storage 6All versions3.5.27-3.19.1
djvulibre SUSE:HPE Helion OpenStack 8All versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Module for Desktop Applications 15 SP2All versions3.5.27-11.11.1
djvulibre SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions3.5.27-11.11.1
djvulibre SUSE:Linux Enterprise Module for Package Hub 15 SP2All versions3.5.27-11.11.1
djvulibre SUSE:Linux Enterprise Module for Package Hub 15 SP3All versions3.5.27-11.11.1
djvulibre SUSE:Linux Enterprise Point of Sale 11 SP3All versions3.5.21-3.15.1
djvulibre SUSE:Linux Enterprise Point of Sale 11 SP3All versions3.5.21-3.18.1
djvulibre SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions3.5.21-3.15.1
djvulibre SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions3.5.21-3.18.1
djvulibre SUSE:Linux Enterprise Server 12 SP2-BCLAll versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server 12 SP3-BCLAll versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server 12 SP5All versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server 15 SP1-BCLAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Server 15-LTSSAll versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions3.5.25.3-5.19.2
djvulibre SUSE:Linux Enterprise Server for SAP Applications 15All versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions3.5.27-3.19.1
djvulibre SUSE:Linux Enterprise Software Development Kit 12 SP5All versions3.5.25.3-5.19.2
djvulibre SUSE:Manager Proxy 4.0All versions3.5.27-3.19.1
djvulibre SUSE:Manager Retail Branch Server 4.0All versions3.5.27-3.19.1
djvulibre SUSE:Manager Server 4.0All versions3.5.27-3.19.1
djvulibre SUSE:OpenStack Cloud 8All versions3.5.25.3-5.19.2
djvulibre SUSE:OpenStack Cloud 9All versions3.5.25.3-5.19.2
djvulibre SUSE:OpenStack Cloud Crowbar 8All versions3.5.25.3-5.19.2
djvulibre SUSE:OpenStack Cloud Crowbar 9All versions3.5.25.3-5.19.2
djvulibre openSUSE:Leap 15.2All versions3.5.27-lp152.7.9.1
djvulibre openSUSE:Leap 15.3All versions3.5.27-11.11.1

Products include Debian Debian Linux, Djvulibre Project Djvulibre, Fedoraproject Fedora.

How do I fix CVE-2021-3630?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-3630 being exploited?

There is no known exploitation of CVE-2021-3630 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2023-SN97100, DEBIAN-CVE-2021-3630, DLA-2702-1, GHSA-mpc3-cw77-gc2f, OESA-2021-1266, SUSE-SU-2021:14761-1 and 9 more.

Is CVE-2021-3630 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free