Vulnerability · Published Jan 10, 2022 · Assigned by GitHub_M
CVE-2022-21672/etc/pki/tls and /etc/ssl/certs include distrusted certificates in make-ca
Medium 6.5
In plain English
A medium-severity security flaw in make-ca from lfs-book. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-115 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx x_refsource_CONFIRM
- https://github.com/lfs-book/make-ca/issues/19 x_refsource_MISC
- https://github.com/lfs-book/make-ca/pull/20 x_refsource_MISC
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html x_refsource_MISC