Advisory

DEBIAN-CVE-2023-34241

Also known as: CVE-2023-34241

Summary

The record has no summary.

Details

OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process. The exact cause of this issue is the function httpClose(con->http) being called in scheduler/client.c. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function cupsdAcceptClient if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in cupsd.conf) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from /etc/hosts.allow and /etc/hosts.deny. Version 2.4.6 has a patch for this issue.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2023-06-22 23:15 UTC
Modified
2026-10-26 18:00 UTC

Affected packages and fixes

cups

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.4.2-3+deb12u1 (ecosystem)

Fixed versions

2.4.2-3+deb12u1

Fix

  • Fixed version 2.4.2-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cups

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.4.2-5 (ecosystem)

Fixed versions

2.4.2-5

Fix

  • Fixed version 2.4.2-5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cups

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.4.2-5 (ecosystem)

Fixed versions

2.4.2-5

Fix

  • Fixed version 2.4.2-5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences