Vulnerabilities in pkg:pypi/openvpn-monitor

PACKAGE
Advisory Identifier: GHSA-vw35-c8hf-fwmq
Advisory Summary

CVE-2021-31604 is a MODERATE (CVSS 5.3) furlongm openvpn-monitor allows csrf to vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Openvpn monitor libraries in the PyPI ecosystem. The issue involves furlongm openvpn-monitor allows csrf to disconnect an arbitrary client. Remediation is available in the latest vendor maintenance releases.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/openvpn-monitor

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/openvpn-monitor. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vw35-c8hf-fwmq CVE-2021-31604 MODERATE furlongm openvpn-monitor allows CSRF to disconnect an arbitrary client
GHSA-5w5c-3g26-8mmc CVE-2021-31606 HIGH furlongm openvpn-monitor allows Authorization Bypass to disconnect arbitrary clients
GHSA-4258-vcjw-wwxx CVE-2021-31605 HIGH furlongm openvpn-monitor command injection

CVE-2021-31604 at a Glance

CVE Identifier CVE-2021-31604
GHSA Identifier GHSA-vw35-c8hf-fwmq
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Openvpn monitor
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2021-31604

To remediate this vulnerability, upgrade all affected Openvpn monitor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

openvpn-monitor fixed: Latest secure release
pip install openvpn-monitor>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show openvpn-monitor

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2021-31604, inspect your installed packages using pip:

pip show openvpn-monitor

Analyze the terminal output to locate any version of Openvpn monitor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show openvpn-monitor command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Openvpn monitor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

furlongm openvpn-monitor through 1.1.3 allows CSRF to disconnect an arbitrary client.

CVE-2021-31604 Affected Openvpn monitor Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
openvpn-monitor
PyPI
≤ 1.1.3

References

Frequently Asked Questions

What is CVE-2021-31604?
CVE-2021-31604 is a security vulnerability in Openvpn monitor involving furlongm openvpn-monitor allows CSRF to disconnect an arbitrary client under CWE-352: Cross-Site Request Forgery (CSRF).
Which Openvpn monitor versions are affected?
Affected versions include releases prior to current release patches across affected packages: openvpn-monitor.
What version fixes CVE-2021-31604?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is openvpn-monitor affected?
Yes, openvpn-monitor is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2021-31604?
CVE-2021-31604 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2021-31604?
CVE-2021-31604 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2021-31604?
Run the dependency tree command: 'pip show openvpn-monitor'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vw35-c8hf-fwmq",
  "modified" : "2026-06-10T18:46:21Z",
  "published" : "2022-05-24T19:15:55Z",
  "aliases" : [ "CVE-2021-31604" ],
  "summary" : "furlongm openvpn-monitor allows CSRF to disconnect an arbitrary client",
  "details" : "furlongm openvpn-monitor through 1.1.3 allows CSRF to disconnect an arbitrary client.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "openvpn-monitor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-31604"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/furlongm/openvpn-monitor"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/furlongm/openvpn-monitor/releases"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/openvpn-monitor/PYSEC-2021-352.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/164281/OpenVPN-Monitor-1.1.3-Cross-Site-Request-Forgery.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-23T20:52:13Z",
    "nvd_published_at" : "2021-09-27T06:15:00Z"
  }
}