GitHub Advisoryadvisory · npm

GHSA-5v7r-jg9r-vq44 Insecure Cryptography Algorithm in simple-crypto-js

MEDIUM Published 2020-09-03 Modified 2021-09-29 Official page ↗
Ecosystem
npm
Packages
simple-crypto-js
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-327
Reviewed
2020-08-31

Affected packages

• npm simple-crypto-js: < 2.3.0 → fixed in 2.3.0

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.

Related

Weakness · CWE (1)

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness

References