Lawrence Berkeley National Laboratory · Radiance · CVE-2008-4978
**Name of the Vulnerable Software and Affected Versions**
radiance version 3R9+20080530
**Description**
The issue allows local users to overwrite arbitrary files via a symlink attack on several temporary files, including `/tmp/opt.fmt`, `/tmp/out#####.fmt`, `/tmp/tf#####.dat`, `/tmp/gsf#####`, `/tmp/sc#####.sh`, `/tmp/il#####.pic`, `/tmp/tl#####.pic`, `/tmp/ds#####.pic`, `/tmp/tfa#####`, and `/tmp/sed#####`, related to the `optics2rad`, `pdelta`, `dayfact`, and `raddepend` scripts.
**Recommendations**
For radiance version 3R9+20080530, consider restricting access to the temporary files in `/tmp` to prevent symlink attacks, and avoid using the vulnerable scripts until a patch is available. As a temporary workaround, consider disabling the `optics2rad`, `pdelta`, `dayfact`, and `raddepend` scripts until a fix is provided.