Cornac < 2.6.0 Path Traversal via _extract_archive() in download.py
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.6.0 and cornac 2.6.0.
Cornac before 2.6.0 contains a path traversal (Tar Slip) vulnerability that allows attackers to write arbitrary files outside the intended cache directory by supplying a crafted TAR archive containing ../ sequences, absolute paths, or symlink/hardlink entries to the _extract_archive() function in cornac/utils/download.py. Attackers can trigger this vulnerability through the built-in dataset loaders, which automatically download and extract archives, causing archive.extractall() to write files to arbitrary locations on the filesystem accessible to the running process.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PreferredAI | <2.6.0 | 2.6.0 | |
| pypi: cornac | <2.6.0 | 2.6.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket