CVE-2021-27845 Denial of service in n/a

Medium 5.5 Published Updated

A divide-by-zero error in the JasPer image coding toolkit allows attackers to cause a denial of service via crafted input.

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-27845?

CVE-2021-27845 is a medium-severity denial of service vulnerability in Jasper Project Jasper, published on 15 Jul 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

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Weakness: CWE-369

Which versions are affected by CVE-2021-27845?

It affects 1 product.

Linux distribution packages (17)
jasper SUSE:Enterprise Storage 6All versions2.0.14-3.22.1
jasper SUSE:Enterprise Storage 7All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Real Time 15 SP2All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Server 12 SP5All versions1.900.14-195.28.1
jasper SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.900.14-195.28.1
jasper SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.0.14-3.22.1
jasper SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.900.14-195.28.1
jasper openSUSE:Leap 15.3All versions2.0.14-3.22.1

Products include Jasper Project Jasper.

How do I fix CVE-2021-27845?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-27845 being exploited?

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

All Jasper Project Jasper vulnerabilities

Sources

Also known as GHSA-6xx8-4xh5-jh9w, OESA-2021-1347, SUSE-SU-2022:0561-1, SUSE-SU-2022:0562-1, SUSE-SU-2022:0562-2, UBUNTU-CVE-2021-27845 and 1 more.

Is CVE-2021-27845 in your software?

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

Check your SBOMs for free