SecurityContext

CVE-2022-35289: Hermes - Insecure Deserialization

  • Cve: CVE-2022-35289
  • Name: Hermes - Insecure Deserialization
  • Description: A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially 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.
  • Impact: Attackers can execute arbitrary code if untrusted JavaScript is evaluated, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Hermes that addresses this issue.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Application must evaluate untrusted JavaScript
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01202
  • Epss percentile: 0.69004
  • Assignee: [email protected]
  • Published at: 2022-10-11T02:15:08Z
  • Age in days: 1505
  • Modified at: 2026-06-17T04:51:43Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35289
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-680Integer Overflow to Buffer Overflow
CWE-190Integer Overflow or Wraparound

References

UrlSourceTags
https://github.com/facebook/hermes/commit/5b6255ae049fa4641791e47fad994e8e8c4da374nvdPatch, Third Party Advisory
https://www.facebook.com/security/advisories/CVE-2022-35289nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
facebook:hermes< 0.12.0nonvd/v1/products/facebook/hermes

Projects

RepositoryLink kindsIndexedUrl
facebook/hermescommit, fixyes/v1/repositories/facebook/hermes

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts