Insecure Encryption Affecting parsel package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-JS-PARSEL-543171
  • published22 Jan 2020
  • disclosed22 Jan 2020
  • creditSalesforce Product Security

Introduced: 22 Jan 2020

CVE-2020-6762  (opens in a new tab)
CWE-326  (opens in a new tab)
First added by Snyk

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.

CVSS Scores

version 3.1