DescriptionA flaw was found in openCryptoki. 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 a malicious user to extract the private key by performing an invalid curve attack.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencryptoki (PTS)buster3.8.1+dfsg-3.1fixed
sid, trixie, bookworm, bullseye3.8.1+dfsg-3.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencryptokisource(unstable)(not affected)


- opencryptoki <not-affected> (Vulnerable code introduced later)
Introduced with: (v3.15.0)
Fixed by: (v3.17.0)

Search for package or bug name: Reporting problems