Comment 0 for bug 1928780

Revision history for this message
bugproxy (bugproxy) wrote :

The Opencryptoki Soft token does not check if an EC key is valid when an EC key is created via C_CreateObject, nor when C_DeriveKey is used with ECDH public data. This may allow one to perform Invalid Curve Attacks.

Fix:
https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 (SOFT: Check the EC Key on C_CreateObject and C_DeriveKey)

This commit should apply smooth on top of OCK 3.16.0, but also on OCK 3.15.0 or 3.15.1.

EC support has been introduced in the Soft token with OCK 3.15.0. So all OCK versions >= 3.15.0 are affected. Earlier OCK releases are not affected.

This problem need only to be fixed with 21.04 wherer 3.15.1 is included.