Skip to content

/etc/pki/tls and /etc/ssl/certs include distrusted certificates

Moderate
xry111 published GHSA-m5qh-728v-4xrx Jan 10, 2022

Package

make-ca (BLFS)

Affected versions

>= 0.9, < 1.10

Patched versions

1.10

Description

Impact

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.

Patches

Everyone using the affected versions of make-ca should upgrade to make-ca-1.10, and run make-ca -r as the root user to regenerate the trusted store immediately.

Workarounds

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.

References

For more information

If you have any questions or comments about this advisory:

Severity

Moderate

CVE ID

CVE-2022-21672

Weaknesses