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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:trailofbits:uthenticode:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:18

Type Values Removed Values Added
Summary
  • (es) uthenticode es una pequeña biblioteca multiplataforma para verificar parcialmente las firmas digitales Authenticode. Las versiones de uthenticode anteriores a la serie 2.x no comprobaban el uso de claves extendidas en los certificados, lo que infringía el perfil de certificado X.509 de Authenticode. Como resultado, un usuario malintencionado podría producir un archivo PE "firmado" que uthenticode verificaría y consideraría válido utilizando un certificado X.509 que no está autorizado a producir firmas de código (por ejemplo, un certificado SSL). Por diseño, uthenticode no realiza una validación de cadena completa. Sin embargo, la ausencia de validación EKU fue un descuido involuntario. La versión 2.0.0 incluye comprobaciones EKU. No existen soluciones a esta vulnerabilidad.
References () https://github.com/trailofbits/uthenticode/commit/caeb1eb62412605f71bd96ce9bb9420644b6db53 - Patch () https://github.com/trailofbits/uthenticode/commit/caeb1eb62412605f71bd96ce9bb9420644b6db53 - Patch
References () https://github.com/trailofbits/uthenticode/pull/78 - Patch () https://github.com/trailofbits/uthenticode/pull/78 - Patch
References () https://github.com/trailofbits/uthenticode/security/advisories/GHSA-gm2f-j4rj-6xqj - Vendor Advisory () https://github.com/trailofbits/uthenticode/security/advisories/GHSA-gm2f-j4rj-6xqj - Vendor Advisory
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 5.9

Information

Published : 2023-08-09 16:15

Updated : 2024-11-21 08:18


NVD link : CVE-2023-40012

Mitre link : CVE-2023-40012

CVE.ORG link : CVE-2023-40012


JSON object : View

Products Affected

trailofbits

  • uthenticode
CWE
CWE-325

Missing Cryptographic Step

CWE-347

Improper Verification of Cryptographic Signature