Description
syncevo/installcheck-local.sh in syncevolution before 1.3.99.7 uses mktemp 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.
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 | syncevolution | 1.3.99.7-1 | — |
| Debian 12 | syncevolution | 1.3.99.7-1 | — |
References
- [oss-security] 20140122 Re: Getting tempfile/mktemp wrong mailing-list
- syncevolution-cve20141639-symlink(90662) vdb-entry
- 102380 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736357
- 65098 vdb-entry
- [oss-security] 20140122 Getting tempfile/mktemp wrong mailing-list