ALAS-2024-2656


Amazon Linux 2 Security Advisory: ALAS-2024-2656
Advisory Release Date: 2024-10-24 23:54 Pacific
Advisory Updated Date: 2024-10-31 18:00 Pacific
Severity: Medium

Issue Overview:

CUPS is a standards-based, open-source printing system, and `cups-browsed` contains network printing functionality including, but not limited to, auto-discovering print services and shared printers. `cups-browsed` binds to `INADDR_ANY:631`, causing it to trust any packet from any source, and can cause the `Get-Printer-Attributes` IPP request to an attacker controlled URL.

Due to the service binding to `*:631 ( INADDR_ANY )`, multiple bugs in `cups-browsed` can be exploited in sequence to introduce a malicious printer to the system. This chain of exploits ultimately enables an attacker to execute arbitrary commands remotely on the target machine without authentication when a print job is started. This poses a significant security risk over the network. Notably, this vulnerability is particularly concerning as it can be exploited from the public internet, potentially exposing a vast number of systems to remote attacks if their CUPS services are enabled. (CVE-2024-47176)

CUPS cups-browsed before 2.5b1 will send an HTTP POST request to an arbitrary destination and port in response to a single IPP UDP packet requesting a printer to be added, a different vulnerability than CVE-2024-47176. (The request is meant to probe the new printer but can be used to create DDoS amplification attacks.) (CVE-2024-47850)


Affected Packages:

cups-filters


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update cups-filters to update your system.

New Packages:
aarch64:
    cups-filters-1.0.35-26.amzn2.0.1.aarch64
    cups-filters-libs-1.0.35-26.amzn2.0.1.aarch64
    cups-filters-devel-1.0.35-26.amzn2.0.1.aarch64
    cups-filters-debuginfo-1.0.35-26.amzn2.0.1.aarch64

i686:
    cups-filters-1.0.35-26.amzn2.0.1.i686
    cups-filters-libs-1.0.35-26.amzn2.0.1.i686
    cups-filters-devel-1.0.35-26.amzn2.0.1.i686
    cups-filters-debuginfo-1.0.35-26.amzn2.0.1.i686

src:
    cups-filters-1.0.35-26.amzn2.0.1.src

x86_64:
    cups-filters-1.0.35-26.amzn2.0.1.x86_64
    cups-filters-libs-1.0.35-26.amzn2.0.1.x86_64
    cups-filters-devel-1.0.35-26.amzn2.0.1.x86_64
    cups-filters-debuginfo-1.0.35-26.amzn2.0.1.x86_64