CVE catalog

CVE-2021-3798

opencryptoki: CVE-2021-3798

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopencryptokisid3.27.0-1not affected
Debianopencryptokiforky3.27.0-1not affected
Debianopencryptokitrixie3.23.0+dfsg-0.3+deb13u1not affected
Debianopencryptokibookworm3.8.1+dfsg-3.2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianopencryptokisourcesidNot affectedunimportantNot reportedNot reported
DebianopencryptokisourceforkyNot affectedunimportantNot reportedNot reported
DebianopencryptokisourcetrixieNot affectedunimportantNot reportedNot reported
DebianopencryptokisourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libopencryptoki0]Not affected

    Source package: [opencryptoki]

    Details (2)
    • 3.8.1+dfsg-3.2+b3 · amd64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

    • 3.8.1+dfsg-3.2+b3 · arm64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

  • [libopencryptoki-dev]Not affected

    Source package: [opencryptoki]

    Details (2)
    • 3.8.1+dfsg-3.2+b3 · amd64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

    • 3.8.1+dfsg-3.2+b3 · arm64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

  • [opencryptoki]Not affected

    Source package: [opencryptoki]

    Details (2)
    • 3.8.1+dfsg-3.2+b3 · amd64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

    • 3.8.1+dfsg-3.2+b3 · arm64 · bookworm

      Not affected

      dsa · opencryptoki · debian · bookworm

Observed:

References