p PatchFirst

CVE-2023-34241

CVE-2023-34241 · CUPS vulnerable to use-after-free in cupsdAcceptClient()

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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.

CVSS 5.3 · Средний · EPSS 1,4% · Есть исправление

Опубликовано
Обновлено

Стек: system

Затронутые продукты и версии

  • cups

    Версии
    • >= 2.0.0, < 2.4.6: Затронуто

    Нет опубликованного исправления

  • cups Debian:12

    Версии
    • 2.4.2-3
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.4.2-3+deb12u1

    Обновитесь до 2.4.2-3+deb12u1

  • cups Debian:13

    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.4.2-5

    Обновитесь до 2.4.2-5

  • cups Debian:14

    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.4.2-5

    Обновитесь до 2.4.2-5

  • cups Ubuntu:Pro:16.04:LTS

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.1.3-4ubuntu0.11+esm3

    Обновитесь до 2.1.3-4ubuntu0.11+esm3

  • cups Ubuntu:Pro:18.04:LTS

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.2.7-1ubuntu2.10+esm1

    Обновитесь до 2.2.7-1ubuntu2.10+esm1

  • cups Ubuntu:20.04:LTS

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.3.1-9ubuntu1.4

    Обновитесь до 2.3.1-9ubuntu1.4

  • cups Ubuntu:22.04:LTS

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.4.1op1-1ubuntu4.4

    Обновитесь до 2.4.1op1-1ubuntu4.4

Первоисточники

Проверьте свой сервер →