CVE-2022-21672 /etc/pki/tls and /etc/ssl/certs include distrusted certificates in make-ca
make-ca incorrectly trusts explicitly untrusted certificates, enabling man-in-the-middle attacks against systems using affected versions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-21672?
CVE-2022-21672 is a medium-severity vulnerability in lfs-book make-ca, published on 10 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-115
Which versions are affected by CVE-2022-21672?
It affects 1 product.
Products include Linuxfromscratch Make-Ca.
How do I fix CVE-2022-21672?
No fix has been published for CVE-2022-21672 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-21672 being exploited?
There is no known exploitation of CVE-2022-21672 in the wild and no public exploit code.
Sources
Also known as GHSA-m5qh-728v-4xrx.