{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5208 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-5208 is a high-severity command injection vulnerability in n/a, published on 13 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5208 and fix it if it is affected.\n\nWhat it is: CVE-2007-5208 is a high-severity command injection vulnerability in n/a, published on 13 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5208 exists.\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-2007-5208/ (Markdown: https://insights.sbomify.com/CVE-2007-5208/index.md)","id":"CVE-2007-5208","markdown":"https://insights.sbomify.com/CVE-2007-5208/index.md","name":"CVE-2007-5208","record":{"aliases":["DEBIAN-CVE-2007-5208","DSA-1462-1","DTSA-72-1","GHSA-qjxj-rc6r-r77w","RHSA-2007:0960","openSUSE-SU-2024:10847-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HP Linux Printing","requires_auth":"none","summary":"Attackers can execute arbitrary commands on HP Linux Printing systems by injecting shell metacharacters into email from addresses processed by sendmail.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"linux_imaging_and_printing_project","vendor":"hp"}],"cvss":{"score":7.6,"severity":"high","source":"nvd","vector":"AV:N/AC:H/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"hpssd in Hewlett-Packard Linux Imaging and Printing Project (hplip) 1.x and 2.x before 2.7.10 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a from address, which is not properly handled when invoking sendmail.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server","openSUSE:Tumbleweed"],"exploits":{"exploitdb":1,"first_seen":"2007-10-04","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2007-10-04","kind":"metasploit","ref":"exploit/linux/misc/hplip_hpssd_exec","stars":null,"title":"HPLIP hpssd.py From Address Arbitrary Command Execution"},{"date":"2010-10-09","kind":"exploitdb","ref":"16837","stars":null,"title":"hplip - 'hpssd.py' From Address Arbitrary Command Execution (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2007-5208","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2007"},"n_packages":9,"n_references":24,"next":{"headline":"Memory corruption in n/a","id":"CVE-2007-5209"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hpijs","purl":"pkg:rpm/redhat/hpijs","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hplip","purl":"pkg:rpm/redhat/hplip","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hplip-debuginfo","purl":"pkg:rpm/redhat/hplip-debuginfo","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"libsane-hpaio","purl":"pkg:rpm/redhat/libsane-hpaio","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["1:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hpijs","purl":"pkg:rpm/redhat/hpijs","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hplip","purl":"pkg:rpm/redhat/hplip","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"hplip-debuginfo","purl":"pkg:rpm/redhat/hplip-debuginfo","source":"RHSA-2007:0960"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.6.7-4.1.el5_0.3"],"introduced":["0"],"last_affected":[],"package":"libsane-hpaio","purl":"pkg:rpm/redhat/libsane-hpaio","source":"RHSA-2007:0960"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.21.6-1.2"],"introduced":["0"],"last_affected":[],"package":"hplip","purl":"pkg:rpm/opensuse/hplip\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10847-1"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2007-5207"},"products":["n/a"],"published":"2007-10-13","related":[{"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":6.8,"headline":"Command injection in n/a","id":"CVE-2011-2697","kev_date_added":null,"published":"2011-07-29"},{"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands on HP Linux Printing systems by injecting shell metacharacters into email from addresses processed by sendmail.","url":"https://insights.sbomify.com/CVE-2007-5208/"}