CVE-2021-24045
JSON

9.8critical

A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0.

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.25% (higher than 69% of CVEs)
Published
Last changed
Assigned by
facebook

Description

A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

Affected

Product or packageVersionsReported by
Facebook Hermesfrom unspecified before 0.10.0, before 0.10.0
Not affected: from 0.10.0 before unspecified
CVE List, NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

NVD (es)

Una vulnerabilidad de confusión de tipo podría ser desencadenada al resolver el operador unario "typeof" en Facebook Hermes versiones anteriores a v0.10.0. Tenga en cuenta que esto sólo es explotable si la aplicación que usa Hermes permite una evaluación de JavaScript no confiable. Por lo tanto, la mayoría de las aplicaciones React Native no están afectadas

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24045 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24045 changed 2026-06-17Public domain