uncbv
Affected
- introduced
0.0.0-0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1cargo update -p uncbv --precise 0.3.1
Advisory
Also known as: None
uncbv: archive extraction is vulnerable to path traversal (zip-slip)
Summary
uncbv extract writes each archive entry to output_dir.join(entry_filename) using the filename stored in the archive with no check for .. components or absolute paths. A malicious .cbv / .cbz archive whose entry name contains ../ (or an absolute path) can therefore cause files to be written outside the output directory chosen by the user. This is a "zip-slip" / directory-traversal arbitrary file write (CWE-22).
High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
0.0.0-0, fixed 0.3.1 (semver)0.3.1
0.3.1cargo update -p uncbv --precise 0.3.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0