CVE-2023-40012 Vulnerability Analysis & Exploit Details

CVE-2023-40012
Vulnerability Scoring

5.9
/10
Significant Risk

Security assessments indicate that CVE-2023-40012 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-40012 Details

Status: Modified

Last updated: 🕗 21 Nov 2024, 08:18 UTC
Originally published on: 🕓 09 Aug 2023, 16:15 UTC

Time between publication and last update: 469 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CVE-2023-40012 Vulnerability Summary

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.

Assessing the Risk of CVE-2023-40012

Access Complexity Graph

The exploitability of CVE-2023-40012 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-40012

CVE-2023-40012 presents a challenge to exploit due to its high attack complexity, but the absence of privilege requirements still makes it a viable target for skilled attackers. A thorough security review is advised.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-40012, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-40012, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2023-40012 has no significant impact on data confidentiality.
  • Integrity: High
    CVE-2023-40012 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2023-40012 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.091% (probability of exploit)

EPSS Percentile: 41.05% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 58.95% of others.

CVE-2023-40012 References

External References

CWE Common Weakness Enumeration

CWE-347

CAPEC Common Attack Pattern Enumeration and Classification

  • Padding Oracle Crypto Attack CAPEC-463 An adversary is able to efficiently decrypt data without knowing the decryption key if a target system leaks data on whether or not a padding error happened while decrypting the ciphertext. A target system that leaks this type of information becomes the padding oracle and an adversary is able to make use of that oracle to efficiently decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). In addition to performing decryption, an adversary is also able to produce valid ciphertexts (i.e., perform encryption) by using the padding oracle, all without knowing the encryption key.
  • Signature Spoofing by Improper Validation CAPEC-475 An adversary exploits a cryptographic weakness in the signature verification algorithm implementation to generate a valid signature without knowing the key.

Vulnerable Configurations

  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre1:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre1:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre2:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre2:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre3:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre3:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre4:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre4:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre5:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre5:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre6:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre6:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre7:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre7:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre8:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre8:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre5.1:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.0:pre5.1:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.6:-:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.6:-:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.6:pre1:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.6:pre1:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:trailofbits:uthenticode:1.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:trailofbits:uthenticode:1.0.9:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-40012: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-46328 – snowflake-connector-nodejs is a NodeJS driver for Snowflake. Versions starting from 1.10.0 to before 2.0.4, are vulnerable to a Time-of-Check to Ti...
  • CVE-2025-46327 – gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU...
  • CVE-2025-46326 – snowflake-connector-net is the Snowflake Connector for .NET. Versions starting from 2.1.2 to before 4.4.1, are vulnerable to a Time-of-Check to Tim...
  • CVE-2025-4039 – A vulnerability was found in PHPGurukul Rail Pass Management System 1.0. It has been rated as critical. Affected by this issue is some unknown func...
  • CVE-2025-4038 – A vulnerability was found in code-projects Train Ticket Reservation System 1.0. It has been declared as critical. Affected by this vulnerability is...