Description
Deserialization of untrusted data can occur in the R statistical programming language, on any version starting at 1.4.0 up to and not including 4.4.0, enabling a maliciously crafted RDS (R Data Serialization) formatted file or R package to run arbitrary code on an end user’s system when interacted with.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The R Project | R | 1.4.0 – < 4.4.0 | 4.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | r-base | 4.4.0-2 | — |
| Debian 13 | r-base | 4.4.0-2 | — |
| Debian 12 | r-base | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | r-base | No fix yet | — |
| Ubuntu 22.04 LTS | r-base | No fix yet | — |
| Ubuntu 20.04 LTS | r-base | No fix yet | — |
| Ubuntu 18.04 LTS | r-base | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | r-base | No fix yet | — |
| Ubuntu Pro 14.04 LTS | r-base | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | R +8 | 4.3.2-1.amzn2023.0.3 | ALAS2023-2024-638 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | R | 4.4.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | R | 4.1.0-5 | — |
Advisories 1
- ALAS2023-2024-638 Important: R security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 10, 2024
References
- https://hiddenlayer.com/research/r-bitrary-code-execution/
- https://https://kb.cert.org/vuls/id/238194
- https://www.kb.cert.org/vuls/id/238194
- http://www.openwall.com/lists/oss-security/2024/04/29/3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JVE5FDLFJGTAMOSJ6DREFAODEUBRFWSG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7ZLV4OWXZIJ7EFBIWUZADUSHYJTFAQ4D/