Ubuntu 6588 Published by

The following two security updates have been released for Ubuntu Linux:

[USN-6762-1] GNU C Library vulnerabilities
[USN-6757-2] PHP vulnerabilities




[USN-6762-1] GNU C Library vulnerabilities


==========================================================================
Ubuntu Security Notice USN-6762-1
May 02, 2024

eglibc, glibc vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS

Summary:

Several security issues were fixed in GNU C Library.

Software Description:
- glibc: GNU C Library
- eglibc: GNU C Library

Details:

It was discovered that GNU C Library incorrectly handled netgroup requests.
An attacker could possibly use this issue to cause a crash or execute arbitrary code.
This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9984)

It was discovered that GNU C Library might allow context-dependent
attackers to cause a denial of service. This issue only affected Ubuntu 14.04 LTS.
(CVE-2015-20109)

It was discovered that GNU C Library when processing very long pathname arguments to
the realpath function, could encounter an integer overflow on 32-bit
architectures, leading to a stack-based buffer overflow and, potentially,
arbitrary code execution. This issue only affected Ubuntu 14.04 LTS.
(CVE-2018-11236)

It was discovered that the GNU C library getcwd function incorrectly
handled buffers. An attacker could use this issue to cause the GNU C
Library to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2021-3999)

Charles Fol discovered that the GNU C Library iconv feature incorrectly
handled certain input sequences. An attacker could use this issue to cause
the GNU C Library to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2024-2961)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.04 LTS
libc6 2.27-3ubuntu1.6+esm2
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libc6 2.23-0ubuntu11.3+esm6
Available with Ubuntu Pro

Ubuntu 14.04 LTS
libc6 2.19-0ubuntu6.15+esm3
Available with Ubuntu Pro

After a standard system update you need to reboot your computer to make
all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6762-1
CVE-2014-9984, CVE-2015-20109, CVE-2018-11236, CVE-2021-3999,
CVE-2024-2961, https://launchpad.net/bugs/2063328



[USN-6757-2] PHP vulnerabilities


==========================================================================
Ubuntu Security Notice USN-6757-2
May 02, 2024

php7.4, php8.1, php8.2 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 23.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

Several security issues were fixed in PHP.

Software Description:
- php8.2: server-side, HTML-embedded scripting language (metapackage)
- php8.1: HTML-embedded scripting language interpreter
- php7.4: HTML-embedded scripting language interpreter

Details:

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 23.10
libapache2-mod-php8.2 8.2.10-2ubuntu2.1
php8.2 8.2.10-2ubuntu2.1
php8.2-cgi 8.2.10-2ubuntu2.1
php8.2-cli 8.2.10-2ubuntu2.1
php8.2-fpm 8.2.10-2ubuntu2.1
php8.2-xml 8.2.10-2ubuntu2.1

Ubuntu 22.04 LTS
libapache2-mod-php8.1 8.1.2-1ubuntu2.17
php8.1 8.1.2-1ubuntu2.17
php8.1-cgi 8.1.2-1ubuntu2.17
php8.1-cli 8.1.2-1ubuntu2.17
php8.1-fpm 8.1.2-1ubuntu2.17
php8.1-xml 8.1.2-1ubuntu2.17

Ubuntu 20.04 LTS
libapache2-mod-php7.4 7.4.3-4ubuntu2.22
php7.4 7.4.3-4ubuntu2.22
php7.4-cgi 7.4.3-4ubuntu2.22
php7.4-cli 7.4.3-4ubuntu2.22
php7.4-fpm 7.4.3-4ubuntu2.22
php7.4-xml 7.4.3-4ubuntu2.22

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6757-2
https://ubuntu.com/security/notices/USN-6757-1
CVE-2022-4900, CVE-2024-2756, CVE-2024-3096

Package Information:
https://launchpad.net/ubuntu/+source/php8.2/8.2.10-2ubuntu2.1
https://launchpad.net/ubuntu/+source/php8.1/8.1.2-1ubuntu2.17
https://launchpad.net/ubuntu/+source/php7.4/7.4.3-4ubuntu2.22