{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2011-2697 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2011-2697 is a medium-severity command injection vulnerability in n/a, published on 29 Jul 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2011-2697 and fix it if it is affected.\n\nWhat it is: CVE-2011-2697 is a medium-severity command injection vulnerability in n/a, published on 29 Jul 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2011-2697 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-2697/ (Markdown: https://insights.sbomify.com/CVE-2011-2697/index.md)","id":"CVE-2011-2697","markdown":"https://insights.sbomify.com/CVE-2011-2697/index.md","name":"CVE-2011-2697","record":{"aliases":["DEBIAN-CVE-2011-2697","GHSA-fwm5-c4jq-p4wv","RHSA-2011:1109"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HPLIP printing software","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into processing a malicious PPD file with the HPLIP printing software.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"linux_imaging_and_printing_project","vendor":"hp"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"foomatic-rip-hplip in HP Linux Imaging and Printing (HPLIP) 3.11.5 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file.","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-2697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2011"},"n_packages":12,"n_references":10,"next":{"headline":"Integer overflow in n/a","id":"CVE-2011-2698"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.2-3.2.el4"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.2-38.3.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.2-38.3.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.2-38.3.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"foomatic","purl":"pkg:rpm/redhat/foomatic","source":"RHSA-2011:1109"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.2-38.3.el5_7.1"],"introduced":["0"],"last_affected":[],"package":"foomatic-debuginfo","purl":"pkg:rpm/redhat/foomatic-debuginfo","source":"RHSA-2011:1109"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2011-2696"},"products":["n/a"],"published":"2011-07-29","related":[{"cvss_score":7.6,"headline":"Command injection in n/a","id":"CVE-2007-5208","kev_date_added":null,"published":"2007-10-13"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2010-4267","kev_date_added":null,"published":"2011-01-20"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2008-2940","kev_date_added":null,"published":"2008-08-14"},{"cvss_score":6.9,"headline":"Race condition in n/a","id":"CVE-2013-4325","kev_date_added":null,"published":"2013-09-23"},{"cvss_score":6.8,"headline":"Code injection in n/a","id":"CVE-2013-6427","kev_date_added":null,"published":"2013-12-09"},{"cvss_score":4.9,"headline":"Denial of service in n/a","id":"CVE-2008-2941","kev_date_added":null,"published":"2008-08-14"}],"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 attackers can execute arbitrary code by tricking users into processing a malicious PPD file with the HPLIP printing software.","url":"https://insights.sbomify.com/CVE-2011-2697/"}