Skip to content
OpenAdvisories
Medium · 5.9 GHSA-5v7r-jg9r-vq44

Insecure Cryptography Algorithm in simple-crypto-js

Published Sep 3, 2020 · Updated Sep 29, 2021 · Assigned by GHSA

Description

Versions of `simple-crypto-js` prior to 2.3.0 use AES-CBC with PKCS#7 padding, which is vulnerable to padding oracle attacks. This may allow attackers to break the encryption and access sensitive data.

## Recommendation

Upgrade to version 2.3.0 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm simple-crypto-js < 2.3.0 2.3.0 GHSA-5v7r-jg9r-vq44

References