{"id":"CVE-2022-21211","aliases":["EUVD-2022-5887","GHSA-27mx-gchc-6xjp"],"status":"published","title":"Denial of Service (DoS)","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01061,"percentile":0.64814,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-252"],"published":"2022-06-10T20:05:45Z","modified":"2026-06-17T04:25:45Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"posix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.0"}]}]},{"source":"osv","ecosystem":"npm","package":"posix","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"4.2.0"}]}]}],"products":[{"vendor":"posix_project","product":"posix"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-POSIX-2400719","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21211","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-27mx-gchc-6xjp"},{"url":"https://github.com/ohmu/node-posix","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-21211","title":"Denial of Service (DoS)","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.","status":"published","published":"2022-06-10T20:05:45.881Z","modified":"2024-09-17T03:58:45.295Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:34:29.478363Z"}],"euvd":[{"id":"EUVD-2022-5887","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.","status":"published","published":"2022-06-10T20:05:45Z","modified":"2024-09-17T03:58:45Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","level":"medium"}],"updated_at":"2026-11-03T00:28:27.115818Z"}],"ghsa":[{"id":"GHSA-27mx-gchc-6xjp","title":"Unhandled crash in npm posix","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.","status":"published","published":"2022-06-11T00:00:17Z","modified":"2023-01-27T05:03:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2022-21211","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.","status":"published","published":"2022-06-10T20:15:07.89Z","modified":"2026-06-17T04:25:45.433Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"GHSA-27mx-gchc-6xjp","title":"Unhandled crash in npm posix","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.","status":"published","published":"2022-06-11T00:00:17Z","modified":"2023-11-08T04:08:04.962061Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
