GitHub Advisory Database
GHSA-4c4w-3q45-hp9j
Aescrypt does not sufficiently use random values
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | aescrypt | All versions up to and including 1.0.0 |