File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| RRWO | File::Rotate::Simple | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rrwo | File::rotate::simple |
|
Vendor Solution
Upgrade to version 0.4.0 or later.
Vendor Workaround
For deployments that cannot be upgraded, ensure the touch option is disabled.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.140% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rrwo
Rrwo file::rotate::simple |
|
| Vendors & Products |
Rrwo
Rrwo file::rotate::simple |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files. When the file to be rotated is a symbolic link to a missing file, and the touch option is enabled, then the rotate method assumes that the file is absent (since the existence check is against the target), and does not rotate it. But it touches the file, which creates the target. An attacker that has the ability to create the symlink can use this to create an arbitrary file with permissions of the process rotating the files (which may be different from the process that normally writes to the log file that is being rotated). Note that the touch option is disabled by default. | |
| Title | File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files | |
| Weaknesses | CWE-59 | |
| References |
|