Skip to content
Fencer Intel
medium 5.1

CVE-2011-2899 json

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 execut…

published 2011-08-31 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-2872

cvss
5.1
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • system-config-printer RHEL 4 0.6.116.10-1.6.el4
  • system-config-printer RHEL 5 0.7.32.10-1.el5_7.1
  • system-config-printer-gui RHEL 4 0.6.116.10-1.6.el4
  • system-config-printer-libs RHEL 5 0.7.32.10-1.el5_7.1

red hat advisories RHSA-2011:1196

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-2899 updated cvss 5.1

system-config-printer: possible arbitrary code execution in pysmb.py due to improper escaping of hostnames

  • Red Hat Enterprise Linux (v. 5 server) system-config-printer 0.7.32.10-1.el5_7.1, system-config-printer-libs 0.7.32.10-1.el5_7.1 Red Hat Enterprise Linux AS version 4 system-config-printer 0.6.116.10-1.6.el4, system-config-printer-gui 0.6.116.10-1.6.el4 Red Hat Enterprise Linux Desktop (v. 5 client) system-config-printer 0.7.32.10-1.el5_7.1, system-config-printer-libs 0.7.32.10-1.el5_7.1 Red Hat Enterprise Linux Desktop version 4 system-config-printer 0.6.116.10-1.6.el4, system-config-printer-gui 0.6.116.10-1.6.el4 Red Hat Enterprise Linux ES version 4 system-config-printer 0.6.116.10-1.6.el4, system-config-printer-gui 0.6.116.10-1.6.el4 Red Hat Enterprise Linux WS version 4 system-config-printer 0.6.116.10-1.6.el4, system-config-printer-gui 0.6.116.10-1.6.el4
    fixed: vendor fix RHSA-2011:1196
  • Red Hat Enterprise Linux 6 system-config-printer, system-config-printer-libs, system-config-printer-udev
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.97% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.