Description
The make_temporary_filename function in perltidy 20120701-1 and earlier allows local users to obtain sensitive information or write to arbitrary files via a symlink attack, related to use of the tmpnam function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | perltidy | 20130922-1 | — |
| Debian 13 | perltidy | 20130922-1 | — |
| Debian 12 | perltidy | 20130922-1 | — |
References
- FEDORA-2014-3874 vendor-advisory
- perltidy-cve20142277-symlink(92104) vdb-entry
- 66139 vdb-entry
- FEDORA-2014-3891 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1074720
- [oss-security] 20140308 Re: possible CVE requests: perltidy insecure temporary file usage mailing-list