CVE-2022-21211
5.9medium
Denial of Service (DoS)
- Severity
- 5.9medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.06% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-27mx-gchc-6xjp
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| posix | before unspecified | CVE List |
| posix (npm) | up to 4.2.0 | GitHub Advisory Database |
| posix_project posix | Not specified | NVD |
All scores
| snyk | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta a todas las versiones del paquete posix. Cuando es invocado el método toString, es devuelto al valor 0x0, ya que el valor de toString no es invocable (no es una función), y entonces es bloqueado con la comprobación de tipo
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21211 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-27mx-gchc-6xjp changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-21211 changed 2026-06-17 | Public domain |