What’s Vulnerable › Vulnerabilities
CVE-2022-21672: /etc/pki/tls and /etc/ssl/certs include distrusted certificates in make-ca
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-10 · updated 2026-06-17
- Weakness: CWE-115
Description
make-ca is a utility to deliver and manage a complete PKI configuration for workstations and servers. Starting with version 0.9 and prior to version 1.10, make-ca misinterprets Mozilla certdata.txt and treats explicitly untrusted certificates like trusted ones, causing those explicitly untrusted certificates trusted by the system. The explicitly untrusted certificates were used by some CAs already hacked. Hostile attackers may perform a MIM attack exploiting them. Everyone using the affected versions of make-ca should upgrade to make-ca-1.10, and run `make-ca -f -g` as the `root` user to regenerate the trusted store immediately. As a workaround, users may delete the untrusted certificates from /etc/pki/tls and /etc/ssl/certs manually (or by a script), but this is not recommended because the manual changes will be overwritten next time running make-ca to update the trusted anchor.
Affected products
- lfs-book make-ca: from 0.9 before 1.10 — fixed in 1.10
How to fix
Upgrade to a fixed version: lfs-book make-ca 1.10. Check the vendor advisory for mitigations.
References
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html
Get alerted when CVE-2022-21672 or the next vulnerability affects your stack