Read the docs
TI-2021-05305 Aliases CVE-2021-22331GHSA-52g2-g3r2-x33c

Injection in HUAWEI P30

Priority LOW 34CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

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

Why it matters now

EPSS 0.00721 54th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—HUAWEI P30Versions earlier than 10.1.0.165(C01E165R2P11),Versions earlier than 11.0.0.118(C635E2R1P3),Versions earlier than 11.0.0.120(C00E120R2P5),Versions earlier than 11.0.0.138(C10E4R5P3),Versions earlier than 11.0.0.138(C185E4R7P3),Versions earlier than 11.0.0.138(C432E8R2P3),Versions earlier than 11.0.0.138(C461E4R3P3),Versions earlier than 11.0.0.138(C605E4R1P3),Versions earlier than 11.0.0.138(C636E4R3P3)—No fix listedCNA
  • HUAWEI P30 Vendor— Affected Versions earlier than 10.1.0.165(C01E165R2P11),Versions earlier than 11.0.0.118(C635E2R1P3),Versions earlier than 11.0.0.120(C00E120R2P5),Versions earlier than 11.0.0.138(C10E4R5P3),Versions earlier than 11.0.0.138(C185E4R7P3),Versions earlier than 11.0.0.138(C432E8R2P3),Versions earlier than 11.0.0.138(C461E4R3P3),Versions earlier than 11.0.0.138(C605E4R1P3),Versions earlier than 11.0.0.138(C636E4R3P3) Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*before 10.1.0.165\(c01e165r2p11\)VulnerableHuawei
cpe:2.3:h:huawei:p30:-:*:*:*:*:*:*:*not specified by NVDRunning onHuawei
cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:*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\); before 11.0.0.138\(c461e4r3p3\); before 11.0.0.138\(c605e4r1p3\); before 11.0.0.138\(c636e4r3p3\)VulnerableHuawei
  • cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:* Versions before 10.1.0.165\(c01e165r2p11\) Vulnerable ·Huawei
  • cpe:2.3:h:huawei:p30:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Huawei
  • cpe:2.3:o:huawei:p30_firmware:*:*:*:*:*:*:*:* Versions 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\); before 11.0.0.138\(c461e4r3p3\); before 11.0.0.138\(c605e4r1p3\); before 11.0.0.138\(c636e4r3p3\) Vulnerable ·Huawei

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-22331
  2. 2026-10-03 Alias added: GHSA-52g2-g3r2-x33c

References

  • TI-2020-00021 In reassemble_and_dispatch of packet_fragmenter.cc, there is possible out of bounds write… CVSS 3.1HIGH 8.8
  • TI-2019-06941 Cryptographic flaw in Bluetooth BR/EDR CVSS 3.1HIGH 8.1
  • TI-2020-07404 Use after free in HUAWEI Mate 30;HUAWEI P30 CVSS 3.1HIGH 7.8
  • TI-2020-07388 Buffer overflow in Huawei HONOR 20 PRO CVSS 3.1HIGH 7.8
  • TI-2019-03717 Integer overflow in P30 CVSS 3.1HIGH 7.8
  • TI-2019-03716 Integer overflow in P30 CVSS 3.1HIGH 7.8
See all 42 →

Sources