Command Injection Affecting openvpn-monitor package, versions [,2.0.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.7% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OPENVPNMONITOR-1726645
  • published27 Sept 2021
  • disclosed27 Sept 2021
  • creditUnknown

Introduced: 27 Sep 2021

CVE-2021-31605  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade openvpn-monitor to version 2.0.2 or higher.

Overview

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.

Affected versions of this package are vulnerable to Command Injection via the OpenVPN management interface socket. An attacker can use a newline character (0x0a) to inject additional commands into the socket. This allows an attacker, for example, to stop the OpenVPN server by sending a SIGTERM signal via the signal SIGTERM management command.

CVSS Scores

version 3.1