Facebook Hermes Bytecode Generator numeric conversion

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.5$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in Facebook Hermes. Impacted is an unknown function of the component Bytecode Generator. The manipulation results in numeric conversion. This vulnerability is reported as CVE-2022-40138. No exploit exists. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability classified as problematic has been found in Facebook Hermes (Social Network Software) (the affected version unknown). Affected is an unknown part of the component Bytecode Generator. The manipulation with an unknown input leads to a numeric conversion vulnerability. CWE is classifying the issue as CWE-681. When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 10/11/2022. The advisory is available at facebook.com. This vulnerability is traded as CVE-2022-40138 since 09/06/2022. The technical details are unknown and an exploit is not available.

Applying the patch 6aa825e480d48127b480b08d13adf70033237097 is able to eliminate this problem. The bugfix is ready for download at github.com.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.6

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Numeric conversion
CWE: CWE-681 / CWE-704
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 6aa825e480d48127b480b08d13adf70033237097

Timelineinfo

09/06/2022 🔍
10/11/2022 +35 days 🔍
10/11/2022 +0 days 🔍
11/05/2022 +25 days 🔍

Sourcesinfo

Product: github.com

Advisory: 6aa825e480d48127b480b08d13adf70033237097
Status: Confirmed

CVE: CVE-2022-40138 (🔍)
GCVE (CVE): GCVE-0-2022-40138
GCVE (VulDB): GCVE-100-210402

Entryinfo

Created: 10/11/2022 10:23
Updated: 11/05/2022 06:58
Changes: 10/11/2022 10:23 (41), 11/05/2022 06:46 (1), 11/05/2022 06:58 (11)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!