PT-2017-10866 · Frank Denis · Sodiumoxide

Published

2017-01-26

·

Updated

2021-08-25

·

CVE-2017-1000168

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions sodiumoxide versions 0.0.13 and older
Description The issue concerns the scalarmult() function, which accepted all-zero public keys. This results in the Diffie-Hellman shared secret always being zero, regardless of the private key used.
Recommendations For sodiumoxide versions 0.0.13 and older, update to a version that includes the fix for the scalarmult() function, which now checks for and rejects all-zero public keys.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2017-1000168
GHSA-2WC6-2RCJ-8V76
RUSTSEC-2017-0001

Affected Products

Sodiumoxide