Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

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).


Security Impact Summary

This vulnerability carries a HIGH severity rating with a CVSS v3.1 score of 7.5, indicating it can be exploited remotely over the network with relatively low complexity without requiring user interaction and does not require pre-existing privileges . The vulnerability impacts and availability (service disruption) for affected systems. Impacting 2 products from huawei, from huawei organizations running these solutions should prioritize assessment and patching.

Historical Context

Reported in 2021, this vulnerability emerged during an era marked by increased sophistication in supply chain attacks, cloud infrastructure vulnerabilities, and software-as-a-service (SaaS) security challenges. Security practices during this period emphasized zero-trust architectures, container security, and API protection.


Published

2021-04-28T13:15:08.077

Last Modified

2024-11-21T05:49:55.620

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.5 (HIGH)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: NONE
  • Integrity Impact: NONE
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

2.9

Weaknesses
  • Type: Primary
    CWE-74

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Operating System huawei p30_firmware < 10.1.0.165\(c01e165r2p11\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.118\(c635e2r1p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.120\(c00e120r2p5\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c10e4r5p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c185e4r7p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c432e8r2p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c461e4r3p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c605e4r1p3\) Yes
Hardware huawei p30 - No
Operating System huawei p30_firmware < 11.0.0.138\(c636e4r3p3\) Yes
Hardware huawei p30 - No

References

How SecUtils Interprets This CVE

SecUtils normalizes and enriches National Vulnerability Database (NVD) records by standardizing vendor and product identifiers, aggregating vulnerability metadata from both NVD and MITRE sources, and providing structured context for security teams. For huawei's affected products, we extract Common Platform Enumeration (CPE) data, Common Weakness Enumeration (CWE) classifications, CVSS severity metrics, and reference data to enable rapid vulnerability prioritization and asset correlation. This record contains no exploit code, proof-of-concept instructions, or attack methodologies—only defensive intelligence necessary for patch management, risk assessment, and security operations.