Timing Attack Affecting php package, versions [,8.1.29)[8.2.0,8.2.20)[8.3.0,8.3.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHP-7251663
  • published13 Jun 2024
  • disclosed7 Jun 2024
  • creditHubert Kario

Introduced: 7 Jun 2024

CVE-2024-2408  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade php to version 8.1.29, 8.2.20, 8.3.8 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack via the implementation of the openssl_private_decrypt function. An attacker can decrypt captured ciphertexts or forge signatures by exploiting timing differences in the decryption process (Marvin Attack). This is only exploitable if the attacker can send numerous crafted ciphertexts to the decryption function and measure the response times accurately.

Note:

PHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability.

CVSS Scores

version 3.1