CVE-2024-47176cups-browsed binds to `INADDR_ANY:631`, trusting any packet from any source
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. When combined with other vulnerabilities, such as CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177, an attacker can execute arbitrary commands remotely on the target machine without authentication when a malicious printer is printed to.
What to do
Likely to be exploited: EPSS gives a 40% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | cups-browsed | Fixed | 2.0.0-0ubuntu10.2 | UBUNTU-CVE-2024-47176 |
| Ubuntu 24.04 | cups-filters | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | cups-filters | Fixed | 1.28.15-0ubuntu1.4 | UBUNTU-CVE-2024-47176 |
| Ubuntu 20.04 | cups-filters | Fixed | 1.27.4-1ubuntu0.4 | UBUNTU-CVE-2024-47176 |
| Ubuntu 18.04 | cups-filters | Fix pending | 1.20.2-0ubuntu3.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-47176 |
| Ubuntu 16.04 | cups-filters | Fix pending | 1.8.3-2ubuntu3.5+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-47176 |
| Debian 14 | cups-filters | Fixed | 1.28.17-5 | DEBIAN-CVE-2024-47176 |
| Debian 13 | cups-filters | Fixed | 1.28.17-5 | DEBIAN-CVE-2024-47176 |
| Debian 12 | cups-filters | Fixed | 1.28.17-3+deb12u1 | DEBIAN-CVE-2024-47176 |
| Red Hat Enterprise Linux 10 | cups-browsed | Not affected | ||
| Red Hat Enterprise Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-devel | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-libs | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-devel | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-libs | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| AlmaLinux 9 | cups-filters | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-devel | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-libs | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 8 | cups-filters | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-devel | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-libs | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| Rocky Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RLSA-2024:7346 |
| Rocky Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RLSA-2024:7463 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenPrinting cups-browsed: affected: <= 2.0.1
References
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6
- https://github.com/OpenPrinting/cups-browsed/blob/master/daemon/cups-browsed.c#L13992
- https://www.cups.org
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.