PT-2008-6156 · Unknown · Scratchbox2
Robert Buchholz
·
Published
2008-11-06
·
Updated
2017-08-08
·
CVE-2008-4984
CVSS v2.0
6.9
Medium
| Vector | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
scratchbox2 version 1.99.0.24
Description
The issue allows local users to overwrite arbitrary files via a symlink attack on temporary files, specifically (a) /tmp/dpkg.#####.tmp, (b) /tmp/missing deps.#####, and (c) /tmp/sb2-pkg-chk.$tstamp.#####, related to the dpkg-checkbuilddeps and sb2-check-pkg-mappings scripts.
Recommendations
For scratchbox2 version 1.99.0.24, consider restricting access to the temporary files /tmp/dpkg.#####.tmp, /tmp/missing deps.#####, and /tmp/sb2-pkg-chk.$tstamp.##### to prevent a symlink attack. Additionally, as a temporary workaround, consider disabling the dpkg-checkbuilddeps and sb2-check-pkg-mappings scripts until a patch is available. At the moment, there is no information about a newer version that contains a fix for this issue.
Fix
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Scratchbox2