Gentoo Logo

R: Insecure temporary file creation

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200809-13 / R
Release Date September 22, 2008
Latest Revision September 22, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/R < 2.7.1 >= 2.7.1 All supported architectures

Related bugreports: #235822

Synopsis

R is vulnerable to symlink attacks due to an insecure usage of temporary files.

2.  Impact Information

Background

R is a GPL licensed implementation of S, a language and environment for statistical computing and graphics.

Description

Dmitry E. Oboukhov reported that the "javareconf" script uses temporary files in an insecure manner.

Impact

A local attacker could exploit this vulnerability to overwrite arbitrary files with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All R users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/R-2.7.1"

4.  References



Print

Page updated September 22, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.