Home

Description

Dosage is a comic strip downloader and archiver. When downloading comic images in versions 3.1 and below, 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). This issue is fixed in version 3.2.

PUBLISHED Reserved 2025-10-28 | Published 2025-11-07 | Updated 2025-11-07 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 3.2
affected

References

github.com/...dosage/security/advisories/GHSA-4vcx-3pj3-44m7

github.com/...ommit/336a9684191604bc49eed7296b74bd582151181e

cve.org (CVE-2025-64184)

nvd.nist.gov (CVE-2025-64184)

Download JSON