Vulnerability Details : CVE-2021-22331
There is a JavaScript injection vulnerability in certain Huawei smartphones. A module does not verify some inputs sufficiently. Attackers can exploit this vulnerability by sending a malicious application request to launch JavaScript injection. This may compromise normal service. Affected product versions include HUAWEI P30 versions earlier than 10.1.0.165(C01E165R2P11), 11.0.0.118(C635E2R1P3), 11.0.0.120(C00E120R2P5), 11.0.0.138(C10E4R5P3), 11.0.0.138(C185E4R7P3), 11.0.0.138(C432E8R2P3), 11.0.0.138(C461E4R3P3), 11.0.0.138(C605E4R1P3), and 11.0.0.138(C636E4R3P3).
Products affected by CVE-2021-22331
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-22331
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-22331
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-22331
-
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-22331
-
https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20210331-01-js-en
Security Advisory - JavaScript Injection Vulnerability in Huawei SmartphoneVendor Advisory
Jump to