Advisory Published

USN-6757-1: PHP vulnerabilities

First published: Mon Apr 29 2024(Updated: )

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.1<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/php8.1<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/php8.1-cgi<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/php8.1-cli<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/php8.1-fpm<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/php8.1-xml<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu=22.04
All of
ubuntu/libapache2-mod-php7.4<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/php7.4<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/php7.4-cgi<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/php7.4-cli<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/php7.4-fpm<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/php7.4-xml<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu=20.04
All of
ubuntu/libapache2-mod-php7.2<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/php7.2<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/php7.2-cgi<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/php7.2-cli<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/php7.2-fpm<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/php7.2-xml<7.2.24-0ubuntu0.18.04.17+esm3
7.2.24-0ubuntu0.18.04.17+esm3
Ubuntu=18.04
All of
ubuntu/libapache2-mod-php7.0<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.04
All of
ubuntu/php7.0<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.04
All of
ubuntu/php7.0-cgi<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.04
All of
ubuntu/php7.0-cli<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.04
All of
ubuntu/php7.0-fpm<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.04
All of
ubuntu/php7.0-xml<7.0.33-0ubuntu0.16.04.16+esm9
7.0.33-0ubuntu0.16.04.16+esm9
Ubuntu=16.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-1?

    The severity of USN-6757-1 is categorized as high due to the potential for remote code execution and service disruption.

  • How do I fix USN-6757-1?

    To fix USN-6757-1, update your PHP packages to the latest versions specified in the advisory.

  • What versions of PHP are affected by USN-6757-1?

    USN-6757-1 affects PHP versions 7.0, 7.2, 7.4, and 8.1 specifically in Ubuntu 16.04, 18.04, 20.04, and 22.04.

  • Is USN-6757-1 applicable to systems other than Ubuntu?

    No, USN-6757-1 specifically applies to Ubuntu systems, particularly versions 16.04, 18.04, 20.04, and 22.04.

  • What is the CVE associated with USN-6757-1?

    The CVE associated with USN-6757-1 is CVE-2022-4900, which details the vulnerability affecting PHP.

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