CVE-2022-21672: make-ca - Misconfiguration
- Cve: CVE-2022-21672
- Name: make-ca - Misconfiguration
- 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.
- Impact: Attackers can perform man-in-the-middle attacks by exploiting trusted untrusted certificates, potentially leading to data interception or impersonation.
- Remediation: Upgrade to make-ca 1.10 and run `make-ca -f -g` as root to regenerate the trusted store immediately.
- Vulnerability type: misconfiguration
- Vulnerability impact: man_in_the_middle, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00739
- Epss percentile: 0.55489
- Assignee: [email protected]
- Published at: 2022-01-10T21:15:08Z
- Age in days: 1779
- Modified at: 2026-06-17T04:26:43Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-21672
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-115 | Misinterpretation of Input |
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/lfs-book/make-ca/pull/20 | Patch, Third Party Advisory |
| https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx | Patch, Third Party Advisory |
| https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html | Mailing List, Mitigation, Vendor Advisory |
| https://github.com/lfs-book/make-ca/issues/19 | Issue Tracking, Mitigation, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linuxfromscratch:make-ca | >= 0.9, < 1.10 | no | nvd | /v1/products/linuxfromscratch/make-ca |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lfs-book/make-ca | issues, pull, security_advisory | yes | /v1/repositories/lfs-book/make-ca |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts