CVE-2023-39969
JSON

9.1critical

uthenticode signature validation bypass vulnerability

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.57% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

uthenticode is a small cross-platform library for partially verifying Authenticode digital signatures. Version 1.0.9 of uthenticode hashed the entire file rather than hashing sections by virtual address, in violation of the Authenticode specification. As a result, an attacker could modify code within a binary without changing its Authenticode hash, making it appear valid from uthenticode's perspective. Versions of uthenticode prior to 1.0.9 are not vulnerable to this attack, nor are versions in the 2.x series. By design, uthenticode does not perform full-chain validation. However, the malleability of signature verification introduced in 1.0.9 was an unintended oversight. The 2.x series addresses the vulnerability. Versions prior to 1.0.9 are also not vulnerable, but users are encouraged to upgrade rather than downgrade. There are no workarounds to this vulnerability.

Affected

Product or packageVersionsReported by
trailofbits uthenticode= 1.0.9, 1.0.9, before 1.0.9CVE List, NVD

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-347

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

uthenticode is a small cross-platform library for partially verifying Authenticode digital signatures. Version 1.0.9 of uthenticode hashed the entire file rather than hashing sections by virtual address, in violation of the Authenticode specification. As a result, an attacker could modify code within a binary without changing its Authenticode hash, making it appear valid from uthenticode's perspective. Versions of uthenticode prior to 1.0.9 are not vulnerable to this attack, nor are versions in the 2.x series. By design, uthenticode does not perform full-chain validation. However, the malleability of signature verification introduced in 1.0.9 was an unintended oversight. The 2.x series addresses the vulnerability. Versions prior to 1.0.9 are also not vulnerable, but users are encouraged to upgrade rather than downgrade. There are no workarounds to this vulnerability.

NVD (es)

uthenticode es una pequeña biblioteca multiplataforma para verificar parcialmente firmas digitales Authenticode. La versión 1.0.9 de uthenticode realiza el hash de todo el archivo en lugar de realizar el hash de secciones por dirección virtual, lo que viola la especificación Authenticode. Como resultado, un atacante podría modificar el código dentro de un binario sin cambiar su hash Authenticode, haciéndolo parecer válido desde la perspectiva de uthenticode. Las versiones de uthenticode anteriores a la 1.0.9 no son vulnerables a este ataque, como tampoco lo son las versiones de la serie 2.x. Por diseño, uthenticode no realiza una validación de cadena completa. Sin embargo, la maleabilidad de la verificación de firmas introducida en 1.0.9 fue un descuido involuntario. La serie 2.x soluciona la vulnerabilidad. Las versiones anteriores a la 1.0.9 tampoco son vulnerables, pero se recomienda a los usuarios que actualicen en lugar de degradar. No existen soluciones a esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-39969 changed 2024-10-03CVE Terms of Use
NVDCVE-2023-39969 changed 2026-06-17Public domain