{"id":"GHSA-5v7r-jg9r-vq44","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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.0 or later.","modified":"2021-09-29T20:08:01Z","published":"2020-09-03T21:19:46Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:51:22Z","nvd_published_at":null,"cwe_ids":["CWE-327"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/danang-id/simple-crypto-js/issues/12"},{"type":"WEB","url":"https://github.com/danang-id/simple-crypto-js/pull/17"},{"type":"WEB","url":"https://github.com/danang-id/simple-crypto-js/commit/416584369de1dad9b21ac3fe85df0b71cf5718b2"},{"type":"PACKAGE","url":"https://github.com/danang-id/simple-crypto-js"},{"type":"WEB","url":"https://robertheaton.com/2013/07/29/padding-oracle-attack"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SIMPLECRYPTOJS-544027"}],"affected":[{"package":{"name":"simple-crypto-js","ecosystem":"npm","purl":"pkg:npm/simple-crypto-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}