UBUNTU-CVE-2020-1971

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2020-1971
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-1971.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-1971
Related
Published
2020-12-08T00:00:00Z
Modified
2020-12-08T00:00:00Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERALNAMEcmp which compares different instances of a GENERALNAME to see if they are equal or not. This function behaves incorrectly when both GENERALNAMEs contain an EDIPARTYNAME. A NULL pointer dereference and a crash may occur leading to a possible denial of service attack. OpenSSL itself uses the GENERALNAMEcmp function for two purposes: 1) Comparing CRL distribution point names between an available CRL and a CRL distribution point embedded in an X509 certificate 2) When verifying that a timestamp response token signer matches the timestamp authority name (exposed via the API functions TSRESPverifyresponse and TSRESPverifytoken) If an attacker can control both items being compared then that attacker could trigger a crash. For example if the attacker can trick a client or server into checking a malicious certificate against a malicious CRL then this may occur. Note that some applications automatically download CRLs based on a URL embedded in a certificate. This checking happens prior to the signatures on the certificate and CRL being verified. OpenSSL's sserver, sclient and verify tools have support for the "-crl_download" option which implements automatic CRL downloading and this attack has been demonstrated to work against those tools. Note that an unrelated bug means that affected versions of OpenSSL cannot parse or construct correct encodings of EDIPARTYNAME. However it is possible to construct a malformed EDIPARTYNAME that OpenSSL's parser will accept and hence trigger this attack. All OpenSSL 1.1.1 and 1.0.2 versions are affected by this issue. Other OpenSSL releases are out of support and have not been checked. Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h). Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w).

References

Affected packages

Ubuntu:Pro:14.04:LTS / openssl

Package

Name
openssl
Purl
pkg:deb/ubuntu/openssl@1.0.1f-1ubuntu2.27+esm2?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1f-1ubuntu2.27+esm2

Affected versions

1.*

1.0.1e-3ubuntu1
1.0.1e-4ubuntu1
1.0.1e-4ubuntu2
1.0.1e-4ubuntu3
1.0.1e-4ubuntu4
1.0.1f-1ubuntu1
1.0.1f-1ubuntu2
1.0.1f-1ubuntu2.1
1.0.1f-1ubuntu2.2
1.0.1f-1ubuntu2.3
1.0.1f-1ubuntu2.4
1.0.1f-1ubuntu2.5
1.0.1f-1ubuntu2.7
1.0.1f-1ubuntu2.8
1.0.1f-1ubuntu2.11
1.0.1f-1ubuntu2.12
1.0.1f-1ubuntu2.15
1.0.1f-1ubuntu2.16
1.0.1f-1ubuntu2.17
1.0.1f-1ubuntu2.18
1.0.1f-1ubuntu2.19
1.0.1f-1ubuntu2.20
1.0.1f-1ubuntu2.21
1.0.1f-1ubuntu2.22
1.0.1f-1ubuntu2.23
1.0.1f-1ubuntu2.24
1.0.1f-1ubuntu2.25
1.0.1f-1ubuntu2.26
1.0.1f-1ubuntu2.27
1.0.1f-1ubuntu2.27+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libssl1.0.0-udeb-dbgsym": "1.0.1f-1ubuntu2.27+esm2",
            "libssl-dev": "1.0.1f-1ubuntu2.27+esm2",
            "libssl1.0.0": "1.0.1f-1ubuntu2.27+esm2",
            "libssl-doc": "1.0.1f-1ubuntu2.27+esm2",
            "libcrypto1.0.0-udeb-dbgsym": "1.0.1f-1ubuntu2.27+esm2",
            "libssl1.0.0-dbg": "1.0.1f-1ubuntu2.27+esm2",
            "libssl-dev-dbgsym": "1.0.1f-1ubuntu2.27+esm2",
            "openssl": "1.0.1f-1ubuntu2.27+esm2",
            "openssl-dbgsym": "1.0.1f-1ubuntu2.27+esm2",
            "libssl1.0.0-udeb": "1.0.1f-1ubuntu2.27+esm2",
            "libssl1.0.0-dbgsym": "1.0.1f-1ubuntu2.27+esm2",
            "libcrypto1.0.0-udeb": "1.0.1f-1ubuntu2.27+esm2"
        }
    ]
}

Ubuntu:16.04:LTS / openssl

Package

Name
openssl
Purl
pkg:deb/ubuntu/openssl@1.0.2g-1ubuntu4.18?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2g-1ubuntu4.18

Affected versions

1.*

