CVE-2009-5081

The (1) config.guess, (2) contrib/groffer/perl/groffer.pl, and (3) contrib/groffer/perl/roff2.pl scripts in GNU troff (aka groff) 1.21 and earlier use an insufficient number of X characters in the template argument to the tempfile function, which makes it easier for local users to overwrite arbitrary files via a symlink attack on a temporary file, a different vulnerability than CVE-2004-0969.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gnu:groff:*:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.10:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.11:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.11a:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.14:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.15:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.16:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.16.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.17.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.17.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.18.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.19:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.19.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.19.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.20:*:*:*:*:*:*:*
cpe:2.3:a:gnu:groff:1.20.1:*:*:*:*:*:*:*

History

07 Nov 2023, 02:04

Type Values Removed Values Added
References
  • {'url': 'http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff.diff?r1=1.1;r2=1.2;f=h', 'name': 'http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff.diff?r1=1.1;r2=1.2;f=h', 'tags': ['Patch'], '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 -

Information

Published : 2011-06-30 15:55

Updated : 2023-12-10 11:03


NVD link : CVE-2009-5081

Mitre link : CVE-2009-5081

CVE.ORG link : CVE-2009-5081


JSON object : View

Products Affected

gnu

  • groff
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')