Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Patching older versions of R for CVE-2024-27322 #218

Closed
dithwick opened this issue May 14, 2024 · 2 comments · Fixed by #219
Closed

Patching older versions of R for CVE-2024-27322 #218

dithwick opened this issue May 14, 2024 · 2 comments · Fixed by #219

Comments

@dithwick
Copy link

Hi,

I know 4.4.0 is already patched for CVE-2024-27322 (https://nvd.nist.gov/vuln/detail/CVE-2024-27322) but are there any plans to backport the patch to older versions of R in your binary builds? There's advice on how to generate the patch at https://stat.ethz.ch/pipermail/r-devel/2024-April/083396.html

Many thanks!

@dithwick
Copy link
Author

I've just noticed you have #219, thanks for this!

@edavidaja edavidaja linked a pull request May 17, 2024 that will close this issue
@glin glin closed this as completed in #219 May 17, 2024
@glin
Copy link
Contributor

glin commented May 20, 2024

Patched builds are now available for R 4.0.0 to 4.3.3 (#219). You can reinstall R from the same download URLs as before to receive the patch.

To check if your R version is patched, search for CVE-2024-27322 in the R NEWS.

From the command line:

$ grep -C 5 CVE-2024-27322 $(R RHOME)/doc/NEWS

CHANGES IN R 4.3.3:

  CHANGES IN POSIT'S BUILD FROM <https://github.com/rstudio/r-builds>:

    * readRDS() and unserialize() now signal an error instead of
      returning a PROMSXP, to fix CVE-2024-27322.

  NEW FEATURES:

    * iconv() now fixes up variant encoding names such as "utf8"
      case-insensitively.

From R:

> options(browser = "false")
> news(grepl("CVE-2024-27322", Text))

                        Changes in version 4.3.3                        

CHANGES IN POSIT'S BUILD FROM <https://github.com/rstudio/r-builds>

    o   readRDS() and unserialize() now signal an error instead of
	returning a PROMSXP, to fix CVE-2024-27322.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants