CVE-2016-7798: Weak Encryption

Published Jan 30, 2017
·
Updated

Last updated 24 July 2024

Other sources

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 Software

7 affected componentsFixes available
ruby-lang Openssl Ruby<2.0.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/ruby-attr-encrypted
3.0.1-2
debian/ruby-encryptor
3.0.0-1
debian/ruby2.1
2.1.5-2+deb8u4
debian/ruby2.3
2.3.3-1+deb9u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ruby-attr-encrypted to a version that resolves this vulnerability.

    Fixed in 3.0.1-2
  2. Upgrade

    Upgrade debian/ruby-encryptor to a version that resolves this vulnerability.

    Fixed in 3.0.0-1
  3. Upgrade

    Upgrade debian/ruby2.1 to a version that resolves this vulnerability.

    Fixed in 2.1.5-2+deb8u4
  4. Upgrade

    Upgrade debian/ruby2.3 to a version that resolves this vulnerability.

    Fixed in 2.3.3-1+deb9u1

Event History

Jan 30, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Nov 5, 2020
Data Sourced
02:56 PM
Weakness
Data Sourced
via NVD·02:56 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:56 PM
Affected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-7798?

CVE-2016-7798 is categorized with a high severity due to its impact on encryption integrity.

2

How do I fix CVE-2016-7798?

To fix CVE-2016-7798, update the Ruby openssl gem to versions that address the vulnerability.

3

Which software is affected by CVE-2016-7798?

CVE-2016-7798 affects the openssl gem in Ruby and specifically certain versions of ruby-attr-encrypted and ruby-encryptor packages.

4

What could potentially happen if CVE-2016-7798 is exploited?

If exploited, CVE-2016-7798 could allow attackers to bypass the encryption protection mechanism, compromising sensitive data.

5

Is CVE-2016-7798 still a concern today?

Yes, CVE-2016-7798 remains a concern, especially in legacy systems using vulnerable versions of the software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203