cbcvebase.
CVE-2024-27322
published 2024-04-29

CVE-2024-27322: 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…

PriorityP263high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
23.62%
97.5th percentile
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

9 ranges
VendorProductVersion rangeFixed in
debianr-base< r-base 4.4.0-2 (forky)r-base 4.4.0-2 (forky)
msrcazl3_r_4.3.2-2_on_azure_linux_3.0
msrcazl3_r_4.4.1-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_r_4.1.0-5_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
the_r_projectr>= 1.4.0 < 4.4.04.4.0

Detection & IOCsextracted from sources · hover to see the quote

otherRDX (R package) file
  • Monitor for invocation of the R `readRDS` function on unverified or externally sourced files, which is the deserialization entry point exploited by CVE-2024-27322.
  • Detect promise objects with embedded expressions in RDS file metadata, as these are the mechanism used to achieve arbitrary code execution during deserialization.
  • Flag downloads of RDS/RDX files or R packages from public repositories (e.g., CRAN) for inspection, as attackers may distribute malicious packages passively and wait for victims to download them.
  • Alert on R versions 1.4.0 through 4.3.x in the environment; any host running these versions is vulnerable to exploitation via malicious RDS/RDX files.
  • ·The vulnerability is exploited specifically through R's lazy evaluation mechanism for promise objects during deserialization; R 4.4.0 mitigates this by restricting promises in the serialization stream.
  • ·Exploitation requires a social engineering component (victim must open the malicious file), but passive supply-chain distribution via public repositories is also a viable attack vector.
  • ·Debian bookworm and bullseye remain unpatched (open); forky, sid, and trixie are resolved at version 4.4.0-2. Environments running these Debian releases should be prioritized for patching.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian8.8LOW
vendor_msrc8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.