{"id":"CVE-2021-3798","state":"PUBLISHED","title":"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 E","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.","publishedAt":"2022-08-23T15:48:58.000Z","updatedAt":"2024-08-03T17:09:09.595Z","severity":null,"assigner":"redhat","products":["n/a opencryptoki"],"affected":[{"vendor":"n/a","product":"opencryptoki","versions":[{"version":"Fixed in v3.17.0","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1990591","https://access.redhat.com/security/cve/CVE-2021-3798","https://github.com/opencryptoki/opencryptoki/pull/402","https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3798.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3798","state":"PUBLISHED","datePublished":"2022-08-23T15:48:58.000Z","dateUpdated":"2024-08-03T17:09:09.595Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-09-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"opencryptoki","versions":[{"version":"Fixed in v3.17.0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1990591","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3798","tags":["x_refsource_MISC"]},{"url":"https://github.com/opencryptoki/opencryptoki/pull/402","tags":["x_refsource_MISC"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-23T15:48:58.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1990591","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3798","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/opencryptoki/opencryptoki/pull/402","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:09.595Z"}}]}}}