by @LeSuisse Activity log
- Created automatic suggestion
- @LeSuisse removed package calibre-web
- @LeSuisse accepted
- @LeSuisse published on GitHub
calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below contain a Path Traversal vulnerability that allows arbitrary file writes anywhere the user has write permissions. On Windows, this leads to Remote Code Execution by writing a payload to the Startup folder, which executes on next login. Function extract_pictures only checks startswith('Pictures'), and does not sanitize '..' sequences. calibre's own ZipFile.extractall() in utils/zipfile.py does sanitize '..' via _get_targetpath(), but extract_pictures() bypasses this by using manual zf.read() + open(). This issue has been fixed in version 9.3.0.
References
-
https://github.com/kovidgoyal/calibre/security/advisories/GHSA-72ch-3hqc-pgmp x_refsource_CONFIRM
Affected products
- ==< 9.3.0
Matching in nixpkgs
pkgs.calibre
Comprehensive e-book software
pkgs.pkgsRocm.calibre
Comprehensive e-book software
pkgs.calibre-no-speech
Comprehensive e-book software
pkgs.pkgsRocm.calibre-no-speech
Comprehensive e-book software
Package maintainers
-
@pSub Pascal Wittmann <mail@pascal-wittmann.de>