OESA-2021-1291 (CVE-2021-22918)

Vulnerability from osv_openeuler – Published: 2021-07-31 11:04 – Updated: 2026-08-06 11:04 – Source website
VLAI
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__idna_toascii() 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)


{
  "affected": [
    {
      "ecosystem_specific": {
        "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"
        ],
        "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"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP2",
        "name": "nodejs",
        "purl": "pkg:rpm/openEuler/nodejs\u0026distro=openEuler-20.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.21.0-8.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "Node.js is a platform built on Chrome\u0026apos;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.\r\n\r\nSecurity Fix(es):\r\n\r\nNode.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() 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)",
  "id": "OESA-2021-1291",
  "modified": "2026-08-06T11:04:31Z",
  "published": "2021-07-31T11:04:31Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1291"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22918"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nodejs security update",
  "upstream": [
    "CVE-2021-22918"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…