Name | CVE-2016-7798 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1421-1, DSA-3966-1 |
Debian Bugs | 842432, 842544 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-attr-encrypted (PTS) | bullseye | 3.1.0-3 | fixed |
bookworm, trixie | 3.1.0-4 | fixed | |
sid | 4.1.0-1 | fixed | |
ruby-encryptor (PTS) | bookworm, bullseye, sid, trixie | 3.0.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-attr-encrypted | source | (unstable) | 3.0.1-2 | |||
ruby-encryptor | source | (unstable) | 3.0.0-1 | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u4 | DLA-1421-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | 842544 | ||
ruby2.3 | source | stretch | 2.3.3-1+deb9u1 | DSA-3966-1 | ||
ruby2.3 | source | (unstable) | 2.3.3-1+deb9u1 | 842432 |
https://github.com/ruby/openssl/issues/49
https://github.com/ruby/openssl/commit/8108e0a6db133f3375608303fdd2083eb5115062
https://github.com/attr-encrypted/attr_encrypted/issues/203
https://github.com/attr-encrypted/encryptor/pull/22