Category Archives: Advisories

USN-7117-1: needrestart and Module::ScanDeps vulnerabilities

Read Time:48 Second

Qualys discovered that needrestart passed unsanitized data to a library
(libmodule-scandeps-perl) which expects safe input. A local attacker could
possibly use this issue to execute arbitrary code as root.
(CVE-2024-11003)

Qualys discovered that the library libmodule-scandeps-perl incorrectly
parsed perl code. This could allow a local attacker to execute arbitrary
shell commands. (CVE-2024-10224)

Qualys discovered that needrestart incorrectly used the PYTHONPATH
environment variable to spawn a new Python interpreter. A local attacker
could possibly use this issue to execute arbitrary code as root.
(CVE-2024-48990)

Qualys discovered that needrestart incorrectly checked the path to the
Python interpreter. A local attacker could possibly use this issue to win
a race condition and execute arbitrary code as root. (CVE-2024-48991)

Qualys discovered that needrestart incorrectly used the RUBYLIB
environment variable to spawn a new Ruby interpreter. A local attacker
could possibly use this issue to execute arbitrary code as root.
(CVE-2024-48992)

Read More

USN-7115-1: Waitress vulnerabilities

Read Time:25 Second

It was discovered that Waitress could process follow up requests when
receiving a specially crafted message. An attacker could use this issue to
have the server process inconsistent client requests. This issue only
affected Ubuntu 24.04 LTS and Ubuntu 24.10.(CVE-2024-49768)

Dylan Jay discovered that Waitress could be lead to write to an unexisting
socket after closing the remote connection. An attacker could use this
issue to increase resource utilization leading to a denial of service.
(CVE-2024-49769)

Read More

php-8.3.14-1.fc41

Read Time:4 Minute, 50 Second

FEDORA-2024-3891a08c9e

Packages in this update:

php-8.3.14-1.fc41

Update description:

PHP version 8.3.14 (21 Nov 2024)

CLI:

Fixed bug GH-16373 (Shebang is not skipped for router script in cli-server started through shebang). (ilutov)
Fixed bug GHSA-4w77-75f9-2c8w (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface). (nielsdos)

COM:

Fixed out of bound writes to SafeArray data. (cmb)

Core:

Fixed bug GH-16168 (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15). (nielsdos)
Fixed bug GH-16371 (Assertion failure in Zend/zend_weakrefs.c:646). (Arnaud)
Fixed bug GH-16515 (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline). (ilutov)
Fixed bug GH-16509 (Incorrect line number in function redeclaration error). (ilutov)
Fixed bug GH-16508 (Incorrect line number in inheritance errors of delayed early bound classes). (ilutov)
Fixed bug GH-16648 (Use-after-free during array sorting). (ilutov)

Curl:

Fixed bug GH-16302 (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails). (timwolla)

Date:

Fixed bug GH-16454 (Unhandled INF in date_sunset() with tiny $utcOffset). (cmb)
Fixed bug GH-14732 (date_sun_info() fails for non-finite values). (cmb)

DBA:

Fixed bug GH-16390 (dba_open() can segfault for “pathless” streams). (cmb)

DOM:

Fixed bug GH-16316 (DOMXPath breaks when not initialized properly). (nielsdos)
Add missing hierarchy checks to replaceChild. (nielsdos)
Fixed bug GH-16336 (Attribute intern document mismanagement). (nielsdos)
Fixed bug GH-16338 (Null-dereference in ext/dom/node.c). (nielsdos)
Fixed bug GH-16473 (dom_import_simplexml stub is wrong). (nielsdos)
Fixed bug GH-16533 (Segfault when adding attribute to parent that is not an element). (nielsdos)
Fixed bug GH-16535 (UAF when using document as a child). (nielsdos)
Fixed bug GH-16593 (Assertion failure in DOM->replaceChild). (nielsdos)
Fixed bug GH-16595 (Another UAF in DOM -> cloneNode). (nielsdos)

EXIF:

Fixed bug GH-16409 (Segfault in exif_thumbnail when not dealing with a real file). (nielsdos, cmb)

FFI:

Fixed bug GH-16397 (Segmentation fault when comparing FFI object). (nielsdos)

Filter:

Fixed bug GH-16523 (FILTER_FLAG_HOSTNAME accepts ending hyphen). (cmb)

FPM:

Fixed bug GH-16628 (FPM logs are getting corrupted with this log statement). (nielsdos)

GD:

