SecurityContext

CVE-2021-24044: Hermes - Undefined Behavior

  • Cve: CVE-2021-24044
  • Name: Hermes - Undefined Behavior
  • Description: By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.
  • Impact: Attackers can cause segmentation faults, leading to denial of service, with a low chance of remote code execution.
  • Remediation: Update Hermes to version 0.10.0 or later.
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to pass invalid JavaScript code
  • 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.01266
  • Epss percentile: 0.70349
  • Assignee: [email protected]
  • Published at: 2022-01-15T01:15:07Z
  • Age in days: 1774
  • Modified at: 2026-06-17T03:39:12Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24044
  • 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: vulnerability type, hackerone

Cwe

IdName
CWE-843Access of Resource Using Incompatible Type

References

UrlSourceTags
https://www.facebook.com/security/advisories/cve-2021-24044nvdVendor Advisory

Products

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

Projects

RepositoryLink kindsIndexedUrl
facebook/hermespackageyes/v1/repositories/facebook/hermes

Index

  • Repositories: 12
  • Repositories high signal: 5
  • Packages: 1

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