OESA-2021-1291

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1291
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1291.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1291
Upstream
Published
2021-07-31T11:03:06Z
Modified
2025-08-12T05:07:22.776408Z
Summary
nodejs security update
Details

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Security Fix(es):

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().(CVE-2021-22918)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP2 / nodejs

Package

Name
nodejs
Purl
pkg:rpm/openEuler/nodejs&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.21.0-8.oe1

Ecosystem specific

{
    "src": [
        "nodejs-10.21.0-8.oe1.src.rpm"
    ],
    "x86_64": [
        "nodejs-libs-10.21.0-8.oe1.x86_64.rpm",
        "nodejs-debugsource-10.21.0-8.oe1.x86_64.rpm",
        "nodejs-10.21.0-8.oe1.x86_64.rpm",
        "nodejs-devel-10.21.0-8.oe1.x86_64.rpm",
        "v8-devel-6.8.275.32-1.10.21.0.8.oe1.x86_64.rpm",
        "nodejs-debuginfo-10.21.0-8.oe1.x86_64.rpm",
        "nodejs-full-i18n-10.21.0-8.oe1.x86_64.rpm",
        "npm-6.14.4-1.10.21.0.8.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "nodejs-10.21.0-8.oe1.aarch64.rpm",
        "nodejs-devel-10.21.0-8.oe1.aarch64.rpm",
        "npm-6.14.4-1.10.21.0.8.oe1.aarch64.rpm",
        "nodejs-libs-10.21.0-8.oe1.aarch64.rpm",
        "nodejs-debugsource-10.21.0-8.oe1.aarch64.rpm",
        "nodejs-full-i18n-10.21.0-8.oe1.aarch64.rpm",
        "nodejs-debuginfo-10.21.0-8.oe1.aarch64.rpm",
        "v8-devel-6.8.275.32-1.10.21.0.8.oe1.aarch64.rpm"
    ],
    "noarch": [
        "nodejs-docs-10.21.0-8.oe1.noarch.rpm"
    ]
}