Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2PHP8.1-2024-005

Active Important

ALAS2PHP8.1-2024-005 (important): php

Published
24 Jun 2024
Updated
24 Jun 2024

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
CVE
CVE-2024-2408
CVE-2024-2756
CVE-2024-3096
CVE-2024-5458

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

Read full publisher description 1997 characters

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. (CVE-2024-2408) The vulnerability allows a remote attacker to bypass implemented security restrictions. The vulnerability exists due to the way PHP handles HTTP variable names. A remote attacker can set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications. Note, the vulnerability exists due to incomplete fix for #VU67756 (CVE-2022-31629). (CVE-2024-2756) The vulnerability allows a remote attacker to bypass authentication process. The vulnerability exists due to an error in within the password_verify() function, which can erroneously return true. A remote attacker can bypass implemented authentication based on the vulnerable function and gain unauthorized access to the web application. (CVE-2024-3096) In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly. (CVE-2024-5458)

Solution

Run yum update php or yum update --advisory ALAS2PHP8.1-2024-005 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

3

Shared package data

Applies to all 3 occurrences
  1. 1php

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • php-8.1.29-1.amzn2.aarch64
    • php-cli-8.1.29-1.amzn2.aarch64
    • php-dbg-8.1.29-1.amzn2.aarch64
    • php-fpm-8.1.29-1.amzn2.aarch64
    • php-common-8.1.29-1.amzn2.aarch64
    • php-devel-8.1.29-1.amzn2.aarch64
    • php-opcache-8.1.29-1.amzn2.aarch64
    • php-ldap-8.1.29-1.amzn2.aarch64
    • php-pdo-8.1.29-1.amzn2.aarch64
    • php-mysqlnd-8.1.29-1.amzn2.aarch64
    • php-pgsql-8.1.29-1.amzn2.aarch64
    • php-process-8.1.29-1.amzn2.aarch64
    • php-odbc-8.1.29-1.amzn2.aarch64
    • php-soap-8.1.29-1.amzn2.aarch64
    • php-snmp-8.1.29-1.amzn2.aarch64
    • php-xml-8.1.29-1.amzn2.aarch64
    • php-mbstring-8.1.29-1.amzn2.aarch64
    • php-gd-8.1.29-1.amzn2.aarch64
    • php-bcmath-8.1.29-1.amzn2.aarch64
    • php-gmp-8.1.29-1.amzn2.aarch64
    • php-dba-8.1.29-1.amzn2.aarch64
    • php-embedded-8.1.29-1.amzn2.aarch64
    • php-pspell-8.1.29-1.amzn2.aarch64
    • php-intl-8.1.29-1.amzn2.aarch64
    • php-enchant-8.1.29-1.amzn2.aarch64
    • php-sodium-8.1.29-1.amzn2.aarch64
    • php-debuginfo-8.1.29-1.amzn2.aarch64
  2. 2php

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • php-8.1.29-1.amzn2.src
  3. 3php

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • php-8.1.29-1.amzn2.x86_64
    • php-cli-8.1.29-1.amzn2.x86_64
    • php-dbg-8.1.29-1.amzn2.x86_64
    • php-fpm-8.1.29-1.amzn2.x86_64
    • php-common-8.1.29-1.amzn2.x86_64
    • php-devel-8.1.29-1.amzn2.x86_64
    • php-opcache-8.1.29-1.amzn2.x86_64
    • php-ldap-8.1.29-1.amzn2.x86_64
    • php-pdo-8.1.29-1.amzn2.x86_64
    • php-mysqlnd-8.1.29-1.amzn2.x86_64
    • php-pgsql-8.1.29-1.amzn2.x86_64
    • php-process-8.1.29-1.amzn2.x86_64
    • php-odbc-8.1.29-1.amzn2.x86_64
    • php-soap-8.1.29-1.amzn2.x86_64
    • php-snmp-8.1.29-1.amzn2.x86_64
    • php-xml-8.1.29-1.amzn2.x86_64
    • php-mbstring-8.1.29-1.amzn2.x86_64
    • php-gd-8.1.29-1.amzn2.x86_64
    • php-bcmath-8.1.29-1.amzn2.x86_64
    • php-gmp-8.1.29-1.amzn2.x86_64
    • php-dba-8.1.29-1.amzn2.x86_64
    • php-embedded-8.1.29-1.amzn2.x86_64
    • php-pspell-8.1.29-1.amzn2.x86_64
    • php-intl-8.1.29-1.amzn2.x86_64
    • php-enchant-8.1.29-1.amzn2.x86_64
    • php-sodium-8.1.29-1.amzn2.x86_64
    • php-debuginfo-8.1.29-1.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

8
  • CVE-2024-2408 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-2408
  • CVE-2024-2756 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-2756
  • CVE-2024-3096 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-3096
  • CVE-2024-5458 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-5458
  • CVE-2024-2408 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2408
  • CVE-2024-2756 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2756
  • CVE-2024-3096 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-3096
  • CVE-2024-5458 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-5458

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2PHP8.1-2024-005.htmlUnknownbc91d407c62f14fe8f8b3771b9fcbf5950dec3e7c71f0258b0a404b5e5b38226amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2PHP8.1-2024-005.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2PHP8.1-2024-005.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected