UBUNTU-CVE-2021-22918

Source
https://ubuntu.com/security/CVE-2021-22918
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22918.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-22918
Related
Published
2021-07-02T00:00:00Z
Modified
2021-07-02T00:00:00Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv_idnatoascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().

References

Affected packages

Ubuntu:20.04:LTS / libuv1

Package

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

Affected ranges

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

Affected versions

1.*

1.30.1-1
1.33.1-2
1.33.1-2ubuntu2
1.33.1-3ubuntu1
1.34.2-1ubuntu1
1.34.2-1ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.34.2-1ubuntu1.3",
            "binary_name": "libuv1"
        },
        {
            "binary_version": "1.34.2-1ubuntu1.3",
            "binary_name": "libuv1-dbgsym"
        },
        {
            "binary_version": "1.34.2-1ubuntu1.3",
            "binary_name": "libuv1-dev"
        }
    ]
}