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

CVE-2020-1913: Incorrect Conversion between Numeric Types

May 24, 2022 (updated June 24, 2022)

An Integer signedness error in the JavaScript Interpreter in Facebook Hermes prior to commit 2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6 allows attackers to cause a denial of service attack or a potential RCE 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-gmpm-xp43-f7g6
  • github.com/facebook/hermes/commit/2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6
  • nvd.nist.gov/vuln/detail/CVE-2020-1913
  • www.facebook.com/security/advisories/cve-2020-1913

Code Behaviors & Features

Detect and mitigate CVE-2020-1913 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.4.3

Fixed versions

  • 0.5.2

Solution

Upgrade to version 0.5.2 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-681: Incorrect Conversion between Numeric Types

Source file

npm/hermes-engine/CVE-2020-1913.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:50 +0000.