Chosen Cyphertext Attack Affecting aescrypt package, versions >=0.0.0


Severity

Recommended
0.0
medium
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 Chosen Cyphertext Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-AESCRYPT-20370
  • published15 May 2017
  • disclosed18 Jan 2017
  • creditTony Arcieri

Introduced: 18 Jan 2017

CVE NOT AVAILABLE CWE-327  (opens in a new tab)

How to fix?

There is no fix version for aescrypt.

Overview

aescrypt is Simple AES encryption / decryption for Ruby. Affected versions of the package are vulnerable to Chosen Cyphertext Attack. Is uses an unauthenticated encryption mode (CBC) which is vulnerable to chosen ciphertext attacks, allowing active attackers to completely recover message plaintexts. It also allows attackers to make undetectable alterations to the plaintext.

References

CVSS Scores

version 3.1