{"id":"CVE-2005-2797","aliases":["DEBIAN-CVE-2005-2797","EUVD-2005-2798","GHSA-c9fh-84vx-4p2p"],"status":"published","title":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D...","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02204,"percentile":0.82677,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-09-06T04:00:00Z","modified":"2026-10-23T03:47:38Z","fixes":[{"ecosystem":"Debian:12","package":"openssh","fixed_in":["1:4.2p1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openssh","fixed_in":["1:4.2p1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openssh","fixed_in":["1:4.2p1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2p1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2p1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2p1-1"}]}]}],"products":[{"vendor":"openbsd","product":"openssh"}],"references":[{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.53/SCOSA-2005.53.txt","tags":["vendor-advisory","x_refsource_SCO","x_transferred","web"]},{"url":"http://secunia.com/advisories/19243","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=112605977304049\u0026w=2","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred","web"]},{"url":"http://www.osvdb.org/19142","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.11/SCOSA-2006.11.txt","tags":["vendor-advisory","x_refsource_SCO","x_transferred","web"]},{"url":"http://secunia.com/advisories/18661","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/18010","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mindrot.org/pipermail/openssh-unix-announce/2005-September/000083.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-033.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/14727","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://securitytracker.com/id?1014845","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/16686","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2797"},{"url":"https://github.com/advisories/GHSA-c9fh-84vx-4p2p"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-2797","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-2797","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2005-09-06T04:00:00Z","modified":"2024-08-07T22:45:02.273Z","updated_at":"2026-11-02T14:33:37.840038Z"}],"euvd":[{"id":"EUVD-2005-2798","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2005-09-06T04:00:00Z","modified":"2024-08-07T22:45:02Z","updated_at":"2026-11-03T01:15:29.121949Z"}],"ghsa":[{"id":"GHSA-c9fh-84vx-4p2p","title":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D...","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2022-05-03T03:14:20Z","modified":"2023-02-01T05:01:12Z","updated_at":"2026-11-02T14:49:41.113902Z"}],"nvd":[{"id":"CVE-2005-2797","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2005-09-06T17:03:00Z","modified":"2026-06-16T22:15:41.97Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:56.902692Z"}],"osv":[{"id":"CVE-2005-2797","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2005-09-06T17:03:00Z","modified":"2026-04-10T03:38:12.11628Z","updated_at":"2026-11-02T15:43:56.581247Z"},{"id":"DEBIAN-CVE-2005-2797","description":"OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding (\"-D\" option) when a listen address is not provided, which may cause OpenSSH to enable the GatewayPorts functionality.","status":"published","published":"2005-09-06T17:03:00Z","modified":"2026-10-23T03:47:38.436904927Z","updated_at":"2026-11-02T15:45:22.831407Z"}]}}
