CVE-2021-3798
Last modified
CVE-2021-3798 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Opencryptoki Project | Opencryptoki | < 3.17.0 |
References
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue Tracking, Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402Patch, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue Tracking, Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3798?
How severe is CVE-2021-3798?
How do I fix CVE-2021-3798?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-37974Use after free in Safebrowsing in Google Chrome prior to 94.…8.8
- CVE-2021-37975Use after free in V8 in Google Chrome prior to 94.0.4606.71 …8.8
- CVE-2021-37976Inappropriate implementation in Memory in Google Chrome prio…6.5
- CVE-2021-37977Use after free in Garbage Collection in Google Chrome prior …8.8
- CVE-2021-37978Heap buffer overflow in Blink in Google Chrome prior to 94.0…8.8
- CVE-2021-37979heap buffer overflow in WebRTC in Google Chrome prior to 94.…8.8
- CVE-2021-37980Inappropriate implementation in Sandbox in Google Chrome pri…7.4
- CVE-2021-37981Heap buffer overflow in Skia in Google Chrome prior to 95.0.…9.6
- CVE-2021-37982Use after free in Incognito in Google Chrome prior to 95.0.4…8.8
- CVE-2021-37983Use after free in Dev Tools in Google Chrome prior to 95.0.4…8.8
- CVE-2021-37984Heap buffer overflow in PDFium in Google Chrome prior to 95.…8.8
- CVE-2021-37985Use after free in V8 in Google Chrome prior to 95.0.4638.54 …8.8
Are you affected by CVE-2021-3798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
