CVE-2023-44273
gnark-crypto doesn't range check input values during ECDSA and EdDSA signature deserialization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).
Description
Consensys gnark-crypto through 0.11.2 allows Signature Malleability. This occurs because deserialisation of EdDSA and ECDSA signatures does not ensure that the data is in a certain interval.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/consensys/gnark-crypto | 0.12.0 |
References
- https://github.com/Consensys/gnark-crypto
- https://github.com/Consensys/gnark-crypto/pull/449
- https://github.com/Consensys/gnark-crypto/releases
- https://github.com/Consensys/gnark-crypto/releases/tag/v0.12.0
- https://github.com/Consensys/gnark-crypto/security/advisories/GHSA-fr8m-434r-g3xp
- https://go.dev/blog/defer-panic-and-recover
- https://nvd.nist.gov/vuln/detail/CVE-2023-44273
- https://verichains.io