1.0.2d-0ubuntu1
1.0.2d-0ubuntu2
1.0.2e-1ubuntu1
1.0.2f-2ubuntu1
1.0.2g-1ubuntu2
1.0.2g-1ubuntu3
1.0.2g-1ubuntu4
1.0.2g-1ubuntu4.1
1.0.2g-1ubuntu4.2
1.0.2g-1ubuntu4.4
1.0.2g-1ubuntu4.5
1.0.2g-1ubuntu4.6
1.0.2g-1ubuntu4.8
1.0.2g-1ubuntu4.9
1.0.2g-1ubuntu4.10
1.0.2g-1ubuntu4.11
1.0.2g-1ubuntu4.12
1.0.2g-1ubuntu4.13
1.0.2g-1ubuntu4.14
1.0.2g-1ubuntu4.15
1.0.2g-1ubuntu4.16
1.0.2g-1ubuntu4.17

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libssl1.0.0-udeb-dbgsym": "1.0.2g-1ubuntu4.18",
            "libssl-dev": "1.0.2g-1ubuntu4.18",
            "libssl1.0.0": "1.0.2g-1ubuntu4.18",
            "libssl-doc": "1.0.2g-1ubuntu4.18",
            "libcrypto1.0.0-udeb-dbgsym": "1.0.2g-1ubuntu4.18",
            "libssl1.0.0-dbg": "1.0.2g-1ubuntu4.18",
            "libssl-dev-dbgsym": "1.0.2g-1ubuntu4.18",
            "openssl": "1.0.2g-1ubuntu4.18",
            "openssl-dbgsym": "1.0.2g-1ubuntu4.18",
            "libssl1.0.0-udeb": "1.0.2g-1ubuntu4.18",
            "libssl1.0.0-dbgsym": "1.0.2g-1ubuntu4.18",
            "libcrypto1.0.0-udeb": "1.0.2g-1ubuntu4.18"
        }
    ]
}

Ubuntu:18.04:LTS / openssl

Package

Name
openssl
Purl
pkg:deb/ubuntu/openssl@1.1.1-1ubuntu2.1~18.04.7?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-1ubuntu2.1~18.04.7

Affected versions

1.*

1.0.2g-1ubuntu13
1.0.2g-1ubuntu14
1.0.2n-1ubuntu1
1.1.0g-2ubuntu1
1.1.0g-2ubuntu2
1.1.0g-2ubuntu3
1.1.0g-2ubuntu4
1.1.0g-2ubuntu4.1
1.1.0g-2ubuntu4.3
1.1.1-1ubuntu2.1~18.04.1
1.1.1-1ubuntu2.1~18.04.2
1.1.1-1ubuntu2.1~18.04.3
1.1.1-1ubuntu2.1~18.04.4
1.1.1-1ubuntu2.1~18.04.5
1.1.1-1ubuntu2.1~18.04.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libssl-doc": "1.1.1-1ubuntu2.1~18.04.7",
            "libssl-dev": "1.1.1-1ubuntu2.1~18.04.7",
            "libssl1.1-dbgsym": "1.1.1-1ubuntu2.1~18.04.7",
            "libssl1.1-udeb": "1.1.1-1ubuntu2.1~18.04.7",
            "libssl1.1": "1.1.1-1ubuntu2.1~18.04.7",
            "openssl-dbgsym": "1.1.1-1ubuntu2.1~18.04.7",
            "libcrypto1.1-udeb": "1.1.1-1ubuntu2.1~18.04.7",
            "openssl": "1.1.1-1ubuntu2.1~18.04.7"
        }
    ]
}

Ubuntu:18.04:LTS / openssl1.0

Package

Name
openssl1.0
Purl
pkg:deb/ubuntu/openssl1.0@1.0.2n-1ubuntu5.5?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2n-1ubuntu5.5

Affected versions

1.*

1.0.2n-1ubuntu2
1.0.2n-1ubuntu3
1.0.2n-1ubuntu4
1.0.2n-1ubuntu5
1.0.2n-1ubuntu5.1
1.0.2n-1ubuntu5.2
1.0.2n-1ubuntu5.3
1.0.2n-1ubuntu5.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libssl1.0.0-dbgsym": "1.0.2n-1ubuntu5.5",
            "libssl1.0-dev": "1.0.2n-1ubuntu5.5",
            "openssl1.0": "1.0.2n-1ubuntu5.5",
            "openssl1.0-dbgsym": "1.0.2n-1ubuntu5.5",
            "libssl1.0.0-udeb": "1.0.2n-1ubuntu5.5",
            "libssl1.0.0": "1.0.2n-1ubuntu5.5",
            "libcrypto1.0.0-udeb": "1.0.2n-1ubuntu5.5"
        }
    ]
}

Ubuntu:20.04:LTS / openssl

Package

Name
openssl
Purl
pkg:deb/ubuntu/openssl@1.1.1f-1ubuntu2.1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1f-1ubuntu2.1

Affected versions

1.*

1.1.1c-1ubuntu4
1.1.1d-2ubuntu3
1.1.1d-2ubuntu6
1.1.1f-1ubuntu1
1.1.1f-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "libssl-doc": "1.1.1f-1ubuntu2.1",
            "libssl-dev": "1.1.1f-1ubuntu2.1",
            "libssl1.1-dbgsym": "1.1.1f-1ubuntu2.1",
            "libssl1.1-udeb": "1.1.1f-1ubuntu2.1",
            "libssl1.1": "1.1.1f-1ubuntu2.1",
            "openssl-dbgsym": "1.1.1f-1ubuntu2.1",
            "libcrypto1.1-udeb": "1.1.1f-1ubuntu2.1",
            "openssl": "1.1.1f-1ubuntu2.1"
        }
    ]
}