Every CVE Search/ Get API key

CVE-2005-2797

OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding ("-D...

5.0 MediumFix available

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.

Exploit likelihood

2.20%Up 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2005-2797
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2005-2797
Updated
2026-11-02
EUVDEUVD-2005-2798 No score

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.

Record
EUVD-2005-2798
Updated
2026-11-03
GitHub AdvisoriesGHSA-c9fh-84vx-4p2p No score

OpenSSH 4.0, and other versions before 4.2, does not properly handle dynamic port forwarding ("-D...

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.

Record
GHSA-c9fh-84vx-4p2p
Updated
2026-11-02
OSV No score

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.

Record
CVE-2005-2797
Updated
2026-11-02
OSVDEBIAN-CVE-2005-2797 No score

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.

Record
DEBIAN-CVE-2005-2797
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openssh
Debian:12
before 1:4.2p1-1
1:4.2p1-1
openssh
Debian:13
before 1:4.2p1-1
1:4.2p1-1
openssh
Debian:14
before 1:4.2p1-1
1:4.2p1-1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2005-2797 is a medium vulnerability (CVSS 5.0) in Openbsd Openssh, published September 6, 2005. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.20%, the 82nd percentile. Fixed in openssh 1:4.2p1-1.

References

Show 7 moreShow less
MoveEnter Open