ECDSA Timing Side-Channel Vulnerability in OpenSSL Package

openssl Updated 02 Oct 2025

Summary

20/01/2025
N/A
Yes i
Unrated
Not published

ALPINE-CVE-2024-13176: Issue summary: A timing side-channel which could potentially allow recovering the private key exists in the ECDSA signature computation. Affects openssl versions < 3.1.8-r0. Fixed in 3.1.8-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OpenSSL is a widely-used cryptographic library that provides secure communication over networks. It implements various cryptographic algorithms and protocols, including SSL and TLS. The library is essential for ensuring data integrity and confidentiality in applications. However, certain versions of OpenSSL are vulnerable to a timing side-channel attack during ECDSA signature computations, which could potentially expose private keys.

Vulnerability Detail

The vulnerability arises from a timing side-channel in the ECDSA signature computation process. An attacker could exploit this timing information to recover the private key, provided they have local access to the signing application or a fast network connection with low latency. The issue is particularly pronounced with the NIST P-521 elliptic curve, where a timing signal of approximately 300 nanoseconds can leak information about the nonce value used in the signature. This vulnerability is classified as low severity due to the specific conditions required for exploitation.

How To Fix

Minimum fixed version

3.1.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade openssl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider isolating the application from untrusted networks and limiting access to the signing process to trusted users only. Additionally, using alternative elliptic curves that are not affected by this timing issue may mitigate the risk.

Conclusion

The ECDSA timing side-channel vulnerability in OpenSSL poses a risk of private key exposure under certain conditions. It is crucial for users of affected versions to apply the necessary updates to mitigate this risk. Understanding the nature of the vulnerability and implementing recommended fixes or workarounds can help maintain the security of applications relying on OpenSSL.

See every vulnerability recorded for openssl →

Share this vulnerability

FAQ

It is a timing side-channel vulnerability in ECDSA signature computations that could allow an attacker to recover private keys.

Affected versions include OpenSSL in Alpine Linux v3.18, v3.19, v3.20, v3.21, and v3.22.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing the manifest file. Visit Vulert Scanner to check your application without any signup.

Consider implementing workarounds such as isolating the application from untrusted networks and limiting access to trusted users.

The vulnerability is classified as low severity due to the specific conditions required for exploitation, although it should still be addressed promptly.

Related vulnerabilities

Recent vulnerabilities recorded for openssl.

How To Fix

Minimum fixed version

3.1.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade openssl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback