{"id":"CVE-2013-7463","aliases":["EUVD-2017-0161","GHSA-4c4w-3q45-hp9j"],"status":"published","title":"Aescrypt does not sufficiently use random values","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01148,"percentile":0.66989,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-330"],"published":"2017-04-19T17:00:00Z","modified":"2026-06-17T00:02:00Z","affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"aescrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"aescrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["1.0.0"]}],"products":[{"vendor":"aescrypt_project","product":"aescrypt"}],"references":[{"url":"https://github.com/Gurpartap/aescrypt/issues/4","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://www.securityfocus.com/bid/98035","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-7463","tags":["advisory"]},{"url":"https://web.archive.org/web/20200227173428/http://www.securityfocus.com/bid/98035","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/aescrypt/CVE-2013-7463.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4c4w-3q45-hp9j"},{"url":"https://github.com/Gurpartap/aescrypt","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-7463","description":"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.","status":"published","published":"2017-04-19T17:00:00Z","modified":"2024-08-06T18:09:16.643Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2017-0161","description":"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.","status":"published","published":"2017-04-19T17:00:00Z","modified":"2024-08-06T18:09:16Z","updated_at":"2026-11-03T01:56:23.098352Z"}],"ghsa":[{"id":"GHSA-4c4w-3q45-hp9j","title":"Aescrypt does not sufficiently use random values","description":"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.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-07-31T20:55:49Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T14:36:58.760727Z"}],"nvd":[{"id":"CVE-2013-7463","description":"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.","status":"published","published":"2017-04-19T17:59:00.143Z","modified":"2026-06-17T00:02:00.667Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T14:02:51.408338Z"}],"osv":[{"id":"GHSA-4c4w-3q45-hp9j","title":"Aescrypt does not sufficiently use random values","description":"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.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2024-02-16T08:20:16.303645Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T15:46:36.782754Z"}]}}
