ADVISORIES

GitHub Advisory Database

GHSA-2x5j-vhc8-9cwm

CIRCL-Fourq: Missing and wrong validation can lead to incorrect results

Details

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 packages

EcosystemPackageAffected versions
Gogithub.com/cloudflare/circl
All versions before 1.6.1 (fixed in 1.6.1)

References