CVE-2023-24805: Command injection in cups-filters
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.6% (FIRST EPSS); higher than 89.8% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: cups-filters (AlmaLinux:8) 1.20.0-29.el8_8.2; cups-filters-devel (AlmaLinux:8) 1.20.0-29.el8_8.2; cups-filters-libs (AlmaLinux:8) 1.20.0-29.el8_8.2.
Low priority for now. Upgrade to cups-filters (AlmaLinux:8) 1.20.0-29.el8_8.2; cups-filters-devel (AlmaLinux:8) 1.20.0-29.el8_8.2; cups-filters-libs (AlmaLinux:8) 1.20.0-29.el8_8.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 17, 2023
- Updated
- Jun 17, 2026
- EPSS
- 3.6% · 89th percentile
- CWE
- CWE-78
Report tools
Action score
36
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.6%
CNA vs NVD score
- NVD
- 8.8
- CNA · GitHub_M
- 8.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linuxfoundation | cups-filters | cpe:2.3:a:linuxfoundation:cups-filters |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
OpenPrinting cups-filters
- <= 2.0rc1affected
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux11.0
- fedoraproject fedora37
- fedoraproject fedora38
- linuxfoundation cups-filtersbefore 2.0
- linuxfoundation cups-filters2.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | cups-filters | before 1.20.0-29.el8_8.2 | 1.20.0-29.el8_8.2 |
| AlmaLinux:8 | cups-filters-devel | before 1.20.0-29.el8_8.2 | 1.20.0-29.el8_8.2 |
| AlmaLinux:8 | cups-filters-libs | before 1.20.0-29.el8_8.2 | 1.20.0-29.el8_8.2 |
| AlmaLinux:9 | cups-filters | before 1.28.7-11.el9_2.1 | 1.28.7-11.el9_2.1 |
| AlmaLinux:9 | cups-filters-devel | before 1.28.7-11.el9_2.1 | 1.28.7-11.el9_2.1 |
| AlmaLinux:9 | cups-filters-libs | before 1.28.7-11.el9_2.1 | 1.28.7-11.el9_2.1 |
| Alpine:v3.18 | cups-filters | before 1.28.17-r2 | 1.28.17-r2 |
| Alpine:v3.19 | cups-filters | before 1.28.17-r3 | 1.28.17-r3 |
| Debian:10 | cups-filters | before 1.21.6-5+deb10u1 | 1.21.6-5+deb10u1 |
| Debian:11 | cups-filters | before 1.28.7-1+deb11u2 | 1.28.7-1+deb11u2 |
| Debian:12 | cups-filters | before 1.28.17-3 | 1.28.17-3 |
| openSUSE:Leap 15.4 | cups-filters | before 1.25.0-150200.3.6.1 | 1.25.0-150200.3.6.1 |
| openSUSE:Leap 15.4 | poppler | before 0.62.0-150000.4.12.1 | 0.62.0-150000.4.12.1 |
| openSUSE:Tumbleweed | cups-filters | before 1.28.15-3.1 | 1.28.15-3.1 |
| Red Hat:enterprise_linux:8::appstream | cups-filters | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:8::appstream | cups-filters-debuginfo | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:8::appstream | cups-filters-debugsource | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:8::appstream | cups-filters-libs | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:8::appstream | cups-filters-libs-debuginfo | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:8::crb | cups-filters-devel | before 0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
| Red Hat:enterprise_linux:9::appstream | cups-filters | before 0:1.28.7-11.el9_2.1 | 0:1.28.7-11.el9_2.1 |
| Red Hat:enterprise_linux:9::appstream | cups-filters-debuginfo | before 0:1.28.7-11.el9_2.1 | 0:1.28.7-11.el9_2.1 |
| Red Hat:enterprise_linux:9::appstream | cups-filters-debugsource | before 0:1.28.7-11.el9_2.1 | 0:1.28.7-11.el9_2.1 |
| Red Hat:enterprise_linux:9::appstream | cups-filters-libs | before 0:1.28.7-11.el9_2.1 | 0:1.28.7-11.el9_2.1 |
+36
Same product
linuxfoundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-2707cups-browsed in cups-filters 1.0.41 before 1.0.51 allows remote IPP printers to execute arbitrary commands via shell metacharacters in the…33Monitor
- CVE-2015-3279Integer overflow in filter/texttopdf.c in texttopdf in cups-filters before 1.0.71 allows remote attackers to cause a denial of service…32Monitor
- CVE-2013-6474Heap-based buffer overflow in the pdftoopvp filter in CUPS and cups-filters before 1.0.47 allows remote attackers to execute arbitrary code…28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2014-4336Jun 22, 2014 · The generate_local_queue function in utils/cups-browsed.c in cups-browsed in cups-filters before 1.0.53 allows remote IPP printers to…23Monitor
- ← EarlierCVE-2014-4337Jun 22, 2014 · The process_browse_data function in utils/cups-browsed.c in cups-browsed in cups-filters before 1.0.53 allows remote attackers to cause a…18Monitor
- ← EarlierCVE-2014-4338Jun 22, 2014 · cups-browsed in cups-filters before 1.0.53 allows remote attackers to bypass intended access restrictions in opportunistic circumstances by…17Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:cups-filters | 1.28.7-11.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cups-filters-devel | 1.28.7-11.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cups-filters-libs | 1.28.7-11.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| alpine:cups-filters | 1.28.17-r2 · Alpine:v3.18 | Package registry (OSV) |
| debian:cups-filters | 1.28.17-3 · Debian:12 | Package registry (OSV) |
| opensuse:cups-filters | 1.25.0-150200.3.6.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| opensuse:poppler | 0.62.0-150000.4.12.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:cups-filters | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cups-filters-debuginfo | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cups-filters-debugsource | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cups-filters-devel | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:cups-filters-libs | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cups-filters-libs-debuginfo | 0:1.28.7-11.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:cups-filters | 0:1.28.7-11.el9_2.1 · Rocky Linux:9 | Package registry (OSV) |
| suse:cups-filters | 1.25.0-150200.3.6.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP4 | Package registry (OSV) |
| suse:poppler | 0.62.0-150000.4.12.1 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
| suse:texlive | 2017.20170520-150000.11.20.1 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;
exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;
if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);
execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- lists.debian.org/debian-lts-announce/2023/05/msg00021.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KL2SJMZQ5T5JIH3PMQ2CGCY5TUUE255Y/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNCGL2ZTAS2GFF23QFT55UFWIDMI4ZJK/
- security.gentoo.org/glsa/202401-06
- www.debian.org/security/2023/dsa-5407
Vendor advisories and official records. Exploit/PoC links are deliberately left out.