CVE-2022-27810 Denial of service in Hermes

High 7.5 Published Updated

Attackers can cause a denial of service via infinite recursion in the Hermes JavaScript engine when running in development mode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-27810?

CVE-2022-27810 is a high-severity denial of service vulnerability in Facebook Hermes, published on 6 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It was possible to trigger an infinite recursion condition in the error handler when Hermes executed specific maliciously formed JavaScript. This condition was only possible to trigger in dev-mode (when asserts were enabled). This issue affects Hermes versions prior to v0.12.0.

Weakness: CWE-674

Which versions are affected by CVE-2022-27810?

It affects 1 product.

Products include Facebook Hermes.

How do I fix CVE-2022-27810?

No fix has been published for CVE-2022-27810 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-27810 being exploited?

There is no known exploitation of CVE-2022-27810 in the wild and no public exploit code.

Sources

Also known as GHSA-jpvx-hr4h-p665.

Is CVE-2022-27810 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free