Perl Config-IniFiles Module: Insecure temporary file usage — GLSA 201208-05

An insecure temporary file usage has been reported in the Perl Config-IniFiles module, possibly allowing symlink attacks.

Affected packages

dev-perl/Config-IniFiles on all architectures
Affected versions < 2.710.0
Unaffected versions >= 2.710.0

Background

Config-IniFiles is a Perl module for reading .ini-style configuration files.

Description

The Perl Config-IniFiles module uses predicatable temporary file names.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All users of the Perl Config-IniFiles module should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose
 ">=dev-perl/Config-IniFiles-2.710.0"
 

References

Release date
August 14, 2012

Latest revision
August 14, 2012: 1

Severity
normal

Exploitable
local

Bugzilla entries