High severity · published Apr 28, 2021
CVE-2021-22331
There is a JavaScript injection vulnerability in certain Huawei smartphones
7.5
CVSS
0.7%
EPSS
No
On KEV
Description
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).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PF
P30 Firmware · Huawei
before 10.1.0.165\(c01e165r2p11\); before 11.0.0.118\(c635e2r1p3\); before 11.0.0.120\(c00e120r2p5\); before 11.0.0.138\(c10e4r5p3\); before 11.0.0.138\(c185e4r7p3\); before 11.0.0.138\(c432e8r2p3\); +3 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-22331
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-22331
Vendor Advisory
https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20210331-01-js-en
More from P30 Firmware
8.8
CVE-2020-0022
In reassemble_and_dispatch of packet_fragmenter.cc, there is possible out of bounds write due to an incorrect bounds calculation
7.8
CVE-2020-9247
There is a buffer overflow vulnerability in several Huawei products
7.8
CVE-2020-9263
HUAWEI Mate 30 versions earlier than 10.1.0.150(C00E136R5P3) and HUAWEI P30 version earlier than 10.1.0.160(C00E160R2P11) have a use after free vulnerability
7.8
CVE-2020-1800
HUAWEI smartphones P30 with versions earlier than 10.0.0.185(C00E85R1P11) have an improper access control vulnerability
7.8
CVE-2020-1812
HUAWEI P30 smartphones with versions earlier than 10.0.0.173(C00E73R1P11) have an improper authentication vulnerability
