cve.bz

CVE-2021-3551

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the PKI-server, where the spkispawn command, when run in debug mode, stores admin credentials in the installation log file. This flaw allows a local attacker to retrieve the file to obtain the admin password and gain admin privileges to the Dogtag CA manager. The highest threat from this vulnerability is to confidentiality.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-312 Cleartext Storage of Sensitive Information
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3551 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3551?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3551?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3551 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dogtagpki:dogtagpkifrom 10.10.0 before 10.10.6
fedoraproject:fedora33
fedoraproject:fedora34
oracle:linux8
redhat:enterprise_linux8.0
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_for_ibm_z_systems8.0
redhat:enterprise_linux_for_ibm_z_systems_eus8.4
redhat:enterprise_linux_for_power_little_endian8.0
redhat:enterprise_linux_for_power_little_endian_eus8.4
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_update_services_for_sap_solutions8.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11dogtag-pkino fix listedDEBIAN-CVE-2021-3551
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 moredogtag-pkino fix listedUBUNTU-CVE-2021-3551
Red Hatenterprise_linux:8::appstreamjss, jss-javadoc, jss-debuginfo and 1 more0:4.8.1-2.module+el8.4.0+10451+3e5b5448RHSA-2021:2235
Red Hatenterprise_linux:8::appstreamldapjdk, ldapjdk-javadoc0:4.22.0-1.module+el8.3.0+6784+6e1e4c62RHSA-2021:2235
Red Hatenterprise_linux:8::appstreampki-ca, pki-kra, pki-acme and 11 more0:10.10.5-3.module+el8.4.0+11039+635979e4RHSA-2021:2235
Red Hatenterprise_linux:8::appstreamtomcatjss0:7.6.1-1.module+el8.4.0+8778+d07929ffRHSA-2021:2235
Rocky Linux8jss0:4.8.1-2.module+el8.4.0+418+b7ae1d4aRLSA-2021:2235
Rocky Linux8ldapjdk0:4.22.0-1.module+el8.4.0+418+b7ae1d4aRLSA-2021:2235
Rocky Linux8pki-core0:10.10.5-3.module+el8.4.0+554+92b527a1RLSA-2021:2235
Rocky Linux8tomcatjss0:7.6.1-1.module+el8.4.0+418+b7ae1d4aRLSA-2021:2235

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

In Red Hat Identity Management, this flaw affects only new installation made using Red Hat Enterprise Linux 8.4. This issue is considered important in IdM, as its installation is done in Debug mode. The leaked credentials would allow any user with Low privileges to have full control of the managed domain(s).

In Red Hat Certificate System, this flaw affects only new installation of RHCS 10.2, when `pkispawn` is started in Debug mode. This issue is considered with Low severity as this is not the default, and Certificate System should be isolated from regular users.

Existing installation are not affected.

Red Hat's mitigation

Manually delete or restrict permission to `other` in the installation log file :

$ rm /var/log/pki/pki-ca-spawn*

- OR, if you need to keep the installation logs :

$ chmod o-rwx /var/log/pki/pki-ca-spawn*

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pki-core:10.6-8040020210519185901.17df0a3fFixed 2021-06-03RHSA-2021:2235
Red Hat Certificate System 10pki-coreAffected
Red Hat Enterprise Linux 6pki-coreNot affected
Red Hat Enterprise Linux 7pki-coreNot affected
Red Hat Enterprise Linux 9pki-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3551.

Attack patterns (CAPEC)

  • CAPEC-37 Retrieve Embedded Sensitive Data Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON