CVE & CISA-KEV Catalog

CVE-2024-2408

MEDIUM
5.9
CVSS v3
NVD

Description

The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. 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.

How to fix

Remediation Available
opensslRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
opensslRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-debuginfoRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-debuginfoRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-debugsourceRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-debugsourceRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-develRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-develRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-libsRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-libsRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-libs-debuginfoRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-libs-debuginfoRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-perlRocky
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
openssl-perlRed Hat / RHEL
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877
Fixed in:1:1.1.1k-12.el8_9RHSA-2023:7877

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

1.16%probability of exploitation in 30 days
63rdpercentile

Moderate risk: more likely to be exploited than 63% of all known CVEs.

References

Related Vulnerabilities

Other CWE-203 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-5753Medium5.694%-Fix
CVE-2003-0190Medium5.077%-Fix
CVE-2017-5715Medium5.674%-Fix
CVE-2018-3639Medium5.561%-Fix
CVE-2023-28770High7.558%-Fix
CVE-2004-1602Medium5.031%--
Embed a live status badge for CVE-2024-2408
CVE-2024-2408 severity badge

Markdown

[![CVE-2024-2408](https://tridentstack.com/cve/badge/CVE-2024-2408.svg)](https://tridentstack.com/cve/CVE-2024-2408)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-2408"><img src="https://tridentstack.com/cve/badge/CVE-2024-2408.svg" alt="CVE-2024-2408"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-03-21.