GLSA 202401-07: R: Directory Traversal

Severity:normal
Title:R: Directory Traversal
Date:01/06/2024
Bugs: #765361
ID:202401-07

Synopsis

A vulnerability was found in R which could allow for remote code execution.

Background

R is a language and environment for statistical computing and graphics.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/R < 4.0.4 >= 4.0.4 All supported architectures

Description

The native R package installation mechanisms do not sufficiently validate installed source packages for path traversal.

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.

Resolution

All R users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202401-07.xml

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.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!