CVE-2024-27322 Deserialization in R

High 8.8 Published Updated

Attackers can execute arbitrary code by tricking users into opening malicious RDS files or packages in the R statistical programming language.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-27322?

CVE-2024-27322 is a high-severity unsafe deserialization vulnerability in The R Project R, published on 29 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2024-27322?

How do I fix CVE-2024-27322?

Upgrade to a fixed version.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-27322 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27322 exists.

Sources

Also known as AZL-42792, AZL-42815, DEBIAN-CVE-2024-27322, GHSA-82x4-8q4x-2qxv, UBUNTU-CVE-2024-27322.

Is CVE-2024-27322 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free