CVE-2023-34241Openprinting Cups
Alta 7.1
Seguir: esta CVE · Openprinting · Openprinting Cups Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 43
- CVSS 3.1
- 7.1
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 72
- Requiere autenticación
- Sí
- Publicada
- 22 jun 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-416
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cups.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| openprinting | cups | ≥ 2.2.0 < 2.4.6 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
| debian | debian_linux | 10.0 |
| apple | macos | < 11.7.9 |
| apple | macos | ≥ 12.0.0 < 12.6.8 |
| apple | macos | ≥ 13.0 < 13.5 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch
- github.com Release Notes
- github.com Exploit Patch Vendor Advisory
- lists.debian.org Mailing List
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory