{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2011-2899 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2011-2899 is a medium-severity command injection vulnerability in n/a, published on 31 Aug 2011. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-2899 and fix it if it is affected.\n\nWhat it is: CVE-2011-2899 is a medium-severity command injection vulnerability in n/a, published on 31 Aug 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2011-2899 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2011-2899/ (Markdown: https://insights.sbomify.com/CVE-2011-2899/index.md)","id":"CVE-2011-2899","markdown":"https://insights.sbomify.com/CVE-2011-2899/index.md","name":"CVE-2011-2899","record":{"aliases":["GHSA-hrxj-q3gx-5g5q","RHSA-2011:1196"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Printer configuration tool","requires_auth":"none","summary":"Remote SMB servers can execute arbitrary commands on systems using system-config-printer via shell metacharacters in NetBIOS or workgroup names.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"system-config-printer","vendor":"redhat"}],"cvss":{"score":5.1,"severity":"medium","source":"nvd","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2011-2899","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2011"},"n_packages":18,"n_references":6,"next":{"headline":"Memory corruption in n/a","id":"CVE-2011-2900"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-gui","purl":"pkg:rpm/redhat/system-config-printer-gui","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-gui","purl":"pkg:rpm/redhat/system-config-printer-gui","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-gui","purl":"pkg:rpm/redhat/system-config-printer-gui","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:0.6.116.10-1.6.el4"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-gui","purl":"pkg:rpm/redhat/system-config-printer-gui","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-libs","purl":"pkg:rpm/redhat/system-config-printer-libs","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer","purl":"pkg:rpm/redhat/system-config-printer","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-debuginfo","purl":"pkg:rpm/redhat/system-config-printer-debuginfo","source":"RHSA-2011:1196"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:0.7.32.10-1.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"system-config-printer-libs","purl":"pkg:rpm/redhat/system-config-printer-libs","source":"RHSA-2011:1196"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2011-2898"},"products":["n/a"],"published":"2011-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote SMB servers can execute arbitrary commands on systems using system-config-printer via shell metacharacters in NetBIOS or workgroup names.","url":"https://insights.sbomify.com/CVE-2011-2899/"}