Gentoo: GLSA-202401-07: R: Directory Traversal
Summary
The native R package installation mechanisms do not sufficiently
validate installed source packages for path traversal.
Resolution
All R users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/R-4.0.4"
References
[ 1 ] CVE-2020-27637
https://nvd.nist.gov/vuln/detail/CVE-2020-27637
[ 2 ] -fno-common
[ 3 ] gcc-10
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202401-07
Concerns
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
Background
R is a language and environment for statistical computing and graphics.
Affected Packages
Package Vulnerable Unaffected
---------- ------------ ------------
dev-lang/R < 4.0.4 >= 4.0.4
Impact
Installation of a malicious R package could result in an arbitrary file
overwrite which could result in arbitrary code execution, as might be
seen with the overwrite of an authorized_keys file.
Workaround
There is no known workaround at this time.