USN-6844-2: CUPS regression

Publication date

28 June 2024

Overview

USN-6844-1 caused the cupsd daemon to never start


Packages

  • cups - Common UNIX Printing System(tm)

Details

USN-6844-1 fixed vulnerabilities in the CUPS package. The update
lead to the discovery of a regression in CUPS with regards to
how the cupsd daemon handles Listen configuration directive.
This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:
Rory McNamara discovered that when starting the cupsd server with a
Listen configuration item, the cupsd process fails to validate if
bind call passed. An attacker could possibly trick cupsd to perform
an arbitrary chmod of the provided argument, providing world-writable
access to the target.

USN-6844-1 fixed vulnerabilities in the CUPS package. The update
lead to the discovery of a regression in CUPS with regards to
how the cupsd daemon handles Listen configuration directive.
This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:
Rory McNamara discovered that when starting the cupsd server with a
Listen configuration item, the cupsd process fails to validate if
bind call passed. An attacker could possibly trick cupsd to perform
an arbitrary chmod of the provided argument, providing world-writable
access to the target.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.04 noble cups –  2.4.7-1.2ubuntu7.2
cups-daemon –  2.4.7-1.2ubuntu7.2
23.10 mantic cups –  2.4.6-0ubuntu3.2
cups-daemon –  2.4.6-0ubuntu3.2
22.04 jammy cups –  2.4.1op1-1ubuntu4.10
cups-daemon –  2.4.1op1-1ubuntu4.10
20.04 focal cups –  2.3.1-9ubuntu1.8
cups-daemon –  2.3.1-9ubuntu1.8
18.04 bionic cups –  2.2.7-1ubuntu2.10+esm5  
cups-daemon –  2.2.7-1ubuntu2.10+esm5  
16.04 xenial cups –  2.1.3-4ubuntu0.11+esm7  
cups-daemon –  2.1.3-4ubuntu0.11+esm7  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›