Live threats

All CVEs / Ruby-lang

CVE-2016-7798Ruby-lang Openssl

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Jan 30, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-326
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openssl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems openssl < 2.0.0 2.0.0 gem "openssl", ">= 2.0.0"

Per OSV / GitHub Advisories (GHSA-6h88-qjpv-p32m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langopenssl< 2.0.0
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.