CVE-2009-5080
groff < 1.21 - Arbitrary File Write via Symlink Attack on Temporary Directory
Title source: llmDescription
The (1) contrib/eqn2graph/eqn2graph.sh, (2) contrib/grap2graph/grap2graph.sh, and (3) contrib/pic2graph/pic2graph.sh scripts in GNU troff (aka groff) 1.21 and earlier do not properly handle certain failed attempts to create temporary directories, which might allow local users to overwrite arbitrary files via a symlink attack on a file in a temporary directory, a different vulnerability than CVE-2004-1296.
References (6)
Core 6
Core References
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2009/08/14/4
Patch mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2009/08/14/5
Mailing List x_refsource_confirm
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff.diff?r1=1.1%3Br2=1.2%3Bf=h
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2013:085
Patch x_refsource_confirm
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff
Vendor Advisory vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2013:086
Scores
EPSS
0.0007
EPSS Percentile
22.1%
Details
CWE
CWE-59
Status
published
Products (16)
gnu/groff
1.10
gnu/groff
1.11
gnu/groff
1.11a
gnu/groff
1.14
gnu/groff
1.15
gnu/groff
1.16
gnu/groff
1.16.1
gnu/groff
1.17.1
gnu/groff
1.17.2
gnu/groff
1.18.1
... and 6 more
Published
Jun 30, 2011
Tracked Since
Feb 18, 2026