CVE-2023-6004

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-6004
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6004.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-6004
Related
Published
2024-01-03T17:15:11Z
Modified
2024-09-18T03:25:05.372482Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue may allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter.

References

Affected packages

Debian:11 / libssh

Package

Name
libssh
Purl
pkg:deb/debian/libssh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.8-0+deb11u1

Affected versions

0.*

0.9.5-1
0.9.5-1+deb11u1
0.9.6-1
0.9.6-2
0.9.7-0+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libssh

Package

Name
libssh
Purl
pkg:deb/debian/libssh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.6-0+deb12u1

Affected versions

0.*

0.10.5-2
0.10.5-3
0.10.5-3+hurd.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libssh

Package

Name
libssh
Purl
pkg:deb/debian/libssh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.6-1

Affected versions

0.*

0.10.5-2
0.10.5-3
0.10.5-3+hurd.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / gitlab.com/libssh/libssh-mirror

Affected ranges

Type
GIT
Repo
https://gitlab.com/libssh/libssh-mirror
Events

Affected versions

libssh-0.*

libssh-0.8.0
libssh-0.9.0
libssh-0.9.1
libssh-0.9.2
libssh-0.9.3
libssh-0.9.4
libssh-0.9.5
libssh-0.9.6
libssh-0.9.7