# CVE-2022-21211: Denial of Service (DoS)

- Severity: Medium 5.9 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-10T20:05:45.881Z
- Modified: 2026-06-17T04:25:45.433Z
- Also known as: GHSA-27mx-gchc-6xjp
- Weaknesses: CWE-252
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- posix: before unspecified
- posix (npm): up to 4.2.0
- posix_project posix: no versions given

## Every score

- snyk: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-POSIX-2400719> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21211> (advisory)
- <https://github.com/ohmu/node-posix> (package)

## Sources

- CVE List: [CVE-2022-21211](https://www.cve.org/CVERecord?id=CVE-2022-21211), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-27mx-gchc-6xjp](https://github.com/advisories/GHSA-27mx-gchc-6xjp), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-21211](https://nvd.nist.gov/vuln/detail/CVE-2022-21211), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21211 · Whole record: https://cve.day/CVE-2022-21211.json · Rebuilt by cve.day 2026-11-25T22:58:12.215Z
