CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Facebook

CVE-2022-40138
Facebook Hermes vulnerability

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Hermes. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Facebook Hermes runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Facebook products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.