CVE-2021-3798: Infoleak

Published Aug 5, 2021
·
Updated

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 CCreateObject, nor when CDeriveKey is used with ECDH public data. This may allow a malicious user to extract the private key by performing an invalid curve attack.

Other sources

It was discovered that openCryptoki incorrectly handled certain EC keys. An attacker could possibly use this issue to cause a invalid curve attack.

Reference: https://packetstormsecurity.com/files/163741/USN-5031-1.txt

Upstream patch: https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0

— Red Hat

Affected Software

1 affected component
Opencryptoki Project Opencryptoki<3.17.0

Event History

Aug 5, 2021
Data Sourced
04:55 PM
DescriptionSeverityAffected Software
Aug 23, 2022
CVE Published
via MITRE·03:48 PM
Data Sourced
via MITRE·03:48 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-3798?

CVE-2021-3798 is classified as a high-severity vulnerability due to the potential for private key extraction.

2

How do I fix CVE-2021-3798?

To fix CVE-2021-3798, upgrade to Opencryptoki version 3.17.0 or later where the vulnerability has been addressed.

3

What kind of attack does CVE-2021-3798 allow?

CVE-2021-3798 allows a malicious user to perform an invalid curve attack to extract private keys.

4

Which versions of Opencryptoki are affected by CVE-2021-3798?

CVE-2021-3798 affects all versions of Opencryptoki prior to 3.17.0.

5

What components are involved in CVE-2021-3798?

CVE-2021-3798 involves the openCryptoki Soft token functions C_CreateObject and C_DeriveKey.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203