system-config-printer: possible arbitrary code execution in pysmb.py due to improper escaping of hostnames
Published Aug 31, 2011
5.1
MEDIUMCVSS 2.0
EPSS 1.97%
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.
Affected products
No data.
Configuration 1
- 0.7.32.6
- 0.7.32.7
- 0.7.32.8
- 0.7.32.9
- 0.7.32.10
- 0.7.60
- 0.7.61
- 0.7.62
- 0.7.63
- 0.7.63.1
- 0.7.63.2
- 0.7.63.3
- 0.7.63.4
- 0.7.64
- 0.7.65
- 0.7.66
- 0.7.67
- 0.7.68
- 0.7.69
- 0.7.70
- 0.7.71
- 0.7.72
- 0.7.73
- 0.7.74
- 0.7.74.1
- 0.7.74.2
- 0.7.74.3
- 0.7.74.4
- 0.7.74.5
- 0.7.74.6
- 0.7.74.7
- 0.7.74.8
- 0.7.74.9
- 0.7.74.10
- 0.7.74.11
- 0.7.74.12
- 0.7.74.13
- 0.7.75
- 0.7.76
- 0.7.77
- 0.7.78
- 0.7.79
- 0.7.80
- 0.7.81
- 0.7.82
- 0.7.82.1
- 0.7.82.2
- 0.7.82.3
- 0.7.82.4
- 0.7.82.5
Configuration 2
- 0.6.0
- 0.6.1
- 0.6.2
- 0.6.3
- 0.6.4
- 0.6.5
- 0.6.6
- 0.6.7
- 0.6.8
- 0.6.9
- 0.6.10
- 0.6.11
- 0.6.12
- 0.6.13
- 0.6.14
- 0.6.15
- 0.6.16
- 0.6.17
- 0.6.18
- 0.6.19
- 0.6.20
- 0.6.21
- 0.6.22
- 0.6.23
- 0.6.24
- 0.6.25
- 0.6.26
- 0.6.27
- 0.6.28
- 0.6.29
- 0.6.30
- 0.6.31
- 0.6.32
- 0.6.33
- 0.6.34
- 0.6.35
- 0.6.36
- 0.6.37
- 0.6.38
- 0.6.39
- 0.6.40
- 0.6.41
- 0.6.42
- 0.6.43
- 0.6.44
- 0.6.45
- 0.6.46
- 0.6.47
- 0.6.48
- 0.6.49
- 0.6.50
- 0.6.51
- 0.6.52
- 0.6.53
- 0.6.54
- 0.6.55
- 0.6.56
- 0.6.57
- 0.6.58
- 0.6.59
- 0.6.60
- 0.6.61
- 0.6.62
- 0.6.63
- 0.6.64
- 0.6.65
- 0.6.66
- 0.6.67
- 0.6.68
- 0.6.69
- 0.6.70
- 0.6.71
- 0.6.72
- 0.6.73
- 0.6.74
- 0.6.75
- 0.6.76
- 0.6.77
- 0.6.78
- 0.6.79
- 0.6.80
- 0.6.81
- 0.6.82
- 0.6.83
- 0.6.84
- 0.6.85
- 0.6.86
- 0.6.87
- 0.6.88
- 0.6.89
- 0.6.90
- 0.6.91
- 0.6.92
- 0.6.93
- 0.6.94
- 0.6.95
- 0.6.96
- 0.6.97
- 0.6.98
- 0.6.99
- 0.6.100
- 0.6.101
- 0.6.102
- 0.6.103
- 0.6.104
- 0.6.105
- 0.6.106
- 0.6.107
- 0.6.108
- 0.6.109
- 0.6.110
- 0.6.111
- 0.6.112
- 0.6.113
- 0.6.114
- 0.6.115
- 0.6.116
No data.
Red Hat Enterprise Linux 4
system-config-printer-0:0.6.116.10-1.6.el4
Fixed · RHSA-2011:1196
Red Hat Enterprise Linux 5
system-config-printer-0:0.7.32.10-1.el5_7.1
Fixed · RHSA-2011:1196
Red Hat Enterprise Linux 6
system-config-printer
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | system-config-printer-0:0.6.116.10-1.6.el4 | Fixed | RHSA-2011:1196 |
| Red Hat Enterprise Linux 5 | system-config-printer-0:0.7.32.10-1.el5_7.1 | Fixed | RHSA-2011:1196 |
| Red Hat Enterprise Linux 6 | system-config-printer | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:H/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.97% (0.01967) | 79.64th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.97% (0.01967) | 77.71th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.59% (0.00586) | 67.20th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.51% (0.00514) | 77.45th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.51% (0.00509) | 75.87th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.51% (0.00509) | 72.92th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.11% (0.01108) | 54.62th | v2 (v2022.01.01) |
| Feb 3, 2023 | 3.43% (0.03425) | 84.29th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
References (9)
- http://cvs.savannah.gnu.org/viewvc/foomatic-gui/foomatic/pysmb.py?root=foomatic-gui&r1=1.2&r2=1.3&view=patch x_refsource_MISCPatch
- http://secunia.com/advisories/45744 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2011-1196.html vendor-advisoryx_refsource_REDHATVendor Advisory
- http://www.securitytracker.com/id?1025967 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2011-2899 Vendor Advisory
- https://bugs.launchpad.net/ubuntu/+source/foomatic-gui/+bug/811119 x_refsource_MISCPatch
- https://bugzilla.redhat.com/show_bug.cgi?id=728348 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2011-2899
- https://www.cve.org/CVERecord?id=CVE-2011-2899
| Link | Providers | Tags |
|---|---|---|
| http://cvs.savannah.gnu.org/viewvc/foomatic-gui/foomatic/pysmb.py?root=foomatic-gui&r1=1.2&r2=1.3&view=patch | x_refsource_MISCPatch | |
| http://secunia.com/advisories/45744 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://www.redhat.com/support/errata/RHSA-2011-1196.html | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| http://www.securitytracker.com/id?1025967 | vdb-entryx_refsource_SECTRACK | |
| https://access.redhat.com/security/cve/CVE-2011-2899 | Vendor Advisory | |
| https://bugs.launchpad.net/ubuntu/+source/foomatic-gui/+bug/811119 | x_refsource_MISCPatch | |
| https://bugzilla.redhat.com/show_bug.cgi?id=728348 | x_refsource_CONFIRMPatchIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-2899 | ||
| https://www.cve.org/CVERecord?id=CVE-2011-2899 |
Change history (0)
No recorded changes yet.