CVE-2014-1638 (1) debian/postrm and (2) debian/localepurge.config in localepurge before 0.7.3.2 use tempfile to create a safe temporary file but appends a suffix to the original filename and writes to this new file...
LowCVSS 3.3
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
Description
(1) debian/postrm and (2) debian/localepurge.config in localepurge before 0.7.3.2 use tempfile to create a safe temporary file but appends a suffix to the original filename and writes to this new filename, which allows local users to overwrite arbitrary files via a symlink attack on the new filename.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/localepurge(Debian:12) | < 0.7.3.2 | 0.7.3.2 |
| debian/localepurge(Debian:13) | < 0.7.3.2 | 0.7.3.2 |
| debian/localepurge(Debian:14) | < 0.7.3.2 | 0.7.3.2 |
| debian/localepurge | <= 0.7.3.1 | No fix listed |
| ubuntu/localepurge(Ubuntu:14.04) | < 0.7.3.2 | 0.7.3.2 |
| ubuntu/localepurge(Ubuntu:14.04) | = 0.7.2 | No fix listed |
| ubuntu/localepurge(Ubuntu:14.04) | = 0.7.3 | No fix listed |
| ubuntu/localepurge(Ubuntu:14.04) | = 0.7.3.1 | No fix listed |
References
- Debian Security Tracker CVE-2014-1638 vendor-advisory
- bugs.debian.org issue-tracking vendor-advisory
- [oss-security] 20140122 Getting tempfile/mktemp wrong issue-tracking mailing-list
- [oss-security] 20140122 Re: Getting tempfile/mktemp wrong issue-tracking mailing-list
- 102379 vdb-entry
- 102381 vdb-entry
- 65098 vdb-entry
- localepurge-cve20141638-symlink(90669) vdb-entry
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- xforce.iss.net issue-tracking
- www.cve.org issue-tracking