Fixed bug GH-16334 (imageaffine overflow on matrix elements). (David Carlier)
Fixed bug GH-16427 (Unchecked libavif return values). (cmb)
Fixed bug GH-16559 (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007). (nielsdos)

GMP:

Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).
Fixed bug GH-16411 (gmp_export() can cause overflow). (cmb)
Fixed bug GH-16501 (gmp_random_bits() can cause overflow). (David Carlier)
Fixed gmp_pow() overflow bug with large base/exponents. (David Carlier)
Fixed segfaults and other issues related to operator overloading with GMP objects. (Girgias)

LDAP:

Fixed bug GHSA-g665-fm4p-vhff (OOB access in ldap_escape). (CVE-2024-8932) (nielsdos)

MBstring:

Fixed bug GH-16361 (mb_substr overflow on start/length arguments). (David Carlier)

MySQLnd:

Fixed bug GHSA-h35g-vwh6-m678 (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929) (Jakub Zelenka)

Opcache:

Fixed bug GH-16408 (Array to string conversion warning emitted in optimizer). (ilutov)

OpenSSL:

Fixed bug GH-16357 (openssl may modify member types of certificate arrays). (cmb)
Fixed bug GH-16433 (Large values for openssl_csr_sign() $days overflow). (cmb)
Fix various memory leaks on error conditions in openssl_x509_parse(). (nielsdos)

PDO DBLIB:

Fixed bug GHSA-5hqh-c84r-qjcv (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236) (nielsdos)

PDO Firebird:

Fixed bug GHSA-5hqh-c84r-qjcv (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236) (nielsdos)

PDO ODBC:

Fixed bug GH-16450 (PDO_ODBC can inject garbage into field values). (cmb)

Phar:

Fixed bug GH-16406 (Assertion failure in ext/phar/phar.c:2808). (nielsdos)

PHPDBG:

Fixed bug GH-16174 (Empty string is an invalid expression for ev). (cmb)

Reflection:

Fixed bug GH-16601 (Memory leak in Reflection constructors). (nielsdos)

Session:

Fixed bug GH-16385 (Unexpected null returned by session_set_cookie_params). (nielsdos)
Fixed bug GH-16290 (overflow on cookie_lifetime ini value). (David Carlier)

SOAP:

Fixed bug GH-16318 (Recursive array segfaults soap encoding). (nielsdos)
Fixed bug GH-16429 (Segmentation fault access null pointer in SoapClient). (nielsdos)

Sockets:

Fixed bug with overflow socket_recvfrom $length argument. (David Carlier)

SPL:

Fixed bug GH-16337 (Use-after-free in SplHeap). (nielsdos)
Fixed bug GH-16464 (Use-after-free in SplDoublyLinkedList::offsetSet()). (ilutov)
Fixed bug GH-16479 (Use-after-free in SplObjectStorage::setInfo()). (ilutov)
Fixed bug GH-16478 (Use-after-free in SplFixedArray::unset()). (ilutov)
Fixed bug GH-16588 (UAF in Observer->serialize). (nielsdos)
Fix GH-16477 (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor). (Girgias)
Fixed bug GH-16589 (UAF in SplDoublyLinked->serialize()). (nielsdos)
Fixed bug GH-14687 (segfault on SplObjectIterator instance). (David Carlier)
Fixed bug GH-16604 (Memory leaks in SPL constructors). (nielsdos)
Fixed bug GH-16646 (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()). (ilutov)

Standard:

Fixed bug GH-16293 (Failed assertion when throwing in assert() callback with bail enabled). (ilutov)

Streams:

Fixed bug GHSA-c5f2-jwm7-mmq2 (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234) (Jakub Zelenka)
Fixed bug GHSA-r977-prxv-hc43 (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233) (nielsdos)

SysVMsg:

Fixed bug GH-16592 (msg_send() crashes when a type does not properly serialized). (David Carlier / cmb)

SysVShm:

Fixed bug GH-16591 (Assertion error in shm_put_var). (nielsdos, cmb)

XMLReader:

Fixed bug GH-16292 (Segmentation fault in ext/xmlreader/php_xmlreader.c). (nielsdos)

Zlib:

Fixed bug GH-16326 (Memory management is broken for bad dictionaries.) (cmb)

Read More

php-8.3.14-1.fc40

Read Time:4 Minute, 50 Second

FEDORA-2024-e0d390d35b

Packages in this update:

php-8.3.14-1.fc40

