-
Notifications
You must be signed in to change notification settings - Fork 19
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
Patch R 4.0.0 - R 4.3.3 for CVE-2024-27322 #219
Conversation
We also update the NEWS file, so by grepping for 'CVE-2024-27322' one can tell if the patched version is installed or not.
That |
No, no need to reinstall packages. What you see above is not our patch, it is the regular R NEWS, and what they mean is that if you installed packages for earlier versions of R (i.e. 3.6.x or earlier in this case), you cannot use those with R 4.0.0. But sensible people install packages into libraries that are specific for a certain (minor) R version, so in practice no need to reinstall anything. |
Ah, yes. Definitely a standard expectation for us. |
At install time the other NEWS files will be re-generated from NEWS.Rd. To check if your R version is patched, search for 'CVE-2024-27322' in the NEWS. From the command line: ``` grep -C 5 CVE-2024-27322 /opt/R/4.0.0/lib/R/doc/NEWS ``` From R: ``` options(browser = "false") news(grepl("CVE-2024-27322", Text)) ```
@glin OK, this should be better now. All the other NEWS files ( To check if your R version is patched, search for CVE-2024-27322' in the NEWS. From the command line: grep -C 5 CVE-2024-27322 /opt/R/4.0.0/lib/R/doc/NEWS
From R: options(browser = "false")
news(grepl("CVE-2024-27322", Text))
(I am not sure why the URL does not show up in R, probably an R bug.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for taking care of this.
@gaborcsardi Yeah it seems like an R bug. At least with 4.3.3, the URL shows up correctly: > 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. |
We also update the NEWS file, so by grepping for
'CVE-2024-27322' one can tell if the patched version is installed or not.