CVE-2023-40012
Trailofbits Uthenticode vulnerability
uthenticode is a small cross-platform library for partially verifying Authenticode digital signatures. Versions of uthenticode prior to the 2.x series did not check Extended Key Usages in certificates, in violation of the Authenticode X.509 certificate profile. As a result, a malicious user could produce a "signed" PE file that uthenticode would verify and consider valid using an X.509 certificate that isn't entitled to produce code signatures (e.g., a SSL certificate). By design, uthenticode does not perform full-chain validation. However, the absence of EKU validation was an unintended oversight. The 2.0.0 release series includes EKU checks. There are no workarounds to this vulnerability.
Affected products
Uthenticode. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Trailofbits Uthenticode runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/trailofbits/uthenticode/security/advisories/GHSA-gm2f-j4rj-6xqj · Vendor Advisory
- github.com/trailofbits/uthenticode/commit/caeb1eb62412605f71bd96ce9bb9420644b6db53 · Patch
- github.com/trailofbits/uthenticode/pull/78 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-40012
- cve.org/CVERecord?id=CVE-2023-40012
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.