Facebook Hermes Bytecode Generator numeric conversion
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
License
Website
- Product: https://github.com/facebook/hermes/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Numeric conversionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 6aa825e480d48127b480b08d13adf70033237097
Timeline
09/06/2022 🔍10/11/2022 🔍
10/11/2022 🔍
11/05/2022 🔍
Sources
Product: github.comAdvisory: 6aa825e480d48127b480b08d13adf70033237097
Status: Confirmed
CVE: CVE-2022-40138 (🔍)
GCVE (CVE): GCVE-0-2022-40138
GCVE (VulDB): GCVE-100-210402
Entry
Created: 10/11/2022 10:23Updated: 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.
No comments yet. Languages: en.
Please log in to comment.