Description
The par_mktmpdir function in the PAR::Packer module before 1.012 for Perl creates temporary files in a directory with a predictable name without verifying ownership and permissions of this directory, which allows local users to overwrite files when another user extracts a PAR packed program. NOTE: a similar vulnerability was reported for PAR, but this has been assigned a different CVE identifier.
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 | libpar-packer-perl | 1.012-1 | — |
| Debian 13 | libpar-packer-perl | 1.012-1 | — |
| Debian 12 | libpar-packer-perl | 1.012-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-PAR | 1.011-1.1 | openSUSE-SU-2024:10232-1 |
Advisories 1
- openSUSE-SU-2024:10232-1 perl-PAR-1.011-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- FEDORA-2011-16859 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=753955
- FEDORA-2011-16856 vendor-advisory
- [oss-security] 20111104 CVE request: unsafe use of /tmp in multiple CPAN modules mailing-list
- https://rt.cpan.org/Public/Bug/Display.html?id=69560
- [oss-security] 20111104 Re: CVE request: unsafe use of /tmp in multiple CPAN modules mailing-list