{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0159 exists.","fix":"Apply the vendor's patch.","what":"CVE-2004-0159 is a high-severity vulnerability in n/a, published on 1 Sep 2004. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-0159 and fix it if it is affected.\n\nWhat it is: CVE-2004-0159 is a high-severity vulnerability in n/a, published on 1 Sep 2004. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0159 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-2004-0159/ (Markdown: https://insights.sbomify.com/CVE-2004-0159/index.md)","id":"CVE-2004-0159","markdown":"https://insights.sbomify.com/CVE-2004-0159/index.md","name":"CVE-2004-0159","record":{"aliases":["DSA-447","GHSA-7v4p-3v84-r8mc"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"hsftp server","requires_auth":"low_privilege","summary":"Authenticated remote attackers can cause denial of service or execute arbitrary code via format string characters in filenames during ls commands.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"hsftp","vendor":"samhain_labs"}],"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":"Format string vulnerability in hsftp 1.11 allows remote authenticated users to cause a denial of service and possibly execute arbitrary code via file names containing format string characters that are not properly handled when executing an \"ls\" command.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-02-23","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-02-23","kind":"exploitdb","ref":"23740","stars":null,"title":"Samhain Labs 1.x - HSFTP Remote Format String"}],"tier":"weaponised"},"has_fix":true,"headline":"Other in n/a","id":"CVE-2004-0159","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2004"},"n_packages":0,"n_references":5,"next":{"headline":"Path traversal in n/a","id":"CVE-2004-0160"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-0158"},"products":["n/a"],"published":"2004-09-01","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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Authenticated remote attackers can cause denial of service or execute arbitrary code via format string characters in filenames during ls commands.","url":"https://insights.sbomify.com/CVE-2004-0159/"}