CVE-2011-2899
publishedsystem-config-printer: possible arbitrary code execution in pysmb.py due to improper escaping of hostnames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printeri386 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printeria64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printerppc | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printers390 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printers390x | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printersrc | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printerx86_64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfoi386 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfoia64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfoppc | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfos390 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfos390x | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-debuginfox86_64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guii386 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guiia64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guippc | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guis390 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guis390x | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-4 | system-config-printer-guix86_64 | Advisory build | 0.6.116.10-1.6.el4 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printeri386 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printeria64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printerppc | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printers390x | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printersrc | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printerx86_64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-debuginfoi386 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-debuginfoia64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-debuginfoppc | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-debuginfos390x | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-debuginfox86_64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-libsi386 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-libsia64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-libsppc | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-libss390x | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
| Red Hat Enterprise Linux | RHEL-5 | system-config-printer-libsx86_64 | Advisory build | 0.7.32.10-1.el5_7.1 | RHSA-2011:1196 |
Description
pysmb.py in system-config-printer 0.6.x and 0.7.x, as used in foomatic-gui and possibly other products, allows remote SMB servers to execute arbitrary commands via shell metacharacters in the (1) NetBIOS or (2) workgroup name, which are not properly handled when searching for network printers.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
6- http://cvs.savannah.gnu.org/viewvc/foomatic-gui/foomatic/pysmb.py?root=foomatic-gui&r1=1.2&r2=1.3&view=patch
- 45744 http://secunia.com/advisories/45744
- RHSA-2011:1196 http://www.redhat.com/support/errata/RHSA-2011-1196.html
- 1025967 http://www.securitytracker.com/id?1025967
- https://bugs.launchpad.net/ubuntu/+source/foomatic-gui/+bug/811119
- https://bugzilla.redhat.com/show_bug.cgi?id=728348
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d28fc080a07d2145686413d69f88f63dda35fab41cfbb73fef27a28c715ea9df
- Ingested
- 23 Sep 2026, 07:39:03 UTC
- Source record
- Official CVE record