CVE-2022-21211Posix Project Posix
High 7.5 No auth needed
Follow: this CVE · Posix Project · Posix Project Posix We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Jun 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-252
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Posix.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | posix |
≤ 4.2.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-27mx-gchc-6xjp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| posix_project | posix | all |
Official sources
References
Links published by the sources. Open them with care.
- snyk.io Exploit Third Party Advisory