Insecure Encryption The advisory has been revoked - it doesn't affect any version of package rubyzip/rubyzip  (opens in a new tab)


Threat Intelligence

EPSS
3.17% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Encryption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RUBYZIPRUBYZIP-2368647
  • published26 Jan 2022
  • disclosed30 Jan 2017
  • creditUnknown

Introduced: 30 Jan 2017

CVE-2016-7798  (opens in a new tab)
CWE-326  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Insecure Encryption. 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.