CVE-2021-31604: Openvpn monitor Furlongm Openvpn-monitor Allows CSRF To Vulnerability
MODERATECVE-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.
CVE-2021-31604 at a Glance
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).
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.
pip install openvpn-monitor>=Latest secure release
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
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?
Which Openvpn monitor versions are affected?
What version fixes CVE-2021-31604?
Is openvpn-monitor affected?
What is the CVSS score of CVE-2021-31604?
What CWE is associated with CVE-2021-31604?
How can I check PyPI dependencies for CVE-2021-31604?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}