VDB

CVE-2016-7798

CVE-2016-7798 PUBLISHED CVSS 7.5 HIGH

OpenSSL gem for Ruby using inadequate encryption strength

Reported by mitre · Published January 30, 2017

openssl is fixed in 2.0.0 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensslRubyGems2.0.0
ruby2.3Ubuntu:16.04:LTS2.3.1-2~16.04.2
ruby1.9.1Ubuntu:14.04:LTS1.9.3.484-2ubuntu1.3
opensslruby-lang2.0.0

Risk scores

CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
RubyGemsopenssl0

Timeline

  • Jan 30, 2017 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (3 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-7798
vulnetix vdb fixes CVE-2016-7798

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-7798/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›