CVE feed → CVE-2024-47176

CVE-2024-47176 — CUPS cups-browsed unauthenticated RCE chain

A long-running CUPS helper, cups-browsed, listens on UDP 631 with no authentication and will fetch a printer description from any host that announces one. Chained with three sibling CVEs in libcupsfilters, libppd and foomatic-rip, a single UDP packet can register a malicious printer whose use triggers command execution as the printing user. NVD scores this individual link Medium (5.3) — the danger is the composite chain, which research consensus rates Critical (~9.8) when all four links land together.

TL;DR

At a glance

CVE IDCVE-2024-47176
Severity (this CVE alone)Medium (NVD CVSS 5.3)
Chained severityCritical — pre-auth RCE on a printing host (when chained with CVE-2024-47076 / -47175 / -47177)
CVSS vector (this CVE in isolation)AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (NVD); chained impact is C:H/I:H/A:H
CWECWE-1327 (Binding to an Unrestricted IP Address)
Sibling CVEs in the chainCVE-2024-47076 (libcupsfilters), CVE-2024-47175 (libppd), CVE-2024-47177 (foomatic-rip command injection)
Affected componentcups-browsed (network printer auto-discovery daemon)
Default port / protocolUDP 631 (IPP browse)
User interaction requiredPrint job to the malicious printer (some configurations register and auto-use without UI)
Published2024-09-26
Last updated (NVD)2024-10-15

Affected versions and fix paths

Every mainstream Linux distribution that ships the CUPS browsing stack shipped a patched cups-browsed in October 2024. Exact package versions vary by distro; the column below points to the published advisory rather than memorising a build number, because all four sibling CVEs are addressed in the same vendor update.

Package / distro Vulnerable Fixed by
Debian 12 (bookworm)cups-browsed prior to the October 2024 DSA updateDebian security update (DSA) from October 2024
Debian 11 (bullseye, LTS)cups-browsed prior to the October 2024 LTS updateDebian LTS update from October 2024
Ubuntu 24.04 / 22.04 / 20.04cups-browsed prior to the late-2024 Ubuntu security updateUbuntu Security Notice from late September / October 2024
Rocky / AlmaLinux 9cups-filters / cups-browsed prior to the October 2024 errataVendor errata (RHSA-equivalent) from October 2024
Rocky / AlmaLinux 8cups-filters / cups-browsed prior to the October 2024 errataVendor errata from October 2024
Fedora 40 / 41cups-filters prior to the October 2024 updateFedora security update from October 2024
openSUSE Leap / Tumbleweedcups-filters prior to the October 2024 updateopenSUSE security update from October 2024
Arch Linuxcups-filters before the rolling update of 2024-09-27cups-filters 2.0.x from the Arch repos (late September 2024)

Distro-specific advisory IDs and the exact fixed package version per release are tracked on the Noxen Debian 12, Debian 11, Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, Rocky 9, Rocky 8, AlmaLinux 9 and AlmaLinux 8 per-distro pages — the daily feed keeps those in sync.

The four-CVE chain

No single CVE in this set is critical on its own. The risk lives in the chain. Each link reduces the attacker's required capability by one step:

The chain weaponises a quirk that is otherwise mundane: CUPS is designed to discover printers on a LAN, and printer descriptions legitimately contain configuration that the filter pipeline executes. The bug is that none of the four links validate the source of those instructions.

Quick scan check

Three commands answer "is this host exposed?" in seconds. Run on every Linux box that has CUPS installed (or that you're not sure about):

# Is cups-browsed listening?
ss -ulnp | grep :631

# Is the service enabled and running?
systemctl status cups-browsed 2>/dev/null | head -3

# What version is installed?
dpkg -l cups-browsed cups-filters 2>/dev/null    # Debian / Ubuntu
rpm -q cups-filters cups-browsed 2>/dev/null      # RHEL family

# Quick "is the patch in?" sanity check on Debian/Ubuntu
apt-cache policy cups-browsed | head -4

A host that prints UNCONN 0 0 0.0.0.0:631 ... cups-browsed on the first command is listening to UDP 631 on every interface, including any LAN you don't fully trust. Compare the installed version against the per-distro CVE pages above to decide whether the patch is in.

What Noxen does about this

Noxen handles CVE-2024-47176 on two axes:

The deep-dive

For the narrative walkthrough — how a UDP packet becomes RCE, why this matters more in homelabs than enterprises, and the bigger pattern of "mDNS responders on untrusted LANs" that this bug sits inside — read CUPS exposed on your LAN — the September 2024 CVE chain on the Noxen blog.

Authoritative sources

See what Noxen does about CVEs like this →   More on CVE management →