RubySec

Providing security resources for the Ruby community

CVE-2013-7463 (aescrypt): Vulnerability in aescrypt because IV is not randomized

ADVISORIES

GEM

aescrypt

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

None.

DESCRIPTION

The aescrypt gem 1.0.0 for Ruby does not randomize the CBC IV for use with the AESCrypt.encrypt and AESCrypt.decrypt functions, which allows attackers to defeat cryptographic protection mechanisms via a chosen plaintext attack.