CUPS ipp backend status-line injection can update queue PPD and lead to conditional RCE as lp via foomatic-rip (OpenPrinting cups)
En bref
- Source
- NVD
- EPSS
- EPSS 0.19 % · centile 9 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, the backend/ipp.c quote_string() function preserves carriage-return and line-feed characters in a remote printer-controlled marker-message before report_attr() writes the value to the scheduler status stream. The scheduler can parse an injected newline as a separate PPD: control line and persist an attacker-selected PPD keyword. The reporter demonstrated that a later print job on a Foomatic-backed queue could consume an injected FoomaticRIPCommandLine value and execute in the filter context as lp. This issue is fixed in version 2.4.20.
Faiblesses (CWE)
- CWE-74 — Neutralisation incorrecte d'éléments spéciaux (injection)
- CWE-77 — Injection de commande
- CWE-78 — Injection de commande système
Références
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-7hqf-mfhx-7r3v
- https://github.com/OpenPrinting/cups/commit/806e1b483096c51d59432468f4afdd7387d81dd7
- https://github.com/OpenPrinting/cups/commit/d41cf0616688721e9d435d54118c4c8a36ed596a
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.20
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | GitHub_M |
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | NVD · security-advisories@github.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-102207
- GCVE · GCVE-0-2026-55453
Configurations affectées (CPE NVD)
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*< 2.4.20
Produits affectés
| Produit | Versions |
|---|---|
| OpenPrinting · cups | affected < 2.4.20 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |