CVE-2023-44273
vulnerability analysis and mitigation

Overview

Consensys gnark-crypto through version 0.11.2 contains a signature malleability vulnerability. The issue occurs because deserialisation of EdDSA and ECDSA signatures does not ensure that the data is in a certain interval. The vulnerability was discovered and disclosed in September 2023 (NVD).

Technical details

The vulnerability stems from insufficient validation during signature deserialisation in both EdDSA and ECDSA implementations. Specifically, the code did not properly verify that signature values were within the valid interval [0, mod], where mod is the relevant modulus (field of definition of relevant group size of the curve). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The signature malleability vulnerability could allow an attacker to modify existing valid signatures while keeping them valid, potentially leading to signature forgery or replay attacks. This could compromise the integrity and authenticity of signed messages in systems using the affected library (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 0.12.0 of gnark-crypto. The fix implements proper validation of signature values during deserialisation to ensure they fall within the valid interval. Users should upgrade to version 0.12.0 or later to address this vulnerability (GitHub Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management