CVE-2021-4213 Memory corruption in JSS

High 7.5 Published Updated

An attacker can cause a denial of service by triggering memory leaks in JSS, leading to server RAM saturation and out-of-memory crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4213?

CVE-2021-4213 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 24 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in JSS, where it did not properly free up all memory. Over time, the wasted memory builds up in the server memory, saturating the server’s RAM. This flaw allows an attacker to force the invocation of an out-of-memory process, causing a denial of service.

Weakness: CWE-401

Which versions are affected by CVE-2021-4213?

It affects 3 products.

Linux distribution packages (40)
jss AlmaLinux:8All versions4.9.3-1.module_el8.6.0+2764+9fc58d50
jss-javadoc AlmaLinux:8All versions4.9.3-1.module_el8.6.0+2764+9fc58d50
ldapjdk AlmaLinux:8All versions4.23.0-1.module_el8.6.0+2764+9fc58d50
ldapjdk-javadoc AlmaLinux:8All versions4.23.0-1.module_el8.6.0+2764+9fc58d50
pki-acme AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-base AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-base-java AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-ca AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-kra AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-server AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-symkey AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
pki-tools AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
python3-pki AlmaLinux:8All versions10.12.0-2.module_el8.6.0+2764+9fc58d50
tomcatjss AlmaLinux:8All versions7.7.1-1.module_el8.6.0+2764+9fc58d50
jss Red Hat:certificate_system:10.4::el8All versions0:4.9.8-1.module+el8pki+19895+c800dfbd
redhat-pki Red Hat:certificate_system:10.4::el8All versions0:10.13.9-5.module+el8pki+21062+4ed906e8
jss Red Hat:enterprise_linux:8::appstreamAll versions0:4.9.3-1.module+el8.6.0+14244+60d461b7
jss-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.9.3-1.module+el8.6.0+14244+60d461b7
jss-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.9.3-1.module+el8.6.0+14244+60d461b7
jss-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:4.9.3-1.module+el8.6.0+14244+60d461b7
ldapjdk Red Hat:enterprise_linux:8::appstreamAll versions0:4.23.0-1.module+el8.5.0+11983+6ba118b4
ldapjdk-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:4.23.0-1.module+el8.5.0+11983+6ba118b4
pki-acme Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-base Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-base-java Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-ca Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-core Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-core-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-core-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-kra Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-server Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-symkey Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-symkey-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-tools Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
pki-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
python3-pki Red Hat:enterprise_linux:8::appstreamAll versions0:10.12.0-2.module+el8.6.0+14115+8b467244
tomcatjss Red Hat:enterprise_linux:8::appstreamAll versions0:7.7.1-1.module+el8.6.0+13291+248751b1
jss Rocky Linux:8All versions0:4.9.3-1.module+el8.6.0+788+76246f77
ldapjdk Rocky Linux:8All versions0:4.23.0-1.module+el8.5.0+701+8dc610e5
ldapjdk Rocky Linux:8All versions0:4.23.0-1.module+el8.7.0+1069+6f3de942

Products include Debian Debian Linux, Dogtagpki Network Security Services for Java, Redhat Enterprise Linux.

How do I fix CVE-2021-4213?

Apply the vendor's patch.

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

Is CVE-2021-4213 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2022:1851, DEBIAN-CVE-2021-4213, GHSA-727r-5fr6-wjfp, OESA-2024-1208, OESA-2024-1220, OESA-2024-1221 and 4 more.

Is CVE-2021-4213 in your software?

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

Check your SBOMs for free