Insecure Encryption Affecting parsel package, versions >=0.0.0


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High

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 ID SNYK-JS-PARSEL-543171
  • published 22 Jan 2020
  • disclosed 22 Jan 2020
  • credit Salesforce Product Security

How to fix?

There is no fixed version for parsel.

Overview

parsel is a library that allows you to encrypt and decrypt data with a given key.

Affected versions of this package are vulnerable to Insecure Encryption. In cases where an initialisation vector is not supplied to the encrypt or decrypt call in parsel.rb, the initialisation vector used by the library is set to the hardcoded value in L10 of config.rb. This makes the cipher vulnerable to chosen plaintext attacks and data leakage within the first block.