UBUNTU-CVE-2020-8265

Source
https://ubuntu.com/security/CVE-2020-8265
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8265.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-8265
Related
Published
2021-01-06T21:15:00Z
Modified
2021-01-06T21:15:00Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.

References

Affected packages

Ubuntu:Pro:16.04:LTS / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.6~dfsg-1ubuntu4.2+esm2

Affected versions

0.*

0.10.25~dfsg2-2ubuntu1

4.*

4.2.2~dfsg-1
4.2.3~dfsg-1
4.2.4~dfsg-1ubuntu1
4.2.4~dfsg-2
4.2.6~dfsg-1ubuntu1
4.2.6~dfsg-1ubuntu4
4.2.6~dfsg-1ubuntu4.1
4.2.6~dfsg-1ubuntu4.2
4.2.6~dfsg-1ubuntu4.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs"
        },
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs-dbg"
        },
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs-dbgsym"
        },
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs-dev"
        },
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs-dev-dbgsym"
        },
        {
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm2",
            "binary_name": "nodejs-legacy"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.10.0~dfsg-2ubuntu0.4+esm2

Affected versions

6.*

6.11.4~dfsg-1ubuntu1
6.11.4~dfsg-1ubuntu2
6.12.0~dfsg-1ubuntu1
6.12.0~dfsg-2ubuntu1
6.12.0~dfsg-2ubuntu2

8.*

8.10.0~dfsg-2
8.10.0~dfsg-2ubuntu0.2
8.10.0~dfsg-2ubuntu0.3
8.10.0~dfsg-2ubuntu0.4
8.10.0~dfsg-2ubuntu0.4+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.10.0~dfsg-2ubuntu0.4+esm2",
            "binary_name": "nodejs"
        },
        {
            "binary_version": "8.10.0~dfsg-2ubuntu0.4+esm2",
            "binary_name": "nodejs-dbgsym"
        },
        {
            "binary_version": "8.10.0~dfsg-2ubuntu0.4+esm2",
            "binary_name": "nodejs-dev"
        },
        {
            "binary_version": "8.10.0~dfsg-2ubuntu0.4+esm2",
            "binary_name": "nodejs-doc"
        }
    ]
}

Ubuntu:20.04:LTS / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.19.0~dfsg-3ubuntu1.1

Affected versions

10.*

10.15.2~dfsg-2ubuntu1
10.17.0~dfsg-2ubuntu4
10.17.0~dfsg-2ubuntu6
10.19.0~dfsg-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "libnode-dev"
        },
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "libnode64"
        },
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "libnode64-dbgsym"
        },
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "nodejs"
        },
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "nodejs-dbgsym"
        },
        {
            "binary_version": "10.19.0~dfsg-3ubuntu1.1",
            "binary_name": "nodejs-doc"
        }
    ]
}

Ubuntu:22.04:LTS / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
12.22.9~dfsg-1ubuntu3

Affected versions

12.*

12.22.5~dfsg-5ubuntu1
12.22.7~dfsg-2ubuntu1
12.22.7~dfsg-2ubuntu3
12.22.9~dfsg-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "libnode-dev"
        },
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "libnode72"
        },
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "libnode72-dbgsym"
        },
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "nodejs"
        },
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "nodejs-dbgsym"
        },
        {
            "binary_version": "12.22.9~dfsg-1ubuntu3",
            "binary_name": "nodejs-doc"
        }
    ]
}