UBUNTU-CVE-2016-0787

Source
https://ubuntu.com/security/CVE-2016-0787
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-0787.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2016-0787
Related
Published
2016-04-13T17:59:00Z
Modified
2016-04-13T17:59:00Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

The diffiehellmansha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."

References

Affected packages

Ubuntu:14.04:LTS / libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.3-2ubuntu0.1

Affected versions

1.*

1.4.3-1
1.4.3-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.3-2ubuntu0.1",
            "binary_name": "libssh2-1"
        },
        {
            "binary_version": "1.4.3-2ubuntu0.1",
            "binary_name": "libssh2-1-dbg"
        },
        {
            "binary_version": "1.4.3-2ubuntu0.1",
            "binary_name": "libssh2-1-dbgsym"
        },
        {
            "binary_version": "1.4.3-2ubuntu0.1",
            "binary_name": "libssh2-1-dev"
        },
        {
            "binary_version": "1.4.3-2ubuntu0.1",
            "binary_name": "libssh2-1-dev-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.0-2ubuntu0.1

Affected versions

1.*

1.5.0-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.5.0-2ubuntu0.1",
            "binary_name": "libssh2-1"
        },
        {
            "binary_version": "1.5.0-2ubuntu0.1",
            "binary_name": "libssh2-1-dbg"
        },
        {
            "binary_version": "1.5.0-2ubuntu0.1",
            "binary_name": "libssh2-1-dbgsym"
        },
        {
            "binary_version": "1.5.0-2ubuntu0.1",
            "binary_name": "libssh2-1-dev"
        },
        {
            "binary_version": "1.5.0-2ubuntu0.1",
            "binary_name": "libssh2-1-dev-dbgsym"
        }
    ]
}