CVE-2025-64184: Dosage Denial of Service Vulnerability
HIGHCVE-2025-64184 is a HIGH (CVSS 8.8) denial of service vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Dosage libraries in the PyPI ecosystem. The issue involves dosage vulnerable to a directory traversal through crafted http responses. Remediation is available by upgrading affected packages to version 3.2.
CVE-2025-64184 at a Glance
Security Impact
CVSS: 8.8
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:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-64184
To remediate this vulnerability, upgrade all affected Dosage 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 dosage>=3.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show dosage
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-64184, inspect your installed packages using pip:
pip show dosage
Analyze the terminal output to locate any version of Dosage in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2), your application is affected.
Note: The pip show dosage command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Dosage, 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-2025-64184 Affected Dosage Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dosage
|
PyPI |
< 3.2
|
3.2
|
References
Frequently Asked Questions
What is CVE-2025-64184?
Which Dosage versions are affected?
What version fixes CVE-2025-64184?
Is dosage affected?
What is the CVSS score of CVE-2025-64184?
What CWE is associated with CVE-2025-64184?
How can I check PyPI dependencies for CVE-2025-64184?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4vcx-3pj3-44m7",
"modified" : "2025-11-07T16:42:26Z",
"published" : "2025-11-04T15:31:48Z",
"aliases" : [ "CVE-2025-64184" ],
"summary" : "Dosage vulnerable to a Directory Traversal through crafted HTTP responses",
"details" : "### Impact\n\nWhen downloadinging comic images, Dosage constructs target file names from different aspects of the remote comic (page URL, image URL, page content, etc.). While the basename is properly stripped of directory-traversing characters, the file extension is taken from the HTTP `Content-Type` header. This allows a remote attacker (or a Man-in-the-Middle, if the comic is served over HTTP) to write arbitrary files outside the target directory (if additional conditions are met). \n\n### Patches\n\nFixed in release 3.2. The [fix is small and self-contained](https://github.com/webcomics/dosage/commit/336a9684191604bc49eed7296b74bd582151181e), so distributors might elect to backport the fix to older versions.\n\n### Workarounds\n\nNo",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "dosage"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/webcomics/dosage/security/advisories/GHSA-4vcx-3pj3-44m7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64184"
}, {
"type" : "WEB",
"url" : "https://github.com/webcomics/dosage/commit/336a9684191604bc49eed7296b74bd582151181e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/webcomics/dosage"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-04T15:31:48Z",
"nvd_published_at" : "2025-11-07T04:15:46Z"
}
}