{"id":"CVE-2021-3798","sourceIdentifier":"secalert@redhat.com","published":"2022-08-23T16:15:09.930","lastModified":"2026-06-17T04:05:47.383","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"Se ha encontrado un fallo en openCryptoki. El token de openCryptoki Soft no comprueba si una clave EC es válida cuando es creada una clave EC por medio de C_CreateObject, ni cuando es usada C_DeriveKey con datos públicos ECDH. Esto puede permitir a un usuario malicioso extraer la clave privada llevando a cabo un ataque de curva no válida."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"opencryptoki","versions":[{"version":"Fixed in v3.17.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"secalert@redhat.com","type":"Secondary","description":[{"lang":"en","value":"CWE-200"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*","versionEndExcluding":"3.17.0","matchCriteriaId":"F9E5EB07-9490-4AB0-BE69-412ED0BF7F4B"}]}]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2021-3798","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1990591","source":"secalert@redhat.com","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0","source":"secalert@redhat.com","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/opencryptoki/opencryptoki/pull/402","source":"secalert@redhat.com","tags":["Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3798","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1990591","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/opencryptoki/opencryptoki/pull/402","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]}]}