CVE-2022-40138
An integer conversion error in Hermes bytecode generation, prior ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rapidfort alpine 3.20 | hermes | no fix listed |
| rapidfort alpine 3.21 | hermes | no fix listed |
| rapidfort alpine 3.22 | hermes | no fix listed |
| rapidfort alpine 3.23 | hermes | no fix listed |
| rapidfort alpine 3.24 | hermes | no fix listed |