1. CVE archive
  2. 2016
  3. CVE-2016-9121

CVE-2016-9121

9.1 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 9.1 – Critical

Description

go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.

Affected products

VendorProductVersionPlatform
go-jose project go-jose <= 1.0.3 –

Vulnerability type

CWE-326 Inadequate Encryption Strength

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

Impact on systems

ScopeImpact
Access Control, Confidentiality Bypass Protection Mechanism, Read Application Data
An attacker may be able to decrypt the data using brute force attacks. The attacker may have a reasonable chance of succeeding using current attack methods and resources.

How to prevent it

Architecture and Design Use an encryption scheme that is currently considered to be strong by experts in the field.

All 465 CWE-326 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org