{"schemaVersion":3,"id":"CVE-2004-0175","aliases":["RHSA-2005:074","RHSA-2005:106","RHSA-2005:165","DEBIAN-CVE-2004-0175"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2004-06-03T04:00:00.000Z","modified":"2024-08-08T00:10:03.600Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0182,"percentile":0.78429,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0182},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0182,"percentile":0.78429}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0182,"percentile":0.78429}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openssh","purlType":"deb","versions":[{"text":"< 1:3.9p1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.9p1-1","eol":null,"hubHref":null},{"vendor":"openbsd","product":"openssh","name":"openssh","label":"openssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null},{"text":"3.0.1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.1p1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.2","noFixRecorded":false,"fixedIn":null},{"text":"3.0.2p1","noFixRecorded":false,"fixedIn":null},{"text":"3.0p1","noFixRecorded":false,"fixedIn":null},{"text":"3.1","noFixRecorded":false,"fixedIn":null},{"text":"3.1p1","noFixRecorded":false,"fixedIn":null},{"text":"3.2","noFixRecorded":false,"fixedIn":null},{"text":"3.2.2p1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.3p1","noFixRecorded":false,"fixedIn":null},{"text":"3.3","noFixRecorded":false,"fixedIn":null},{"text":"3.3p1","noFixRecorded":false,"fixedIn":null},{"text":"3.4","noFixRecorded":false,"fixedIn":null},{"text":"3.4p1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0 | 3.0.1 | 3.0.1p1 | 3.0.2 | 3.0.2p1 | 3.0p1 | 3.1 | 3.1p1 | 3.2 | 3.2.2p1 | 3.2.3p1 | 3.3 | 3.3p1 | 3.4 | 3.4p1","eol":null,"hubHref":"/vendor/openbsd/openssh"},{"vendor":"redhat","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openssh-askpass","name":"openssh-askpass","label":"openssh-askpass","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh-askpass","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openssh-askpass-gnome","name":"openssh-askpass-gnome","label":"openssh-askpass-gnome","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh-askpass-gnome","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openssh-clients","name":"openssh-clients","label":"openssh-clients","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh-clients","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openssh-debuginfo","name":"openssh-debuginfo","label":"openssh-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh-debuginfo","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"openssh-server","name":"openssh-server","label":"openssh-server","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/openssh-server","purlType":"rpm","versions":[{"text":"< 0:3.6.1p2-33.30.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:3.6.1p2-33.30.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"rsh","name":"rsh","label":"rsh","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/rsh","purlType":"rpm","versions":[{"text":"< 0:0.17-17.6","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.17-25.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.17-17.6 | < 0:0.17-25.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"rsh-debuginfo","name":"rsh-debuginfo","label":"rsh-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/rsh-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.17-17.6","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.17-25.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.17-17.6 | < 0:0.17-25.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"rsh-server","name":"rsh-server","label":"rsh-server","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/rsh-server","purlType":"rpm","versions":[{"text":"< 0:0.17-17.6","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.17-25.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.17-17.6 | < 0:0.17-25.3","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-165.html","label":"www.redhat.com/support/errata/RHSA-2005-165.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-106.html","label":"www.redhat.com/support/errata/RHSA-2005-106.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-567.html","label":"www.redhat.com/support/errata/RHSA-2005-567.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.juniper.net/support/security/alerts/adv59739.txt","label":"www.juniper.net/support/security/alerts/adv59739.txt","hostname":"www.juniper.net","tags":["X Refsource CONFIRM"]},{"url":"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120147","label":"bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120147","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-495.html","label":"www.redhat.com/support/errata/RHSA-2005-495.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-562.html","label":"www.redhat.com/support/errata/RHSA-2005-562.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:191","label":"www.mandriva.com/security/advisories?name=MDVSA-2008:191","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://www.novell.com/linux/security/advisories/2004_09_kernel.html","label":"www.novell.com/linux/security/advisories/2004_09_kernel.html","hostname":"www.novell.com","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:100","label":"www.mandriva.com/security/advisories?name=MDKSA-2005:100","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://secunia.com/advisories/19243","label":"secunia.com/advisories/19243","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16323","label":"exchange.xforce.ibmcloud.com/vulnerabilities/16323","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10184","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10184","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://secunia.com/advisories/17135","label":"secunia.com/advisories/17135","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-074.html","label":"www.redhat.com/support/errata/RHSA-2005-074.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-481.html","label":"www.redhat.com/support/errata/RHSA-2005-481.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.osvdb.org/9550","label":"www.osvdb.org/9550","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000831","label":"distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000831","hostname":"distro.conectiva.com.br","tags":["Vendor Advisory","X Refsource CONECTIVA"]},{"url":"http://www.ciac.org/ciac/bulletins/o-212.shtml","label":"www.ciac.org/ciac/bulletins/o-212.shtml","hostname":"www.ciac.org","tags":["Third Party Advisory","Government Resource","X Refsource CIAC"]},{"url":"http://www.securityfocus.com/bid/9986","label":"www.securityfocus.com/bid/9986","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Patch","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:074","label":"access.redhat.com/errata/RHSA-2005:074","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=67361","label":"bugzilla.redhat.com/show_bug.cgi?id=67361","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=118630","label":"bugzilla.redhat.com/show_bug.cgi?id=118630","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146435","label":"bugzilla.redhat.com/show_bug.cgi?id=146435","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146437","label":"bugzilla.redhat.com/show_bug.cgi?id=146437","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146464","label":"bugzilla.redhat.com/show_bug.cgi?id=146464","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_074.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_074.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0175","label":"access.redhat.com/security/cve/CVE-2004-0175","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617166","label":"bugzilla.redhat.com/show_bug.cgi?id=1617166","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0175","label":"www.cve.org/CVERecord?id=CVE-2004-0175","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0175","label":"nvd.nist.gov/vuln/detail/CVE-2004-0175","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:106","label":"access.redhat.com/errata/RHSA-2005:106","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=120147","label":"bugzilla.redhat.com/show_bug.cgi?id=120147","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=124602","label":"bugzilla.redhat.com/show_bug.cgi?id=124602","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=141642","label":"bugzilla.redhat.com/show_bug.cgi?id=141642","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_106.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_106.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:165","label":"access.redhat.com/errata/RHSA-2005:165","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146978","label":"bugzilla.redhat.com/show_bug.cgi?id=146978","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146979","label":"bugzilla.redhat.com/show_bug.cgi?id=146979","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_165.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_165.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0175","label":"security-tracker.debian.org/tracker/CVE-2004-0175","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2005:562","RHSA-2005:567"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-06-03T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:10:03.600Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:19:09.504Z","stale":false,"partial":false}}