Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. posix
  4. ›
  5. CVE-2022-21211

CVE-2022-21211: Unchecked Return Value

June 11, 2022 (updated June 17, 2022)

This affects all versions of package posix. When invoking the toString method, it will fallback to 0x0 value, as the value of toString is not invokable (not a function), and then it will crash with type-check.

References

  • github.com/advisories/GHSA-27mx-gchc-6xjp
  • nvd.nist.gov/vuln/detail/CVE-2022-21211
  • snyk.io/vuln/SNYK-JS-POSIX-2400719

Code Behaviors & Features

Detect and mitigate CVE-2022-21211 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-252: Unchecked Return Value

Source file

npm/posix/CVE-2022-21211.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.