CVE-2025-64184
BaseFortify
Publication date: 2025-11-07
Last updated on: 2025-11-12
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| webcomics | dosage | 3.1 |
| webcomics | dosage | 3.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Dosage versions 3.1 and below, where the software downloads comic images and constructs target file names using information from the remote comic. Although the base file name is sanitized to remove directory-traversing characters, the file extension is taken directly from the HTTP Content-Type header. This flaw allows a remote attacker or a Man-in-the-Middle (if the comic is served over HTTP) to manipulate the file extension and potentially write arbitrary files outside the intended target directory, leading to unauthorized file creation or overwriting.
How can this vulnerability impact me? :
This vulnerability can lead to an attacker writing arbitrary files outside the intended directory on the victim's system. This can result in unauthorized file creation or modification, potentially leading to system compromise, data corruption, or denial of service. Because the vulnerability allows for arbitrary file writes, it can severely impact the confidentiality, integrity, and availability of the affected system.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Dosage to version 3.2 or later, as this version fixes the vulnerability. Avoid using versions 3.1 and below to prevent exploitation.