CVE-2022-21672
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data tampering.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-115
- Record status
- Modified
Affected
- Linuxfromscratch make-ca < 1.10
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-21672.md and follow it. Check whether this project is affected by CVE-2022-21672. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html
References
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html
- https://github.com/lfs-book/make-ca/issues/19
- https://github.com/lfs-book/make-ca/pull/20
- https://github.com/lfs-book/make-ca/security/advisories/GHSA-m5qh-728v-4xrx
- https://lists.linuxfromscratch.org/sympa/arc/blfs-support/2022-01/msg00020.html