CVE-2022-21211
JSON

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 packageVersionsReported by
posixbefore unspecifiedCVE List
posix (npm)up to 4.2.0GitHub Advisory Database
posix_project posixNot specifiedNVD

All scores

snyk5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-21211 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-27mx-gchc-6xjp changed 2023-11-08CC-BY-4.0
NVDCVE-2022-21211 changed 2026-06-17Public domain