{"answers":{"affected":"It affects 37 products.","exploited":"There is no known exploitation of CVE-2012-5221 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2012-5221 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-5221 is a medium-severity path traversal vulnerability in n/a, published on 29 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-5221 and fix it if it is affected.\n\nWhat it is: CVE-2012-5221 is a medium-severity path traversal vulnerability in n/a, published on 29 Apr 2013. 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-2012-5221 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-2012-5221/ (Markdown: https://insights.sbomify.com/CVE-2012-5221/index.md)","id":"CVE-2012-5221","markdown":"https://insights.sbomify.com/CVE-2012-5221/index.md","name":"CVE-2012-5221","record":{"aliases":["GHSA-pfmf-q62w-88j9"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HP LaserJet printer","requires_auth":"none","summary":"Remote attackers can read arbitrary files from HP LaserJet printers via a directory traversal vulnerability in the PostScript Interpreter.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hp","cpe":[{"product":"color_laserjet_3000","vendor":"hp"},{"product":"color_laserjet_3800","vendor":"hp"},{"product":"color_laserjet_4700","vendor":"hp"},{"product":"color_laserjet_4730_mfp","vendor":"hp"},{"product":"color_laserjet_5550","vendor":"hp"},{"product":"color_laserjet_9500_mfp","vendor":"hp"},{"product":"color_laserjet_cm6030_mfp","vendor":"hp"},{"product":"color_laserjet_cm6040_mfp","vendor":"hp"},{"product":"color_laserjet_cp3505","vendor":"hp"},{"product":"color_laserjet_cp3525","vendor":"hp"},{"product":"color_laserjet_cp4005","vendor":"hp"},{"product":"color_laserjet_cp6015","vendor":"hp"},{"product":"color_laserjet_enterprise_cp4025","vendor":"hp"},{"product":"color_laserjet_enterprise_cp4525","vendor":"hp"},{"product":"digital_sender_9250c","vendor":"hp"},{"product":"laserjet_4240","vendor":"hp"},{"product":"laserjet_4250","vendor":"hp"},{"product":"laserjet_4345_mfp","vendor":"hp"},{"product":"laserjet_4350","vendor":"hp"},{"product":"laserjet_5200l","vendor":"hp"},{"product":"laserjet_5200n","vendor":"hp"},{"product":"laserjet_9040","vendor":"hp"},{"product":"laserjet_9040_mfp","vendor":"hp"},{"product":"laserjet_9050","vendor":"hp"},{"product":"laserjet_9050_mfp","vendor":"hp"},{"product":"laserjet_enterprise_p3015","vendor":"hp"},{"product":"laserjet_m3027_mfp","vendor":"hp"},{"product":"laserjet_m3035_mfp","vendor":"hp"},{"product":"laserjet_m4345_mfp","vendor":"hp"},{"product":"laserjet_m5025_mfp","vendor":"hp"},{"product":"laserjet_m5035_mfp","vendor":"hp"},{"product":"laserjet_m9040_mpf","vendor":"hp"},{"product":"laserjet_m9050_mpf","vendor":"hp"},{"product":"laserjet_p3005","vendor":"hp"},{"product":"laserjet_p4014","vendor":"hp"},{"product":"laserjet_p4015","vendor":"hp"},{"product":"laserjet_p4515","vendor":"hp"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[],"description":"Directory traversal vulnerability in the PostScript Interpreter, as used on the HP LaserJet 4xxx, 5200, 90xx, M30xx, M4345, M50xx, M90xx, P3005, and P4xxx; LaserJet Enterprise P3015; Color LaserJet 3xxx, 47xx, 5550, 9500, CM60xx, CP35xx, CP4005, and CP6015; Color LaserJet Enterprise CP4xxx; and 9250c Digital Sender with model-dependent firmware through 52.x allows remote attackers to read arbitrary files via unknown vectors.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2012-5221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2012"},"n_packages":0,"n_references":3,"next":{"headline":"Information disclosure in n/a","id":"CVE-2012-5222"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2012-5220"},"products":["n/a"],"published":"2013-04-29","related":[{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2011-4161","kev_date_added":null,"published":"2011-12-01"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files from HP LaserJet printers via a directory traversal vulnerability in the PostScript Interpreter.","url":"https://insights.sbomify.com/CVE-2012-5221/"}