CVE-2021-22377 Command injection in S12700;S2700;S5700;S6700;S7700

High 7.2 Published Updated

Attackers can inject commands via malicious parameters in Huawei switches, potentially compromising service integrity and availability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-22377?

CVE-2021-22377 is a high-severity command injection vulnerability in S12700;S2700;S5700;S6700;S7700, published on 22 Jun 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

There is a command injection vulnerability in S12700 V200R019C00SPC500, S2700 V200R019C00SPC500, S5700 V200R019C00SPC500, S6700 V200R019C00SPC500 and S7700 V200R019C00SPC500. A module does not verify specific input sufficiently. Attackers can exploit this vulnerability by sending malicious parameters to inject command. This can compromise normal service.

Weakness: CWE-20

Which versions are affected by CVE-2021-22377?

It affects 5 products.

Products include Huawei S12700 Firmware, Huawei S2700 Firmware, Huawei S5700 Firmware, Huawei S6700 Firmware, Huawei S7700 Firmware.

How do I fix CVE-2021-22377?

No fix has been published for CVE-2021-22377 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-22377 being exploited?

There is no known exploitation of CVE-2021-22377 in the wild and no public exploit code.

Sources

Also known as GHSA-4q3p-mjvg-jp72.

Is CVE-2021-22377 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free