Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. jerryscript
  4. ›
  5. CVE-2021-46170

CVE-2021-46170: Use After Free

January 14, 2022 (updated January 21, 2022)

An issue was discovered in JerryScript commit a6ab5e9. There is an Use-After-Free in lexer_compare_identifier_to_string in js-lexer.c file.

References

  • github.com/jerryscript-project/jerryscript/issues/4917
  • nvd.nist.gov/vuln/detail/CVE-2021-46170

Code Behaviors & Features

Detect and mitigate CVE-2021-46170 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 2.3.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

conan/jerryscript/CVE-2021-46170.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:27 +0000.