Name | CVE-2021-3798 |
Description | A 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
opencryptoki (PTS) | jessie | 2.3.1+dfsg-3 | fixed |
| stretch | 3.6.1+dfsg-1 | fixed |
| buster | 3.8.1+dfsg-3.1 | fixed |
| bullseye, bookworm | 3.8.1+dfsg-3.2 | fixed |
| sid, trixie | 3.23.0+dfsg-0.3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
opencryptoki | source | (unstable) | (not affected) | | | |
Notes
- opencryptoki <not-affected> (Vulnerable code introduced later)
https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/1928780
Introduced with: https://github.com/opencryptoki/opencryptoki/commit/a179fd01a265a98194d9c06ec5958da1dd2ecae3 (v3.15.0)
Fixed by: https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 (v3.17.0)