Update description:

PHP version 8.3.14 (21 Nov 2024)

CLI:

Fixed bug GH-16373 (Shebang is not skipped for router script in cli-server started through shebang). (ilutov)
Fixed bug GHSA-4w77-75f9-2c8w (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface). (nielsdos)

COM:

Fixed out of bound writes to SafeArray data. (cmb)

Core:

Fixed bug GH-16168 (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15). (nielsdos)
Fixed bug GH-16371 (Assertion failure in Zend/zend_weakrefs.c:646). (Arnaud)
Fixed bug GH-16515 (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline). (ilutov)
Fixed bug GH-16509 (Incorrect line number in function redeclaration error). (ilutov)
Fixed bug GH-16508 (Incorrect line number in inheritance errors of delayed early bound classes). (ilutov)
Fixed bug GH-16648 (Use-after-free during array sorting). (ilutov)

Curl:

Fixed bug GH-16302 (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails). (timwolla)

Date:

Fixed bug GH-16454 (Unhandled INF in date_sunset() with tiny $utcOffset). (cmb)
Fixed bug GH-14732 (date_sun_info() fails for non-finite values). (cmb)

DBA:

Fixed bug GH-16390 (dba_open() can segfault for “pathless” streams). (cmb)

DOM:

Fixed bug GH-16316 (DOMXPath breaks when not initialized properly). (nielsdos)
Add missing hierarchy checks to replaceChild. (nielsdos)
Fixed bug GH-16336 (Attribute intern document mismanagement). (nielsdos)
Fixed bug GH-16338 (Null-dereference in ext/dom/node.c). (nielsdos)
Fixed bug GH-16473 (dom_import_simplexml stub is wrong). (nielsdos)
Fixed bug GH-16533 (Segfault when adding attribute to parent that is not an element). (nielsdos)
Fixed bug GH-16535 (UAF when using document as a child). (nielsdos)
Fixed bug GH-16593 (Assertion failure in DOM->replaceChild). (nielsdos)
Fixed bug GH-16595 (Another UAF in DOM -> cloneNode). (nielsdos)

EXIF:

Fixed bug GH-16409 (Segfault in exif_thumbnail when not dealing with a real file). (nielsdos, cmb)

FFI:

Fixed bug GH-16397 (Segmentation fault when comparing FFI object). (nielsdos)

Filter:

Fixed bug GH-16523 (FILTER_FLAG_HOSTNAME accepts ending hyphen). (cmb)

FPM:

Fixed bug GH-16628 (FPM logs are getting corrupted with this log statement). (nielsdos)

GD:

Fixed bug GH-16334 (imageaffine overflow on matrix elements). (David Carlier)
Fixed bug GH-16427 (Unchecked libavif return values). (cmb)
Fixed bug GH-16559 (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007). (nielsdos)

GMP:

Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).
Fixed bug GH-16411 (gmp_export() can cause overflow). (cmb)
Fixed bug GH-16501 (gmp_random_bits() can cause overflow). (David Carlier)
Fixed gmp_pow() overflow bug with large base/exponents. (David Carlier)
Fixed segfaults and other issues related to operator overloading with GMP objects. (Girgias)

LDAP:

Fixed bug GHSA-g665-fm4p-vhff (OOB access in ldap_escape). (CVE-2024-8932) (nielsdos)

MBstring:

Fixed bug GH-16361 (mb_substr overflow on start/length arguments). (David Carlier)

MySQLnd:

Fixed bug GHSA-h35g-vwh6-m678 (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929) (Jakub Zelenka)

Opcache:

Fixed bug GH-16408 (Array to string conversion warning emitted in optimizer). (ilutov)

OpenSSL:

Fixed bug GH-16357 (openssl may modify member types of certificate arrays). (cmb)
Fixed bug GH-16433 (Large values for openssl_csr_sign() $days overflow). (cmb)
Fix various memory leaks on error conditions in openssl_x509_parse(). (nielsdos)

PDO DBLIB:

Fixed bug GHSA-5hqh-c84r-qjcv (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236) (nielsdos)

PDO Firebird:

Fixed bug GHSA-5hqh-c84r-qjcv (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236) (nielsdos)

PDO ODBC:

Fixed bug GH-16450 (PDO_ODBC can inject garbage into field values). (cmb)

Phar:

Fixed bug GH-16406 (Assertion failure in ext/phar/phar.c:2808). (nielsdos)

PHPDBG:

