CloudflareGHSA-2x5j-vhc8-9cwm
CIRCL-Fourq: Missing and wrong validation can lead to incorrect results
Fix: upgrade to 1.6.1 or later
Impact
The CIRCL implementation of FourQ fails to validate user-supplied low-order points during Diffie-Hellman key exchange, potentially allowing attackers to force the identity point and compromise session security.
Moreover, there is an incorrect point validation in ScalarMult can lead to incorrect results in the isEqual function and if a point is on the curve.
Patches
Version 1.6.1 (https://github.com/cloudflare/circl/tree/v1.6.1) mitigates the identified issues.
We acknowledge Alon Livne (Botanica Software Labs) for the reported findings.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| circl Product | < 1.6.1 | 1.6.1 |
Details and references
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-20