Vulnerability Details : CVE-2023-40012
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.
Products affected by CVE-2023-40012
- cpe:2.3:a:trailofbits:uthenticode:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-40012
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 12 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-40012
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
2.2
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-40012
-
The product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.Assigned by: security-advisories@github.com (Primary)
-
The product does not verify, or incorrectly verifies, the cryptographic signature for data.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-40012
-
https://github.com/trailofbits/uthenticode/pull/78
src: bump OpenSSL, EKU check by woodruffw · Pull Request #78 · trailofbits/uthenticode · GitHubPatch
-
https://github.com/trailofbits/uthenticode/security/advisories/GHSA-gm2f-j4rj-6xqj
EKU validation bypass in uthenticode · Advisory · trailofbits/uthenticode · GitHubVendor Advisory
-
https://github.com/trailofbits/uthenticode/commit/caeb1eb62412605f71bd96ce9bb9420644b6db53
src: bump OpenSSL, EKU check (#78) · trailofbits/uthenticode@caeb1eb · GitHubPatch
Jump to