Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hermes-engine
  4. ›
  5. CVE-2020-1914

CVE-2020-1914: Always-Incorrect Control Flow Implementation

May 24, 2022 (updated June 30, 2022)

A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit b2021df620824627f5a8c96615edbd1eb7fdddfc allows attackers to potentially read out-of-bounds or theoretically execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

References

  • github.com/advisories/GHSA-327c-qx3v-h673
  • github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc
  • nvd.nist.gov/vuln/detail/CVE-2020-1914
  • www.facebook.com/security/advisories/cve-2020-1914

Code Behaviors & Features

Detect and mitigate CVE-2020-1914 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.7.1

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-670: Always-Incorrect Control Flow Implementation
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/hermes-engine/CVE-2020-1914.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:41 +0000.