calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| kovidgoyal | calibre | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Kovidgoyal | Calibre |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4554-1 | calibre security update |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.979% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Calibre-ebook
Calibre-ebook calibre |
|
| CPEs | cpe:2.3:a:calibre-ebook:calibre:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Calibre-ebook
Calibre-ebook calibre |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kovidgoyal
Kovidgoyal calibre |
|
| Vendors & Products |
Kovidgoyal
Kovidgoyal calibre |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|