Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. openssl
  4. ›
  5. CVE-2016-7798

CVE-2016-7798: Cryptographic Issues

January 30, 2017 (updated July 15, 2018)

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.

References

  • www.securityfocus.com/bid/93031
  • nvd.nist.gov/vuln/detail/CVE-2016-7798

Code Behaviors & Features

Detect and mitigate CVE-2016-7798 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-326: Inadequate Encryption Strength

Source file

gem/openssl/CVE-2016-7798.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.