{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2005-2471 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2005-2471 is a high-severity command injection vulnerability in n/a, published on 5 Aug 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2005-2471 and fix it if it is affected.\n\nWhat it is: CVE-2005-2471 is a high-severity command injection vulnerability in n/a, published on 5 Aug 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2005-2471 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-2005-2471/ (Markdown: https://insights.sbomify.com/CVE-2005-2471/index.md)","id":"CVE-2005-2471","markdown":"https://insights.sbomify.com/CVE-2005-2471/index.md","name":"CVE-2005-2471","record":{"aliases":["DEBIAN-CVE-2005-2471","DSA-1021-1","GHSA-9hfq-3c4w-mxr2","RHSA-2005:743"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Netpbm image library","requires_auth":"none","summary":"Attackers can execute arbitrary commands via malicious PostScript files due to improper Ghostscript sandboxing in pstopnm.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netpbm","vendor":"netpbm"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"pstopnm in netpbm does not properly use the \"-dSAFER\" option when calling Ghostscript to convert a PostScript file into a (1) PBM, (2) PGM, or (3) PNM file, which allows external user-assisted attackers to execute arbitrary commands.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"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-2005-2471","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2005"},"n_packages":32,"n_references":13,"next":{"headline":"Memory corruption in n/a","id":"CVE-2005-2472"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:9.24-11.30.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:743"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.1"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:743"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2005-2470"},"products":["n/a"],"published":"2005-08-05","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2009-4274","kev_date_added":null,"published":"2010-02-12"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-2978","kev_date_added":null,"published":"2005-10-18"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2003-0146","kev_date_added":null,"published":"2003-03-18"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2008-0554","kev_date_added":null,"published":"2008-02-08"},{"cvss_score":5,"headline":"Memory corruption in n/a","id":"CVE-2006-3145","kev_date_added":null,"published":"2006-06-22"},{"cvss_score":4.6,"headline":"Memory corruption in n/a","id":"CVE-2005-3632","kev_date_added":null,"published":"2005-11-21"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via malicious PostScript files due to improper Ghostscript sandboxing in pstopnm.","url":"https://insights.sbomify.com/CVE-2005-2471/"}