CVE-2022-25916 mt7688-wiscan is vulnerable to Command Injection due to improper input sanitization

High 7.4 Published Updated

Attackers can execute arbitrary commands via improper input sanitization in the mt7688-wiscan npm package.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25916?

CVE-2022-25916 is a high-severity command injection vulnerability in mt7688-wiscan, published on 1 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Versions of the package mt7688-wiscan before 0.8.3 are vulnerable to Command Injection due to improper input sanitization in the 'wiscan.scan' function.

Weakness: CWE-77, CWE-78

Which versions are affected by CVE-2022-25916?

2 open source packages ship an affected version, including mt7688-wiscan. It affects 1 product.

PackageAffectedFixed in
mt7688-wiscan npmAll versions0.8.3
mt7688-wiscan npmAll versions0.8.3

Products include Mt7688-Wiscan Project Mt7688-Wiscan.

How do I fix CVE-2022-25916?

Upgrade mt7688-wiscan to 0.8.3 or later.

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

Is CVE-2022-25916 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25916 exists.

Sources

Also known as GHSA-5h8c-8ccp-8gmh.

Is CVE-2022-25916 in your software?

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

Check your SBOMs for free