
CVE catalog
CVE-2016-7798
ruby-attr-encrypted: CVE-2016-7798
- Severity
- Low · CVSS 3.7
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.17% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-encryptor | sid | 3.0.0-3 | fixed |
| Debian | ruby-encryptor | forky | 3.0.0-3 | fixed |
| Debian | ruby-encryptor | trixie | 3.0.0-2 | fixed |
| Debian | ruby-encryptor | bookworm | 3.0.0-2 | fixed |
| Debian | ruby-attr-encrypted | sid | 4.2.0-1 | fixed |
| Debian | ruby-attr-encrypted | forky | 4.2.0-1 | fixed |
| Debian | ruby-attr-encrypted | trixie | 4.1.0-1 | fixed |
| Debian | ruby-attr-encrypted | bookworm | 3.1.0-4 | fixed |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.3 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | fixed |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.3 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | fixed |
| Ubuntu | ruby-attr-encrypted | 16.04 | 1.3.4-1 | vulnerable |
| Ubuntu | ruby-encryptor | 16.04 | 1.3.0-1 | vulnerable |
| Ubuntu | ruby-encryptor | 16.04 | 2.0.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-encryptor | source | sid | 3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-encryptor | source | forky | 3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-encryptor | source | trixie | 3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-encryptor | source | bookworm | 3.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-attr-encrypted | source | sid | 3.0.1-2 | not yet assigned | Not reported | Not reported |
| Debian | ruby-attr-encrypted | source | forky | 3.0.1-2 | not yet assigned | Not reported | Not reported |
| Debian | ruby-attr-encrypted | source | trixie | 3.0.1-2 | not yet assigned | Not reported | Not reported |
| Debian | ruby-attr-encrypted | source | bookworm | 3.0.1-2 | not yet assigned | Not reported | Not reported |
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.484-2ubuntu1.3 | Not reported | USN-3365-1 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.4 | Not reported | USN-3365-1 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.2 | Not reported | USN-3365-1 | Not reported |
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.484-2ubuntu1.3 | Not reported | UBUNTU-CVE-2016-7798 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.4 | Not reported | UBUNTU-CVE-2016-7798 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.2 | Not reported | UBUNTU-CVE-2016-7798 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-attr-encrypted]Fixed
Details (2)
3.1.0-4· all · bookwormFixed · Fixed:
3.0.1-2dsa · ruby-attr-encrypted · debian · bookworm; dsa · ruby-attr-encrypted · debian · 12
3.1.0-4· all · bookwormFixed · Fixed:
3.0.1-2dsa · ruby-attr-encrypted · debian · bookworm; dsa · ruby-attr-encrypted · debian · 12
- [ruby-encryptor]Fixed
Details (2)
3.0.0-2· all · bookwormFixed · Fixed:
3.0.0-1dsa · ruby-encryptor · debian · bookworm; dsa · ruby-encryptor · debian · 12
3.0.0-2· all · bookwormFixed · Fixed:
3.0.0-1dsa · ruby-encryptor · debian · bookworm; dsa · ruby-encryptor · debian · 12
[Debian 13 (Trixie)]
- [ruby-attr-encrypted]Fixed
Details (2)
4.1.0-1· all · trixieFixed · Fixed:
3.0.1-2dsa · ruby-attr-encrypted · debian · 13
4.1.0-1· all · trixieFixed · Fixed:
3.0.1-2dsa · ruby-attr-encrypted · debian · 13
- [ruby-encryptor]Fixed
Details (2)
3.0.0-2· all · trixieFixed · Fixed:
3.0.0-1dsa · ruby-encryptor · debian · 13
3.0.0-2· all · trixieFixed · Fixed:
3.0.0-1dsa · ruby-encryptor · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2020_1570-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-7798]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-7798]
- [https://osv.dev/vulnerability/USN-3365-1]
- [https://security-tracker.debian.org/tracker/CVE-2016-7798]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-7798.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]