{"id":"GHSA-vfcg-5ggc-3rxx","summary":"Elixir can leak information due to weak use of crypto","details":"Elixir prior to and including 0.7.1 uses Blowfish in CFB mode without constructing a unique initialization vector (IV), which makes it easier for context-dependent users to obtain sensitive information and decrypt the database. A patch has been [attached](https://sochotni.fedorapeople.org/python-elixir-aes-encryption-addition.patch) to the initial advisory to mitigate this vulnerability.","aliases":["CVE-2012-2146","PYSEC-2012-13"],"modified":"2024-09-20T17:08:55.896518Z","published":"2022-05-17T05:25:05Z","database_specific":{"github_reviewed_at":"2024-05-01T11:17:51Z","nvd_published_at":"2012-08-26T21:55:00Z","cwe_ids":["CWE-327"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2146"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=810013"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/elixir/PYSEC-2012-13.yaml"},{"type":"WEB","url":"http://elixir.ematia.de/trac/ticket/119"},{"type":"WEB","url":"http://groups.google.com/group/sqlelixir/browse_thread/thread/efc16227514cffa?pli=1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/04/27/8"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/04/28/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/04/29/1"}],"affected":[{"package":{"name":"elixir","ecosystem":"PyPI","purl":"pkg:pypi/elixir"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.1"}]}],"versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.7.0","0.7.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vfcg-5ggc-3rxx/GHSA-vfcg-5ggc-3rxx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}