{"id":"USN-6592-1","summary":"libssh vulnerabilities","details":"It was discovered that libssh incorrectly handled the ProxyCommand and the\nProxyJump features. A remote attacker could possibly use this issue to\ninject malicious code into the command of the features mentioned through\nthe hostname parameter. (CVE-2023-6004)\n\nIt was discovered that libssh incorrectly handled return codes when\nperforming message digest operations. A remote attacker could possibly use\nthis issue to cause libssh to crash, obtain sensitive information, or\nexecute arbitrary code. (CVE-2023-6918)\n","modified":"2026-02-10T04:43:28Z","published":"2024-01-22T13:05:30Z","related":["UBUNTU-CVE-2023-6004","UBUNTU-CVE-2023-6918"],"upstream":["CVE-2023-6004","CVE-2023-6918","UBUNTU-CVE-2023-6004","UBUNTU-CVE-2023-6918"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6592-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-6004"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-6918"}],"affected":[{"package":{"name":"libssh","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libssh@0.9.3-2ubuntu2.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3-2ubuntu2.5"}]}],"versions":["0.9.0-1ubuntu1","0.9.0-1ubuntu4","0.9.0-1ubuntu5","0.9.3-2ubuntu1","0.9.3-2ubuntu2","0.9.3-2ubuntu2.1","0.9.3-2ubuntu2.2","0.9.3-2ubuntu2.3","0.9.3-2ubuntu2.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.9.3-2ubuntu2.5","binary_name":"libssh-4"},{"binary_version":"0.9.3-2ubuntu2.5","binary_name":"libssh-dev"},{"binary_version":"0.9.3-2ubuntu2.5","binary_name":"libssh-gcrypt-4"},{"binary_version":"0.9.3-2ubuntu2.5","binary_name":"libssh-gcrypt-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6592-1.json","cves_map":{"cves":[{"id":"CVE-2023-6004","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2023-6918","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"libssh","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libssh@0.9.6-2ubuntu0.22.04.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-2ubuntu0.22.04.3"}]}],"versions":["0.9.6-1","0.9.6-1build1","0.9.6-2","0.9.6-2build1","0.9.6-2ubuntu0.22.04.1","0.9.6-2ubuntu0.22.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.9.6-2ubuntu0.22.04.3","binary_name":"libssh-4"},{"binary_version":"0.9.6-2ubuntu0.22.04.3","binary_name":"libssh-dev"},{"binary_version":"0.9.6-2ubuntu0.22.04.3","binary_name":"libssh-gcrypt-4"},{"binary_version":"0.9.6-2ubuntu0.22.04.3","binary_name":"libssh-gcrypt-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6592-1.json","cves_map":{"cves":[{"id":"CVE-2023-6004","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2023-6918","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.3"}