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

CVE-2016-7798

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – High

Description

The openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key, which makes it easier for context-dependent attackers to bypass the encryption protection mechanism.

Affected products

VendorProductVersionPlatform
debian debian linux 8.0 –
debian debian linux 9.0 –
ruby-lang openssl < 2.0.0 ruby

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