CVE catalog

CVE-2016-7798

ruby-attr-encrypted: CVE-2016-7798

[CVE catalog]

Severity
Low · CVSS 3.7CVSS: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.

DistributionPackageReleaseVersionStatus
Debianruby-encryptorsid3.0.0-3fixed
Debianruby-encryptorforky3.0.0-3fixed
Debianruby-encryptortrixie3.0.0-2fixed
Debianruby-encryptorbookworm3.0.0-2fixed
Debianruby-attr-encryptedsid4.2.0-1fixed
Debianruby-attr-encryptedforky4.2.0-1fixed
Debianruby-attr-encryptedtrixie4.1.0-1fixed
Debianruby-attr-encryptedbookworm3.1.0-4fixed
Ubunturuby1.9.114.041.9.3.194-8.1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.3fixed
Ubunturuby2.014.042.0.0.299-2vulnerable
Ubunturuby2.014.042.0.0.343-1vulnerable
Ubunturuby2.014.042.0.0.343-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.353-1vulnerable
Ubunturuby2.014.042.0.0.353-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.4fixed
Ubunturuby2.316.042.3.0-1vulnerable
Ubunturuby2.316.042.3.0-2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu3vulnerable
Ubunturuby2.316.042.3.0-5ubuntu1vulnerable
Ubunturuby2.316.042.3.1-2~16.04vulnerable
Ubunturuby2.316.042.3.1-2~16.04.2fixed
Ubunturuby1.9.114.041.9.3.194-8.1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.3fixed
Ubunturuby2.014.042.0.0.299-2vulnerable
Ubunturuby2.014.042.0.0.343-1vulnerable
Ubunturuby2.014.042.0.0.343-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.353-1vulnerable
Ubunturuby2.014.042.0.0.353-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.4fixed
Ubunturuby2.316.042.3.0-1vulnerable
Ubunturuby2.316.042.3.0-2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu3vulnerable
Ubunturuby2.316.042.3.0-5ubuntu1vulnerable
Ubunturuby2.316.042.3.1-2~16.04vulnerable
Ubunturuby2.316.042.3.1-2~16.04.2fixed
Ubunturuby-attr-encrypted16.041.3.4-1vulnerable
Ubunturuby-encryptor16.041.3.0-1vulnerable
Ubunturuby-encryptor16.042.0.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-encryptorsourcesid3.0.0-1not yet assignedNot reportedNot reported
Debianruby-encryptorsourceforky3.0.0-1not yet assignedNot reportedNot reported
Debianruby-encryptorsourcetrixie3.0.0-1not yet assignedNot reportedNot reported
Debianruby-encryptorsourcebookworm3.0.0-1not yet assignedNot reportedNot reported
Debianruby-attr-encryptedsourcesid3.0.1-2not yet assignedNot reportedNot reported
Debianruby-attr-encryptedsourceforky3.0.1-2not yet assignedNot reportedNot reported
Debianruby-attr-encryptedsourcetrixie3.0.1-2not yet assignedNot reportedNot reported
Debianruby-attr-encryptedsourcebookworm3.0.1-2not yet assignedNot reportedNot reported
Ubunturuby1.9.1deb14.041.9.3.484-2ubuntu1.3Not reportedUSN-3365-1Not reported
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.4Not reportedUSN-3365-1Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.2Not reportedUSN-3365-1Not reported
Ubunturuby1.9.1deb14.041.9.3.484-2ubuntu1.3Not reportedUBUNTU-CVE-2016-7798Not reported
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.4Not reportedUBUNTU-CVE-2016-7798Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.2Not reportedUBUNTU-CVE-2016-7798Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 3.1.0-4 · all · bookworm

      Fixed · Fixed: 3.0.1-2

      dsa · ruby-attr-encrypted · debian · bookworm; dsa · ruby-attr-encrypted · debian · 12

    • 3.1.0-4 · all · bookworm

      Fixed · Fixed: 3.0.1-2

      dsa · ruby-attr-encrypted · debian · bookworm; dsa · ruby-attr-encrypted · debian · 12

  • Details (2)
    • 3.0.0-2 · all · bookworm

      Fixed · Fixed: 3.0.0-1

      dsa · ruby-encryptor · debian · bookworm; dsa · ruby-encryptor · debian · 12

    • 3.0.0-2 · all · bookworm

      Fixed · Fixed: 3.0.0-1

      dsa · ruby-encryptor · debian · bookworm; dsa · ruby-encryptor · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 4.1.0-1 · all · trixie

      Fixed · Fixed: 3.0.1-2

      dsa · ruby-attr-encrypted · debian · 13

    • 4.1.0-1 · all · trixie

      Fixed · Fixed: 3.0.1-2

      dsa · ruby-attr-encrypted · debian · 13

  • Details (2)
    • 3.0.0-2 · all · trixie

      Fixed · Fixed: 3.0.0-1

      dsa · ruby-encryptor · debian · 13

    • 3.0.0-2 · all · trixie

      Fixed · Fixed: 3.0.0-1

      dsa · ruby-encryptor · debian · 13

Observed:

References