{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2004-0175 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0175 is a medium-severity path traversal vulnerability in OpenSSH, published on 3 Jun 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-0175 and fix it if it is affected.\n\nWhat it is: CVE-2004-0175 is a medium-severity path traversal vulnerability in OpenSSH, published on 3 Jun 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2004-0175 in the wild and no public exploit code.\n\nAffected product: OpenSSH. 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-0175/ (Markdown: https://insights.sbomify.com/CVE-2004-0175/index.md)","id":"CVE-2004-0175","markdown":"https://insights.sbomify.com/CVE-2004-0175/index.md","name":"CVE-2004-0175","record":{"aliases":["DEBIAN-CVE-2004-0175","GHSA-384q-pv6w-p8vv","RHSA-2005:074","RHSA-2005:106","RHSA-2005:165"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSH client","requires_auth":"none","summary":"A malicious SSH server can exploit a directory traversal flaw in the OpenSSH client to overwrite arbitrary files on the connecting user's system.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openssh","vendor":"openbsd"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in scp for OpenSSH before 3.4p1 allows remote malicious servers to overwrite arbitrary files.  NOTE: this may be a rediscovery of CVE-2000-0992.","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":"Path traversal in n/a","id":"CVE-2004-0175","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"openbsd:openssh","products":["openbsd:openssh"],"type":"path_traversal","year":"2004"},"n_packages":48,"n_references":21,"next":{"headline":"Memory corruption in n/a","id":"CVE-2004-0176"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass-gnome","purl":"pkg:rpm/redhat/openssh-askpass-gnome","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-debuginfo","purl":"pkg:rpm/redhat/rsh-debuginfo","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-server","purl":"pkg:rpm/redhat/rsh-server","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass-gnome","purl":"pkg:rpm/redhat/openssh-askpass-gnome","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-debuginfo","purl":"pkg:rpm/redhat/rsh-debuginfo","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-server","purl":"pkg:rpm/redhat/rsh-server","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass-gnome","purl":"pkg:rpm/redhat/openssh-askpass-gnome","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-debuginfo","purl":"pkg:rpm/redhat/rsh-debuginfo","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-server","purl":"pkg:rpm/redhat/rsh-server","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass-gnome","purl":"pkg:rpm/redhat/openssh-askpass-gnome","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.6.1p2-33.30.4"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2005:106"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-debuginfo","purl":"pkg:rpm/redhat/rsh-debuginfo","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:0.17-17.6"],"introduced":["0"],"last_affected":[],"package":"rsh-server","purl":"pkg:rpm/redhat/rsh-server","source":"RHSA-2005:074"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.17-25.3"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:165"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.17-25.3"],"introduced":["0"],"last_affected":[],"package":"rsh-debuginfo","purl":"pkg:rpm/redhat/rsh-debuginfo","source":"RHSA-2005:165"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:0.17-25.3"],"introduced":["0"],"last_affected":[],"package":"rsh-server","purl":"pkg:rpm/redhat/rsh-server","source":"RHSA-2005:165"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:0.17-25.3"],"introduced":["0"],"last_affected":[],"package":"rsh","purl":"pkg:rpm/redhat/rsh","source":"RHSA-2005:165"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2004-0174"},"products":["n/a"],"published":"2004-06-03","related":[{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2003-0786","kev_date_added":null,"published":"2003-09-25"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2003-0693","kev_date_added":null,"published":"2003-09-17"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2002-0640","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2001-0144","kev_date_added":null,"published":"2001-05-07"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2000-0999","kev_date_added":null,"published":"2000-11-29"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2000-0525","kev_date_added":null,"published":"2000-10-13"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2010-4478","kev_date_added":null,"published":"2010-12-06"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"A malicious SSH server can exploit a directory traversal flaw in the OpenSSH client to overwrite arbitrary files on the connecting user's system.","url":"https://insights.sbomify.com/CVE-2004-0175/"}