{"answers":{"affected":"It affects 38 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-2741 exists.","fix":"No fix has been published for CVE-2017-2741 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-2741 is a critical code injection vulnerability in HP PageWide Printers; HP OfficeJet Pro Printers, published on 23 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-2741 and fix it if it is affected.\n\nWhat it is: CVE-2017-2741 is a critical code injection vulnerability in HP PageWide Printers; HP OfficeJet Pro Printers, published on 23 Jan 2018. 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-2017-2741 exists.\n\nAffected product: HP PageWide Printers; HP OfficeJet Pro Printers. 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-2017-2741/ (Markdown: https://insights.sbomify.com/CVE-2017-2741/index.md)","id":"CVE-2017-2741","markdown":"https://insights.sbomify.com/CVE-2017-2741/index.md","name":"CVE-2017-2741","record":{"aliases":["GHSA-fwmw-cg25-484w"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HP printer firmware","requires_auth":"none","summary":"Attackers can execute arbitrary code on HP PageWide and OfficeJet Pro printers via a firmware vulnerability, requiring a firmware update.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hp","cpe":[{"product":"d3q15a_firmware","vendor":"hp"},{"product":"d3q15b_firmware","vendor":"hp"},{"product":"d3q15d_firmware","vendor":"hp"},{"product":"d3q16a_firmware","vendor":"hp"},{"product":"d3q16b_firmware","vendor":"hp"},{"product":"d3q16c_firmware","vendor":"hp"},{"product":"d3q16d_firmware","vendor":"hp"},{"product":"d3q17a_firmware","vendor":"hp"},{"product":"d3q17c_firmware","vendor":"hp"},{"product":"d3q17d_firmware","vendor":"hp"},{"product":"d3q19a_firmware","vendor":"hp"},{"product":"d3q19d_firmware","vendor":"hp"},{"product":"d3q20a_firmware","vendor":"hp"},{"product":"d3q20b_firmware","vendor":"hp"},{"product":"d3q20c_firmware","vendor":"hp"},{"product":"d3q20d_firmware","vendor":"hp"},{"product":"d3q21a_firmware","vendor":"hp"},{"product":"d3q21c_firmware","vendor":"hp"},{"product":"d3q21d_firmware","vendor":"hp"},{"product":"d9l20a_firmware","vendor":"hp"},{"product":"d9l21a_firmware","vendor":"hp"},{"product":"d9l63a_firmware","vendor":"hp"},{"product":"d9l64a_firmware","vendor":"hp"},{"product":"j3p68a_firmware","vendor":"hp"},{"product":"j6u55a_firmware","vendor":"hp"},{"product":"j6u55b_firmware","vendor":"hp"},{"product":"j6u55c_firmware","vendor":"hp"},{"product":"j6u55d_firmware","vendor":"hp"},{"product":"j6u57b_firmware","vendor":"hp"},{"product":"j9v80a_firmware","vendor":"hp"},{"product":"j9v80b_firmware","vendor":"hp"},{"product":"j9v82a_firmware","vendor":"hp"},{"product":"j9v82b_firmware","vendor":"hp"},{"product":"j9v82c_firmware","vendor":"hp"},{"product":"j9v82d_firmware","vendor":"hp"},{"product":"k9z76a_firmware","vendor":"hp"},{"product":"k9z76d_firmware","vendor":"hp"},{"product":"t0g70a_firmware","vendor":"hp"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"A potential security vulnerability has been identified with HP PageWide Printers, HP OfficeJet Pro Printers, with firmware before 1708D. This vulnerability could potentially be exploited to execute arbitrary code.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2017-04-05","github_poc":1,"max_poc_stars":0,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-04-05","kind":"metasploit","ref":"exploit/linux/misc/hp_jetdirect_path_traversal","stars":null,"title":"HP Jetdirect Path Traversal Arbitrary Code Execution"},{"date":"2017-06-14","kind":"exploitdb","ref":"42176","stars":null,"title":"HP PageWide Printers / HP OfficeJet Pro Printers (OfficeJet Pro 8210) - Arbitrary Code Execution"},{"date":"2018-08-27","kind":"exploitdb","ref":"45273","stars":null,"title":"HP Jetdirect - Path Traversal Arbitrary Code Execution (Metasploit)"},{"date":"2018-08-27","kind":"exploitdb","ref":"45273","stars":null,"title":"HP Jetdirect - Path Traversal Arbitrary Code Execution (Metasploit)"},{"date":"2021-08-11T20:39:05Z","kind":"github_poc","ref":"https://github.com/dopheide-esnet/zeek-jetdirect","stars":0,"title":"Zeek Package to detect cve-2017-2741"}],"tier":"weaponised"},"has_fix":null,"headline":"Code injection in HP PageWide Printers; HP OfficeJet Pro Printers","id":"CVE-2017-2741","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2017"},"n_packages":0,"n_references":3,"next":{"headline":"A potential security vulnerability has been identified with HP Web Jetadmin before 10.4 SR2.","id":"CVE-2017-2742"},"packages":[],"prev":{"headline":"Privilege escalation in HP ThinPro","id":"CVE-2017-2740"},"products":["HP PageWide Printers; HP OfficeJet Pro Printers"],"published":"2018-01-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["HP Inc."]},"summary":"Attackers can execute arbitrary code on HP PageWide and OfficeJet Pro printers via a firmware vulnerability, requiring a firmware update.","url":"https://insights.sbomify.com/CVE-2017-2741/"}