CVE-2022-21672 json
/etc/pki/tls and /etc/ssl/certs include distrusted certificates in make-ca
published 4y ago modified 4mo ago also EUVD-2022-26885
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linuxfromscratch make-ca 1.10
Is CVE-2022-21672 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- lfs-book make-ca
Classification
- Weakness
-
- CWE-115 Misinterpretation of Input
References
-
github.com
/lfs-book/make-ca/pull/20
patch, third-party-advisory
-
github.com
/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
patch, third-party-advisory
-
lists.linuxfromscratch.org
/sympa/arc/blfs-support/2022-01/msg00020.html
mailing-list, mitigation, vendor-advisory
-
github.com
/lfs-book/make-ca/issues/19
issue-tracking, mitigation, third-party-advisory
Sources
- CVE List CVE-2022-21672
- NVD CVE-2022-21672
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.