CVE-2024-45601: Mesop Mesop Has A Local File Vulnerability
HIGHCVE-2024-45601 is a HIGH (CVSS 7.5) mesop has a local file vulnerability (CWE-20: Improper Input Validation) affecting Mesop libraries in the PyPI ecosystem. The issue involves mesop has a local file inclusion via static file serving functionality. Remediation is available by upgrading affected packages to version 0.12.4.
CVE-2024-45601 at a Glance
Security Impact
CVSS: 7.5
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:H/I:N/A:N).
How to Fix CVE-2024-45601
To remediate this vulnerability, upgrade all affected Mesop 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 mesop>=0.12.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mesop
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-45601, inspect your installed packages using pip:
pip show mesop
Analyze the terminal output to locate any version of Mesop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.4), your application is affected.
Note: The pip show mesop command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Mesop, 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-2024-45601 Affected Mesop Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mesop
|
PyPI |
≥ 0.9.0
< 0.12.4
|
0.12.4
|
References
Frequently Asked Questions
What is CVE-2024-45601?
Which Mesop versions are affected?
What version fixes CVE-2024-45601?
Is mesop affected?
What is the CVSS score of CVE-2024-45601?
What CWE is associated with CVE-2024-45601?
How can I check PyPI dependencies for CVE-2024-45601?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pmv9-3xqp-8w42",
"modified" : "2024-09-18T19:22:38Z",
"published" : "2024-09-18T17:49:02Z",
"aliases" : [ "CVE-2024-45601" ],
"summary" : "Mesop has a local file Inclusion via static file serving functionality",
"details" : "A vulnerability has been discovered and fixed in Mesop that could potentially allow unauthorized access to files on the server hosting the Mesop application. The vulnerability was related to insufficient input validation in a specific endpoint. This could have allowed an attacker to access files not intended to be served.\n\nUsers are strongly advised to update to the latest version of Mesop immediately. The latest version includes a fix for this vulnerability.\n\nWe would like to thank @Letm3through for reporting this issue and proposing mitigations to address this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mesop"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.0"
}, {
"fixed" : "0.12.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/google/mesop/security/advisories/GHSA-pmv9-3xqp-8w42"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45601"
}, {
"type" : "WEB",
"url" : "https://github.com/google/mesop/commit/17fb769d6a91f0a8cbccfab18f64977b158a6a31"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/google/mesop"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-18T17:49:02Z",
"nvd_published_at" : "2024-09-18T18:15:06Z"
}
}