Advisory Published

USN-6757-2: PHP vulnerabilities

First published: Thu May 02 2024(Updated: )

USN-6757-1 fixed vulnerabilities in PHP. Unfortunately these fixes were incomplete for Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.10. This update fixes the problem. Original advisory details: It was discovered that PHP incorrectly handled PHP_CLI_SERVER_WORKERS variable. An attacker could possibly use this issue to cause a crash or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-4900) It was discovered that PHP incorrectly handled certain cookies. An attacker could possibly use this issue to cookie by pass. (CVE-2024-2756) It was discovered that PHP incorrectly handled some passwords. An attacker could possibly use this issue to cause an account takeover attack. (CVE-2024-3096)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libapache2-mod-php8.2<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/php8.2<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/php8.2-cgi<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/php8.2-cli<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/php8.2-fpm<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/php8.2-xml<8.2.10-2ubuntu2.1
8.2.10-2ubuntu2.1
Ubuntu=23.10
All of
ubuntu/libapache2-mod-php8.1<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/php8.1<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/php8.1-cgi<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/php8.1-cli<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/php8.1-fpm<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/php8.1-xml<8.1.2-1ubuntu2.17
8.1.2-1ubuntu2.17
Ubuntu=22.04
All of
ubuntu/libapache2-mod-php7.4<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04
All of
ubuntu/php7.4<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04
All of
ubuntu/php7.4-cgi<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04
All of
ubuntu/php7.4-cli<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04
All of
ubuntu/php7.4-fpm<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04
All of
ubuntu/php7.4-xml<7.4.3-4ubuntu2.22
7.4.3-4ubuntu2.22
Ubuntu=20.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-6757-2?

    USN-6757-2 addresses critical vulnerabilities that can lead to potential security risks in affected PHP packages.

  • How do I fix USN-6757-2?

    To resolve the vulnerabilities detailed in USN-6757-2, upgrade to the updated packages for PHP available in your Ubuntu repository.

  • Which Ubuntu versions are affected by USN-6757-2?

    USN-6757-2 affects Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.10.

  • What packages are included in USN-6757-2?

    USN-6757-2 includes updates for libapache2-mod-php, php, php-cgi, php-cli, php-fpm, and php-xml packages.

  • Is USN-6757-2 applicable for PHP 7.4 or PHP 8.1?

    Yes, USN-6757-2 applies to both PHP 7.4 and PHP 8.1 as well as PHP 8.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203