CVE-2021-31605 furlongm openvpn-monitor command injection

High 7.5 Published Updated

Attackers can inject commands via the OpenVPN management interface to shut down the server, affecting users of openvpn-monitor.

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

What is CVE-2021-31605?

CVE-2021-31605 is a high-severity command injection vulnerability in n/a, published on 27 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

furlongm openvpn-monitor through 1.1.3 allows %0a command injection via the OpenVPN management interface socket. This can shut down the server via signal%20SIGTERM.

Weakness: CWE-78

Which versions are affected by CVE-2021-31605?

3 open source packages ship an affected version, including openvpn-monitor. It affects 1 product.

PackageAffectedFixed in
openvpn-monitor PyPIAll versionsNone
openvpn-monitor PyPIAll versions to 1.1.3None
openvpn-monitor PyPIAll versions to 1.1.3None

Products include Openvpn-Monitor Project Openvpn-Monitor.

How do I fix CVE-2021-31605?

No fix has been published for CVE-2021-31605 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-31605 being exploited?

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

Sources

Also known as GHSA-4258-vcjw-wwxx, PYSEC-2021-353.

Is CVE-2021-31605 in your software?

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

Check your SBOMs for free