Fixed bug GH-16174 (Empty string is an invalid expression for ev). (cmb)

Reflection:

Fixed bug GH-16601 (Memory leak in Reflection constructors). (nielsdos)

Session:

Fixed bug GH-16385 (Unexpected null returned by session_set_cookie_params). (nielsdos)
Fixed bug GH-16290 (overflow on cookie_lifetime ini value). (David Carlier)

SOAP:

Fixed bug GH-16318 (Recursive array segfaults soap encoding). (nielsdos)
Fixed bug GH-16429 (Segmentation fault access null pointer in SoapClient). (nielsdos)

Sockets:

Fixed bug with overflow socket_recvfrom $length argument. (David Carlier)

SPL:

Fixed bug GH-16337 (Use-after-free in SplHeap). (nielsdos)
Fixed bug GH-16464 (Use-after-free in SplDoublyLinkedList::offsetSet()). (ilutov)
Fixed bug GH-16479 (Use-after-free in SplObjectStorage::setInfo()). (ilutov)
Fixed bug GH-16478 (Use-after-free in SplFixedArray::unset()). (ilutov)
Fixed bug GH-16588 (UAF in Observer->serialize). (nielsdos)
Fix GH-16477 (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor). (Girgias)
Fixed bug GH-16589 (UAF in SplDoublyLinked->serialize()). (nielsdos)
Fixed bug GH-14687 (segfault on SplObjectIterator instance). (David Carlier)
Fixed bug GH-16604 (Memory leaks in SPL constructors). (nielsdos)
Fixed bug GH-16646 (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()). (ilutov)

Standard:

Fixed bug GH-16293 (Failed assertion when throwing in assert() callback with bail enabled). (ilutov)

Streams:

Fixed bug GHSA-c5f2-jwm7-mmq2 (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234) (Jakub Zelenka)
Fixed bug GHSA-r977-prxv-hc43 (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233) (nielsdos)

SysVMsg:

Fixed bug GH-16592 (msg_send() crashes when a type does not properly serialized). (David Carlier / cmb)

SysVShm:

Fixed bug GH-16591 (Assertion error in shm_put_var). (nielsdos, cmb)

XMLReader:

Fixed bug GH-16292 (Segmentation fault in ext/xmlreader/php_xmlreader.c). (nielsdos)

Zlib:

Fixed bug GH-16326 (Memory management is broken for bad dictionaries.) (cmb)

Read More

python-aiohttp-3.7.4-7.el8

Read Time:35 Second

FEDORA-EPEL-2024-bc19d8cc99

Packages in this update:

python-aiohttp-3.7.4-7.el8

Update description:

Security fix for CVE-2024-52304

Update License field to SPDX.

Build and install the C extensions. Based on the history of security fixes in
later releases, this may close some vulnerabilities and possibly open others,
as both the C and Python HTTP parsing implementations have had their own
distinct issues.

While this backports the fix for CVE-2024-52304, and the fix for CVE-2024-23334
was backported in a previous update, it is very likely that other unmitigated
issues exist in this old release. Unfortunately, updating to a later version in
EPEL8 is impractical at best.

Read More

USN-7015-5: Python vulnerabilities

Read Time:1 Minute, 8 Second

USN-7015-1 fixed several vulnerabilities in Python. This update provides
the corresponding update for CVE-2024-6232 and CVE-2024-6923 for python2.7
in Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS
and Ubuntu 22.04 LTS.

Original advisory details:

It was discovered that the Python email module incorrectly parsed email
addresses that contain special characters. A remote attacker could
possibly use this issue to bypass certain protection mechanisms.
(CVE-2023-27043)

It was discovered that Python allowed excessive backtracking while parsing
certain tarfile headers. A remote attacker could possibly use this issue
to cause Python to consume resources, leading to a denial of service.
(CVE-2024-6232)

It was discovered that the Python email module incorrectly quoted newlines
for email headers. A remote attacker could possibly use this issue to
perform header injection. (CVE-2024-6923)

It was discovered that the Python http.cookies module incorrectly handled
parsing cookies that contained backslashes for quoted characters. A remote
attacker could possibly use this issue to cause Python to consume
resources, leading to a denial of service. (CVE-2024-7592)

It was discovered that the Python zipfile module incorrectly handled
certain malformed zip files. A remote attacker could possibly use this
issue to cause Python to stop responding, resulting in a denial of
service. (CVE-2024-8088)

Read More