CVE-2014-3570
NoneCVSS
—
EPSS
21.9%
Published
Jan 9, 2015
CISA due date
—
Cloudanix analysis
A long-standing math error in the encryption library used by some phone systems could let attackers guess secrets that should stay protected, so updating the software removes the problem.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The BN_sqr function in affected OpenSSL versions miscalculates the square of a BIGNUM value due to implementation errors in assembly and C code paths, which can weaken cryptographic operations relying on correct modular arithmetic.
Why it matters to the business
Organizations using vulnerable Asterisk deployments on Debian may face increased risk of cryptographic bypass leading to exposure of sensitive call data or authentication material, though the flaw's age and lack of known exploitation reduce immediate operational disruption.
How an attack unfolds
An attacker identifies a target using the vulnerable OpenSSL BN_sqr implementation, then supplies specially crafted inputs during cryptographic operations such as key exchange or signature verification to exploit the incorrect squaring result and reduce the effectiveness of the protection mechanism.
How to fix it
Upgrade Asterisk on Debian 11 to version 1:13.7.2~dfsg-1 or later; rebuild any custom packages linking against the fixed OpenSSL libraries and restart affected services.
How to confirm the fix worked
Verify the installed Asterisk package version matches or exceeds the fixed release, confirm OpenSSL library integrity via package manager checksums, and test cryptographic operations with known-good BIGNUM test vectors.
Typical attack path
- Scan for services exposing OpenSSL-dependent cryptographic functions
- Craft and deliver inputs that trigger the BN_sqr miscalculation during BIGNUM operations
- Observe or manipulate the weakened cryptographic output to bypass protections
- Escalate to information disclosure or further attack stages
How to detect it
Examine application and system logs for anomalous cryptographic failures or repeated BIGNUM-related errors around the time of suspected attacks; correlate with network traffic showing unusual key exchange patterns in Asterisk SIP or TLS sessions.
What your security team should do
- Prioritize upgrade of all Asterisk instances to the specified fixed version within standard change windows
- Review dependency chains for other packages using the vulnerable OpenSSL BN_sqr code
- Monitor EPSS and KEV updates given the stable but non-zero exploit probability score
The record
The BN_sqr implementation in OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k does not properly calculate the square of a BIGNUM value, which might make it easier for remote attackers to defeat cryptographic protection mechanisms via unspecified vectors, related to crypto/bn/asm/mips.pl, crypto/bn/asm/x86_64-gcc.c, and crypto/bn/bn_asm.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | openssl | 0 | 1.0.1k-1 |
| Debian:12 | openssl | 0 | 1.0.1k-1 |
| Debian:13 | openssl | 0 | 1.0.1k-1 |
| Debian:6.0 | openssl | 0 | 0.9.8o-4squeeze19 |
| Debian:7 | openssl | 0 | 1.0.1e-2+deb7u14 |
| Mageia:4 | openssl | 0 | 1.0.1k-1.mga4 |
| Red Hat:enterprise_linux:6::client | openssl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::client | openssl-debuginfo | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::client | openssl-devel | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::client | openssl-perl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::client | openssl-static | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::computenode | openssl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::computenode | openssl-debuginfo | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::computenode | openssl-devel | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::computenode | openssl-perl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::computenode | openssl-static | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::server | openssl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::server | openssl-debuginfo | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::server | openssl-devel | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::server | openssl-perl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::server | openssl-static | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::workstation | openssl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::workstation | openssl-debuginfo | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::workstation | openssl-devel | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::workstation | openssl-perl | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:6::workstation | openssl-static | 0 | 0:1.0.1e-30.el6_6.5 |
| Red Hat:enterprise_linux:7::client | openssl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::client | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::client | openssl-devel | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::client | openssl-libs | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::client | openssl-perl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::client | openssl-static | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl-devel | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl-libs | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl-perl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::computenode | openssl-static | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl-devel | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl-libs | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl-perl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::server | openssl-static | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl-debuginfo | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl-devel | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl-libs | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl-perl | 0 | 1:1.0.1e-34.el7_0.7 |
| Red Hat:enterprise_linux:7::workstation | openssl-static | 0 | 1:1.0.1e-34.el7_0.7 |
| SUSE:Linux Enterprise Desktop 12 | compat-openssl098 | 0 | 0.9.8j-70.2 |
| SUSE:Linux Enterprise Desktop 12 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Desktop 12 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Module for Legacy 12 | compat-openssl098 | 0 | 0.9.8j-70.2 |
| SUSE:Linux Enterprise Server 12 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server 12 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Server 12 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server 12 SP1 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server 12 SP1 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Server 12 SP1 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Software Development Kit 12 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | libqt4-devel-doc | 0 | 4.8.6-7.3 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | libqt4 | 0 | 4.8.6-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | libqt4-sql-plugins | 0 | 4.8.6-7.1 |
| Ubuntu:14.04:LTS | openssl | 0 | 1.0.1f-1ubuntu2.8 |
| openSUSE:Tumbleweed | libressl | 0 | 2.5.0-1.1 |
| openSUSE:Tumbleweed | openssl-1_1 | 0 | 1.1.1l-1.2 |
Related vulnerabilities
- CVE-2024-13176 Issue summary: A timing side-channel which could potentially allow recovering the private… Also affects openssl
- CVE-2024-4741 Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be… Also affects openssl
- CVE-2024-9143 Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit… Also affects openssl
- CVE-2024-5535 Issue summary: Calling the OpenSSL API function SSL_select_next_proto with an empty… Also affects openssl
- CVE-2024-2511 Issue summary: Some non-default TLS server configurations can cause unbounded memory… Also affects openssl
- CVE-2024-0727 Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash… Also affects openssl
- CVE-2023-5678 Issue summary: Generating excessively long X9.42 DH keys or checking excessively long… Also affects openssl
- CVE-2022-0778 The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can… Also affects openssl