{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2009-0315 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2009-0315 yet. Limit exposure of the affected software until one is available.","what":"CVE-2009-0315 is a medium-severity code injection vulnerability in n/a, published on 28 Jan 2009. 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-2009-0315 and fix it if it is affected.\n\nWhat it is: CVE-2009-0315 is a medium-severity code injection vulnerability in n/a, published on 28 Jan 2009. 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-2009-0315 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-2009-0315/ (Markdown: https://insights.sbomify.com/CVE-2009-0315/index.md)","id":"CVE-2009-0315","markdown":"https://insights.sbomify.com/CVE-2009-0315/index.md","name":"CVE-2009-0315","record":{"aliases":["GHSA-f2r4-w89x-fvh9"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"XChat IRC client","requires_auth":"none","summary":"Local attackers can execute arbitrary code by placing a malicious Python file in the current working directory when XChat is launched.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"xchat","vendor":"xchat"}],"cvss":{"score":6.9,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Untrusted search path vulnerability in the Python module in xchat allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).","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":"Code injection in n/a","id":"CVE-2009-0315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2009"},"n_packages":0,"n_references":4,"next":{"headline":"Code injection in n/a","id":"CVE-2009-0316"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2009-0314"},"products":["n/a"],"published":"2009-01-28","related":[{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2001-0792","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2004-0409","kev_date_added":null,"published":"2004-04-17"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2003-1000","kev_date_added":null,"published":"2003-12-17"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2002-0006","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2002-0382","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2000-0787","kev_date_added":null,"published":"2000-10-13"}],"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-07","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary code by placing a malicious Python file in the current working directory when XChat is launched.","url":"https://insights.sbomify.com/CVE-2009-0315/"}