All vulnerabilities

Servers and applications

CVE-2005-2797

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
Medium 5.0
Published
6 Sept 2005
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
2.2% in the next 30 daysHigher than 82% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
OpenSSHServers and applications · cpe:a:openbsd:openssh
  • Version 4.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2005-2797
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2005-2797