GHSA-5v7r-jg9r-vq44

Suggest an improvement
Source
https://github.com/advisories/GHSA-5v7r-jg9r-vq44
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5v7r-jg9r-vq44/GHSA-5v7r-jg9r-vq44.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5v7r-jg9r-vq44
Published
2020-09-03T21:19:46Z
Modified
2021-09-29T20:08:01Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Insecure Cryptography Algorithm in simple-crypto-js
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-327"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:51:22Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / simple-crypto-js

Package

Name
simple-crypto-js
View open source insights on deps.dev
Purl
pkg:npm/simple-crypto-js

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5v7r-jg9r-vq44/GHSA-5v7r-jg9r-vq44.json"