🛡️ CVE-2022-21211 — posix

🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-252 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Unhandled crash in npm posix

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2022-21211 is classified as CWE-252: Unchecked Return Value. A return value signalling failure is ignored, and execution continues as though the operation had succeeded.

Affected software

CVE-2022-21211 is recorded against 1 package.

  • posix

Timeline and source

Published on 11 June 2022 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Package)
snyk.io (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-252
Public Exploit ⚠️ Yes
Source OSV
Published 2022-06-11
Updated 2026-08-12
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
posix

Similar Threats

Exploit Protection

Are you running posix?

CVE-2022-21211 carries CVSS 8.0 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2022-21211 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.