Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MontFerret | ferret | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Montferret | Ferret |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j6v5-g24h-vg4j | Ferret: Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.523% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:montferret:ferret:*:*:*:*:*:go:*:* cpe:2.3:a:montferret:ferret:2.0.0:alpha1:*:*:*:go:*:* cpe:2.3:a:montferret:ferret:2.0.0:alpha2:*:*:*:go:*:* cpe:2.3:a:montferret:ferret:2.0.0:alpha3:*:*:*:go:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Montferret
Montferret ferret |
|
| Vendors & Products |
Montferret
Montferret ferret |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Ferret is a declarative system for working with web data. Prior to 2.0.0-alpha.4, a path traversal vulnerability in Ferret's IO::FS::WRITE standard library function allows a malicious website to write arbitrary files to the filesystem of the machine running Ferret. When an operator scrapes a website that returns filenames containing ../ sequences, and uses those filenames to construct output paths (a standard scraping pattern), the attacker controls both the destination path and the file content. This can lead to remote code execution via cron jobs, SSH authorized_keys, shell profiles, or web shells. This vulnerability is fixed in 2.0.0-alpha.4. | |
| Title | Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites | |
| Weaknesses | CWE-22 CWE-73 |
|
| References |
| |
| Metrics |
cvssV3_1
|