GHSA-2wc6-2rcj-8v76MediumCVSS 6.5

scalarmult() vulnerable to degenerate public keys

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

The scalarmult() function included in previous versions of this crate accepted all-zero public keys, for which the resulting Diffie-Hellman shared secret will always be zero regardless of the private key used.

This issue was fixed by checking for this class of keys and rejecting them if they are used.

🎯 Affected products1

  • rust/sodiumoxide:< 0.0.14

🔗 References (5)