CVE-2021-4213 json
A flaw was found in JSS, where it did not properly free up all memory.
published 2022-08-24 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34071
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- dogtagpki network_security_services_for_java 4.9.3, 5.1.0
- jss Debian 14, Debian 12 5.2.0-1
debian advisories DEBIAN-CVE-2021-4213
- jss certificate system 10.4 4.9.8-1.module+el8pki+19895+c800dfbd
- redhat-pki certificate system 10.4 10.13.9-5.module+el8pki+21062+4ed906e8
- jss RHEL 8 4.9.3-1.module+el8.6.0+14244+60d461b7
- pki-ca RHEL 8 10.12.0-2.module+el8.6.0+14115+8b467244
- ldapjdk RHEL 8 4.23.0-1.module+el8.5.0+11983+6ba118b4
- pki-kra RHEL 8 10.12.0-2.module+el8.6.0+14115+8b467244
- pki-acme RHEL 8 10.12.0-2.module+el8.6.0+14115+8b467244
- pki-base RHEL 8 10.12.0-2.module+el8.6.0+14115+8b467244
red hat advisories RHSA-2024:0774RHSA-2022:1851
- jss AlmaLinux 8 4.9.3-1.module_el8.6.0+2764+9fc58d50
- pki-ca AlmaLinux 8 10.12.0-2.module_el8.6.0+2764+9fc58d50
- ldapjdk AlmaLinux 8 4.23.0-1.module_el8.6.0+2764+9fc58d50
- pki-kra AlmaLinux 8 10.12.0-2.module_el8.6.0+2764+9fc58d50
- pki-acme AlmaLinux 8 10.12.0-2.module_el8.6.0+2764+9fc58d50
- pki-base AlmaLinux 8 10.12.0-2.module_el8.6.0+2764+9fc58d50
- pki-tools AlmaLinux 8 10.12.0-2.module_el8.6.0+2764+9fc58d50
- tomcatjss AlmaLinux 8 7.7.1-1.module_el8.6.0+2764+9fc58d50
almalinux advisories ALSA-2022:1851
- jss Rocky Linux 8 4.9.3-1.module+el8.6.0+788+76246f77
- ldapjdk Rocky Linux 8 4.23.0-1.module+el8.7.0+1069+6f3de942
- ldapjdk Rocky Linux 8 4.23.0-1.module+el8.5.0+701+8dc610e5
- pki-core Rocky Linux 8 10.12.0-2.module+el8.6.0+788+76246f77
- tomcatjss Rocky Linux 8 7.7.1-1.module+el8.6.0+788+76246f77
rocky linux advisories RLSA-2022:1851
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4213 updated cvss 7.5
JSS: memory leak in TLS connection leads to OOM
-
Red Hat Certificate System 10.4 for RHEL 8 jss 4.9.8-1.module+el8pki+19895+c800dfbd, redhat-pki 10.13.9-5.module+el8pki+21062+4ed906e8fixed: vendor fix RHSA-2024:0774
-
Red Hat Enterprise Linux AppStream (v. 8) jss 4.9.3-1.module+el8.6.0+14244+60d461b7, ldapjdk 4.23.0-1.module+el8.5.0+11983+6ba118b4, pki-ca 10.12.0-2.module+el8.6.0+14115+8b467244, pki-kra 10.12.0-2.module+el8.6.0+14115+8b467244, tomcatjss 7.7.1-1.module+el8.6.0+13291+248751b1, pki-acme 10.12.0-2.module+el8.6.0+14115+8b467244, +9 morefixed: vendor fix RHSA-2022:1851
-
Red Hat Certificate System 10.4 for RHEL 8 ldapjdk 4.23.0-1.module+el8pki+14677+1ef79a68, tomcatjss 7.7.3-1.module+el8pki+19895+c800dfbd, jss-javadoc 4.9.8-1.module+el8pki+19895+c800dfbd, redhat-pki 10.13.9-5.module+el8pki+21062+4ed906e8, redhat-pki-ca 10.13.9-5.module+el8pki+21062+4ed906e8, ldapjdk-javadoc 4.23.0-1.module+el8pki+14677+1ef79a68, +17 more Red Hat Enterprise Linux 6 jss, jss-javadoc Red Hat Enterprise Linux 7 jss, jss-javadoc Red Hat Enterprise Linux 9 jss, idm-jssnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.74% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a JSS
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/dogtagpki/jss/commit/5922560a78d0dee61af8a33cc9cfbf4cfa291448
patch, third-party-advisory
-
github.com
/dogtagpki/jss/commit/3aabe0e9d59b0a42e68ac8cd0468f9c5179967d2
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2042900
issue-tracking, patch, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2021-4213
third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2021-4213
third-party-advisory
Sources
- CVE List CVE-2021-4213
- NVD CVE-2021-4213
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.