CVE-2012-2146: High severity elixir vulnerability

Published Apr 4, 2012
·
Updated

Elixir 0.8.0 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.

Other sources

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 to the initial advisory to mitigate this vulnerability.

GitHub

It was reported that python-elixir, a library for ORM mapping on top of SQLAlchemy with support for encrypting data stored in a database, suffers from weak use of cryptography. It uses Blowfish in CFB mode, which has an additional parameter (IV), which is not specified and thus defaults to zero. CFB mode is only secure if the the IV is unpredictable and different for every message. Because of this, and because the encryption key is shared for each database table (fields and rows), the same plaintext prefix is always encrypted to an identical and corresponding ciphertext prefix. As a result, an attacker with access to the database could figure out the plaintext values of encrypted text.

Red Hat

Affected Software

2 affected components
pip/Elixir<=0.7.1
Ematia Elixir=0.8.0

Event History

Apr 4, 2012
Data Sourced
via Red Hat·10:10 PM
DescriptionSeverityAffected Software
Aug 26, 2012
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
May 17, 2022
Advisory Published
via GitHub·05:25 AM

Frequently Asked Questions

1

What is the severity of CVE-2012-2146?

CVE-2012-2146 is considered a high severity vulnerability due to the potential exposure of sensitive information.

2

How do I fix CVE-2012-2146?

To fix CVE-2012-2146, upgrade Elixir to version 0.8.1 or later which addresses the vulnerability.

3

What is affected by CVE-2012-2146?

CVE-2012-2146 affects Elixir versions up to and including 0.8.0 and 0.7.1.

4

What kind of vulnerability is CVE-2012-2146?

CVE-2012-2146 is a cryptographic vulnerability related to the use of Blowfish in CFB mode without a unique initialization vector.

5

Who should be concerned about CVE-2012-2146?

Developers and organizations using affected versions of Elixir should be concerned about CVE-2012-2146 due to its impact on data security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203