cve.bz

CVE-2023-24805 OS Command Injection

8.8 highExploit referenceEPSS 3.7%Fix available

High (8.8). EPSS 3.7% estimated probability of exploitation activity in the next 30 days.

On this page
cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-24805 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24805?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24805?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-24805 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:cups-filtersbefore 2.0
linuxfoundation:cups-filters2.0:beta1
linuxfoundation:cups-filters2.0:beta2
linuxfoundation:cups-filters2.0:beta3
linuxfoundation:cups-filters2.0:rc1
fedoraproject:fedora37
fedoraproject:fedora38
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10cups-filters1.21.6-5+deb10u1DLA-3430-1
Debian11cups-filters1.28.7-1+deb11u2DSA-5407-1
Debian12, 13, 14cups-filters1.28.17-3DEBIAN-CVE-2023-24805
Ubuntu18.04:LTScups-filters1.20.2-0ubuntu3.3UBUNTU-CVE-2023-24805 USN-6083-1
Ubuntu20.04:LTScups-filters1.27.4-1ubuntu0.2UBUNTU-CVE-2023-24805 USN-6083-1
Ubuntu22.04:LTScups-filters1.28.15-0ubuntu1.2UBUNTU-CVE-2023-24805 USN-6083-1
UbuntuPro:16.04:LTScups-filters1.8.3-2ubuntu3.5+esm1UBUNTU-CVE-2023-24805 USN-6083-2
Red Hatenterprise_linux:8::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.20.0-29.el8_8.2RHSA-2023:3425
Red Hatenterprise_linux:8::crbcups-filters-devel, cups-filters-debuginfo, cups-filters-debugsource and 1 more0:1.20.0-29.el8_8.2RHSA-2023:3425
Red Hatenterprise_linux:9::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.28.7-11.el9_2.1RHSA-2023:3423
Red Hatenterprise_linux:9::crbcups-filters-devel, cups-filters-debuginfo, cups-filters-debugsource and 1 more0:1.28.7-11.el9_2.1RHSA-2023:3423
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.20.0-19.el8_2.1RHSA-2023:3428
Red Hatrhel_e4s:8.1::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.20.0-18.el8_1.1RHSA-2023:3429
Red Hatrhel_eus:8.4::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.20.0-24.el8_4.1RHSA-2023:3427
Red Hatrhel_eus:8.4::crbcups-filters-devel, cups-filters-debuginfo, cups-filters-debugsource and 1 more0:1.20.0-24.el8_4.1RHSA-2023:3427
Red Hatrhel_eus:8.6::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.20.0-27.el8_6.1RHSA-2023:3426
Red Hatrhel_eus:8.6::crbcups-filters-devel, cups-filters-debuginfo, cups-filters-debugsource and 1 more0:1.20.0-27.el8_6.1RHSA-2023:3426
Red Hatrhel_eus:9.0::appstreamcups-filters, cups-filters-libs, cups-filters-debuginfo and 2 more0:1.28.7-10.el9_0.1RHSA-2023:3424
Red Hatrhel_eus:9.0::crbcups-filters-devel, cups-filters-debuginfo, cups-filters-debugsource and 1 more0:1.28.7-10.el9_0.1RHSA-2023:3424
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morecups-filters1.25.0-150200.3.6.1SUSE-SU-2023:2233-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1cups-filters1.20.3-150000.3.10.1SUSE-SU-2023:2287-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1poppler0.62.0-150000.4.12.1SUSE-SU-2023:2287-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1texlive2017.20170520-150000.11.20.1SUSE-SU-2023:2287-1
openSUSELeap 15.4cups-filters1.25.0-150200.3.6.1SUSE-SU-2023:2233-1
openSUSELeap 15.4poppler0.62.0-150000.4.12.1SUSE-SU-2023:2287-1
openSUSELeap 15.5cups-filters1.25.0-150200.3.6.1SUSE-SU-2023:2233-2
openSUSETumbleweedcups-filters1.28.15-3.1openSUSE-SU-2024:12939-1
AlmaLinux8cups-filters, cups-filters-libs, cups-filters-devel1.20.0-29.el8_8.2ALSA-2023:3425
AlmaLinux9cups-filters, cups-filters-libs, cups-filters-devel1.28.7-11.el9_2.1ALSA-2023:3423
Rocky Linux8cups-filters0:1.20.0-29.el8_8.2RLSA-2023:3425
Rocky Linux9cups-filters0:1.28.7-11.el9_2.1RLSA-2023:3423
Alpinev3.18cups-filters1.28.17-r2ALPINE-CVE-2023-24805
Alpinev3.19, v3.20, v3.21 and 3 morecups-filters1.28.17-r3ALPINE-CVE-2023-24805

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8cups-filters-0:1.20.0-29.el8_8.2Fixed 2023-06-05RHSA-2023:3425
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionscups-filters-0:1.20.0-18.el8_1.1Fixed 2023-06-05RHSA-2023:3429
Red Hat Enterprise Linux 8.2 Advanced Update Supportcups-filters-0:1.20.0-19.el8_2.1Fixed 2023-06-05RHSA-2023:3428
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicecups-filters-0:1.20.0-19.el8_2.1Fixed 2023-06-05RHSA-2023:3428
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionscups-filters-0:1.20.0-19.el8_2.1Fixed 2023-06-05RHSA-2023:3428
Red Hat Enterprise Linux 8.4 Extended Update Supportcups-filters-0:1.20.0-24.el8_4.1Fixed 2023-06-05RHSA-2023:3427
Red Hat Enterprise Linux 8.6 Extended Update Supportcups-filters-0:1.20.0-27.el8_6.1Fixed 2023-06-05RHSA-2023:3426
Red Hat Enterprise Linux 9cups-filters-0:1.28.7-11.el9_2.1Fixed 2023-06-05RHSA-2023:3423
Red Hat Enterprise Linux 9.0 Extended Update Supportcups-filters-0:1.28.7-10.el9_0.1Fixed 2023-06-04RHSA-2023:3424
Red Hat Enterprise Linux 7cups-filtersNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-24805.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON