Wkentaro gdown
gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
wkentaro gdown
- < 5.2.2
Fixed in 5.2.2
Mitigation
Upgrade gdown to 5.2.2 or later.
References
- Vendor advisory github.com/wkentaro/gdown/security/advisories/…
- Patch github.com/wkentaro/gdown/commit/af569fc6ed300…
- Release notes github.com/wkentaro/gdown/releases/tag/v5.2.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.