USN-6757-1: PHP vulnerabilities

Published Apr 29, 2024
·
Updated

It was discovered that PHP incorrectly handled PHPCLISERVERWORKERS 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 Software

48 affected componentsFixes available
All of the following
ubuntu/libapache2-mod-php8.1<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php8.1<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php8.1-cgi<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php8.1-cli<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php8.1-fpm<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/php8.1-xml<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libapache2-mod-php7.4<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/php7.4<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/php7.4-cgi<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/php7.4-cli<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/php7.4-fpm<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/php7.4-xml<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libapache2-mod-php7.2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/php7.2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/php7.2-cgi<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/php7.2-cli<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/php7.2-fpm<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/php7.2-xml<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libapache2-mod-php7.0<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-cgi<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-cli<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-fpm<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/php7.0-xml<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libapache2-mod-php8.1 to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  2. Upgrade

    Upgrade ubuntu/php8.1 to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  3. Upgrade

    Upgrade ubuntu/php8.1-cgi to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  4. Upgrade

    Upgrade ubuntu/php8.1-cli to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  5. Upgrade

    Upgrade ubuntu/php8.1-fpm to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  6. Upgrade

    Upgrade ubuntu/php8.1-xml to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.16
  7. Upgrade

    Upgrade ubuntu/libapache2-mod-php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  8. Upgrade

    Upgrade ubuntu/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  9. Upgrade

    Upgrade ubuntu/php7.4-cgi to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  10. Upgrade

    Upgrade ubuntu/php7.4-cli to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  11. Upgrade

    Upgrade ubuntu/php7.4-fpm to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  12. Upgrade

    Upgrade ubuntu/php7.4-xml to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.21
  13. Upgrade

    Upgrade ubuntu/libapache2-mod-php7.2 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  14. Upgrade

    Upgrade ubuntu/php7.2 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  15. Upgrade

    Upgrade ubuntu/php7.2-cgi to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  16. Upgrade

    Upgrade ubuntu/php7.2-cli to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  17. Upgrade

    Upgrade ubuntu/php7.2-fpm to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  18. Upgrade

    Upgrade ubuntu/php7.2-xml to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  19. Upgrade

    Upgrade ubuntu/libapache2-mod-php7.0 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  20. Upgrade

    Upgrade ubuntu/php7.0 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  21. Upgrade

    Upgrade ubuntu/php7.0-cgi to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  22. Upgrade

    Upgrade ubuntu/php7.0-cli to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  23. Upgrade

    Upgrade ubuntu/php7.0-fpm to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  24. Upgrade

    Upgrade ubuntu/php7.0-xml to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Apr 29, 2024
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

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.

2

How do I fix USN-6757-1?

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

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203