First published: Wed Apr 09 2008(Updated: )
The (1) maketemp and (2) mkstemp builtin functions in GNU m4 before 1.4.11 do not quote their output when a file is created, which might allow context-dependent attackers to trigger a macro expansion, leading to unspecified use of an incorrect filename.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU m4 | <=1.4.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-1687 is classified as a medium severity vulnerability due to the potential for attackers to exploit the improper quoting in file creation functions.
To fix CVE-2008-1687, upgrade to GNU m4 version 1.4.11 or later, where the issues with maketemp and mkstemp have been addressed.
CVE-2008-1687 affects GNU m4 versions up to 1.4.10, which may lead to improper file handling.
By exploiting CVE-2008-1687, attackers may trigger macro expansions leading to the use of incorrect filenames, which can create security risks.
If upgrading is not possible, consider limiting access to the system or using alternative methods for file creation that do not involve the vulnerable functions.