{"id":"USN-6844-2","summary":"cups regression","details":"USN-6844-1 fixed vulnerabilities in the CUPS package. The update\nlead to the discovery of a regression in CUPS with regards to\nhow the cupsd daemon handles Listen configuration directive. \nThis update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\nRory McNamara discovered that when starting the cupsd server with a\nListen configuration item, the cupsd process fails to validate if\nbind call passed. An attacker could possibly trick cupsd to perform\nan arbitrary chmod of the provided argument, providing world-writable\naccess to the target.\n","modified":"2026-05-20T16:03:42.792863179Z","published":"2024-06-28T16:08:04Z","references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6844-2"},{"type":"REPORT","url":"https://launchpad.net/bugs/2070315"}],"affected":[{"package":{"name":"cups","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cups?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-4ubuntu0.11+esm7"}]}],"versions":["2.1.0-4ubuntu3","2.1.0-5","2.1.0-6","2.1.0-6ubuntu1","2.1.0-7","2.1.2-1","2.1.2-2","2.1.3-1","2.1.3-1build1","2.1.3-3","2.1.3-4","2.1.3-4ubuntu0.2","2.1.3-4ubuntu0.3","2.1.3-4ubuntu0.4","2.1.3-4ubuntu0.5","2.1.3-4ubuntu0.6","2.1.3-4ubuntu0.7","2.1.3-4ubuntu0.8","2.1.3-4ubuntu0.9","2.1.3-4ubuntu0.10","2.1.3-4ubuntu0.11","2.1.3-4ubuntu0.11+esm1","2.1.3-4ubuntu0.11+esm2","2.1.3-4ubuntu0.11+esm3","2.1.3-4ubuntu0.11+esm4","2.1.3-4ubuntu0.11+esm5","2.1.3-4ubuntu0.11+esm6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libcupscgi1","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_name":"cups-bsd","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_name":"libcupsmime1","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups-common"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups-core-drivers"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups-server-common"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"libcupsimage2"},{"binary_name":"cups-client","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups-ipp-utils"},{"binary_name":"libcups2","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups-ppdc"},{"binary_name":"libcupsppdc1","binary_version":"2.1.3-4ubuntu0.11+esm7"},{"binary_version":"2.1.3-4ubuntu0.11+esm7","binary_name":"cups"},{"binary_name":"cups-daemon","binary_version":"2.1.3-4ubuntu0.11+esm7"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6844-2.json"}},{"package":{"name":"cups","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/cups?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.7-1ubuntu2.10+esm5"}]}],"versions":["2.2.4-7ubuntu2","2.2.5-2","2.2.6-2","2.2.6-3","2.2.6-4","2.2.6-5","2.2.7-1ubuntu1","2.2.7-1ubuntu2","2.2.7-1ubuntu2.1","2.2.7-1ubuntu2.2","2.2.7-1ubuntu2.3","2.2.7-1ubuntu2.4","2.2.7-1ubuntu2.5","2.2.7-1ubuntu2.6","2.2.7-1ubuntu2.7","2.2.7-1ubuntu2.8","2.2.7-1ubuntu2.9","2.2.7-1ubuntu2.10","2.2.7-1ubuntu2.10+esm1","2.2.7-1ubuntu2.10+esm2","2.2.7-1ubuntu2.10+esm3","2.2.7-1ubuntu2.10+esm4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-bsd"},{"binary_name":"cups-client","binary_version":"2.2.7-1ubuntu2.10+esm5"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-common"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-core-drivers"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-daemon"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-ipp-utils"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-ppdc"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"cups-server-common"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"libcups2"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"libcupscgi1"},{"binary_name":"libcupsimage2","binary_version":"2.2.7-1ubuntu2.10+esm5"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"libcupsmime1"},{"binary_version":"2.2.7-1ubuntu2.10+esm5","binary_name":"libcupsppdc1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6844-2.json"}},{"package":{"name":"cups","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cups?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-9ubuntu1.8"}]}],"versions":["2.2.12-2ubuntu1","2.3.0-6","2.3.0-7","2.3.0-7ubuntu1","2.3.1-1ubuntu1","2.3.1-2","2.3.1-4","2.3.1-7","2.3.1-9ubuntu1","2.3.1-9ubuntu1.1","2.3.1-9ubuntu1.2","2.3.1-9ubuntu1.3","2.3.1-9ubuntu1.4","2.3.1-9ubuntu1.5","2.3.1-9ubuntu1.6","2.3.1-9ubuntu1.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-bsd"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-client"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-common"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-core-drivers"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-daemon"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-ipp-utils"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-ppdc"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"cups-server-common"},{"binary_version":"2.3.1-9ubuntu1.8","binary_name":"libcups2"},{"binary_name":"libcupsimage2","binary_version":"2.3.1-9ubuntu1.8"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6844-2.json"}},{"package":{"name":"cups","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cups?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1op1-1ubuntu4.10"}]}],"versions":["2.3.3op2-7ubuntu2","2.4.1op1-1ubuntu1","2.4.1op1-1ubuntu2","2.4.1op1-1ubuntu3","2.4.1op1-1ubuntu4","2.4.1op1-1ubuntu4.1","2.4.1op1-1ubuntu4.2","2.4.1op1-1ubuntu4.4","2.4.1op1-1ubuntu4.6","2.4.1op1-1ubuntu4.7","2.4.1op1-1ubuntu4.8","2.4.1op1-1ubuntu4.9"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-bsd"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-client"},{"binary_name":"cups-common","binary_version":"2.4.1op1-1ubuntu4.10"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-core-drivers"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-daemon"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-ipp-utils"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-ppdc"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"cups-server-common"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"libcups2"},{"binary_version":"2.4.1op1-1ubuntu4.10","binary_name":"libcupsimage2"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6844-2.json"}},{"package":{"name":"cups","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cups?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.7-1.2ubuntu7.2"}]}],"versions":["2.4.6-0ubuntu3","2.4.7-1.2ubuntu2","2.4.7-1.2ubuntu3","2.4.7-1.2ubuntu7","2.4.7-1.2ubuntu7.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups"},{"binary_name":"cups-bsd","binary_version":"2.4.7-1.2ubuntu7.2"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-client"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-common"},{"binary_name":"cups-core-drivers","binary_version":"2.4.7-1.2ubuntu7.2"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-daemon"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-ipp-utils"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-ppdc"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"cups-server-common"},{"binary_name":"libcups2t64","binary_version":"2.4.7-1.2ubuntu7.2"},{"binary_version":"2.4.7-1.2ubuntu7.2","binary_name":"libcupsimage2t64"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6844-2.json"}}],"schema_version":"1.7.5"}