Skip to content

Upgrade bundled dependencies with recent security patches - jszip #303

@hedsnz

Description

@hedsnz

I was prompted to look at the source code of rJava when I got an alert for a vulnerability in one of the bundled JavaScript packages jszip. (Upstream merge with fix: Stuk/jszip#813) This is apparently at rJava/inst/javadoc/jquery/jszip/dist/jszip.js (+ minified etc.).

When I download the package source from https://cran.r-project.org/web/packages/rJava/index.html, jszip is indeed included at rJava/javadoc/jquery/jszip. However, jszip doesn't appear to be referenced anywhere in this repo. I'm guessing it's brought in by mkdist when it runs make javadoc (?).

If that's the case, is there any way to incorporate an upgraded version of jszip into rJava?

Thanks

Edit - here's another vulnerability identified in jszip before 3.7.0: https://nvd.nist.gov/vuln/detail/CVE-2021-23413. The version packaged in rJava is 3.2.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions