Description
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cups | 2.2.3-2 | — |
| Debian 13 | cups | 2.2.3-2 | — |
| Debian 12 | cups | 2.2.3-2 | — |
| Debian 8 | cups | 1.7.5-11+deb8u3 | DLA-1412-1 |
| Debian 7 | cups | 1.5.3-5+deb7u7 | DLA-1288-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | cups | 2.1.3-4ubuntu0.4 | USN-3577-1 |
| Ubuntu 14.04 LTS | cups | 1.7.2-0ubuntu1.9 | USN-3577-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | cups +6 | 1:1.6.3-51.el7 | RHSA-2020:3864 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SLES 12 SP2 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SLES 12 SP1 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SLES 12 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SLES for SAP 12 SP2 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SLES for SAP 12 SP1 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
| SUSE OpenStack Cloud 6 | cups | 1.7.5-20.3.1 | SUSE-SU-2018:0604-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.5 | cups | 2.2.2-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | cups +6 | 1:1.6.3-51.amzn2 | ALAS2-2020-1506 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | cups +6 | 1:1.6.3-51.el7 | ELSA-2020-3864 |
Advisories 7
- RHSA-2020:3864 Red Hat Security Advisory: cups security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3577-1 cups vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1288-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1412-1 cups - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:0604-1 Security update for cups SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2020-1506 Moderate: cups security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 22, 2020
- ELSA-2020-3864 Moderate: cups security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020
References
- USN-3577-1 vendor-advisory
- [debian-lts-announce] 20180703 [SECURITY] [DLA 1412-1] cups security update mailing-list
- https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41
- [debian-lts-announce] 20180222 [SECURITY] [DLA 1288-1] cups security update mailing-list
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1048