Information disclosure in opencryptoki
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | opencryptoki | Fixed in v3.17.0 | — | No fix listed | CNA |
- opencryptoki Vendor— Affected Fixed in v3.17.0 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:* | before 3.17.0 | Vulnerable | opencryptoki |
- cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:* Versions before 3.17.0 Vulnerable ·opencryptoki
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | — |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | — |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3798
- 2026-10-03 Alias added: GHSA-f2gp-jqv6-cmxg
References
More Opencryptoki vulnerabilities
- TI-2026-29047 openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c CVSS 3.1MEDIUM 6.8
- TI-2026-19251 openCryptoki has improper link resolution before file access (link following) CVSS 3.1MEDIUM 6.8
- TI-2026-18309 openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP CVSS 3.1MEDIUM 6.6
- TI-2024-00843 Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin) CVSS 3.1MEDIUM 5.9
- TI-2012-03797 openCryptoki 2.4.1 allows local users to create or set world-writable permissions on… CVSS 2.0MEDIUM 6.2
- TI-2012-03796 openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set… CVSS 2.0LOW 2.9
Sources
- CVE-2021-3798 · CVE Program
- CVE-2021-3798 · NVD
- FIRST EPSS
- GHSA-f2gp-jqv6-cmxg · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3798 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences