Giter Site home page Giter Site logo

Comments (10)

schrum2 avatar schrum2 commented on May 27, 2024 1

Agreed. The problem still isn't fixed, so I keep working around by uninstalling/reinstalling gradle for every new codespace I make, despite the reintroduction of the security vulnerability.

Makes me wonder if the default version of gradle or some other component could be changed/lowered to avoid this. It seems odd that such a major build tool simply can't be used.

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024 1

Planning to release this image today/tomorrow (with gradle 8) which should fix the issue/
#422

from images.

schrum2 avatar schrum2 commented on May 27, 2024 1

I just made a new codespace, and I can confirm that Gradle 8.0 was installed and the basic gradle commands worked without any problem! Thanks!

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024

Hi 👋

Looks like a regression due to #269. According to CVE-2022-36033, jsoup jar file with version less than 1.53 contains a security vulnerability. Hence, the universal image includes a patch for it.

I had reported this issue in gradle/gradle#23316.
Looks like we'd need to wait for gradle version 8 to support this.

However, do you mind creating an issue with gradle and see if they could support [email protected] in current v7*?

In the meanwhile, you could avoid this issue by pinning to an older universal:2.1.2 image to fix this. However, your devcontainer will be at security risk due to CVE-2022-36033.

from images.

schrum2 avatar schrum2 commented on May 27, 2024

I found that I could fix this with sdk uninstall gradle 7.6 followed by sdk install gradle. Does this reintroduce the security vulnerability?

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024

I found that I could fix this with sdk uninstall gradle 7.6 followed by sdk install gradle. Does this reintroduce the security vulnerability?

Yep, because the jsoup jar file is installed within the gradle folder for v7.6.

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024

Closing as stale. Feel free to reopen the issue if needed.

from images.

madhead avatar madhead commented on May 27, 2024

It's still an issue. GitHub support sent me here regarding this issue. Also, an issue in Gradle repo: gradle/gradle#23730

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024

Apologies for the inconvenience, looks like gradle has a prerelease for 8.0 - https://github.com/gradle/gradle/releases
We can expect an official release soon, I'll ensure to quickly update the images.

In the meanwhile, can you add the following to you devcontainer.json to help you get inblocked?

"features": {
    "ghcr.io/devcontainers/features/java:1": {
        "installGradle": true
    }
}

ℹ️ This would reintroduce the security vulnerability but will help you get unblocked.

from images.

samruddhikhandale avatar samruddhikhandale commented on May 27, 2024

universal image is updated to include gradle v8.
The issue should be resolved with vulnerability patched for jsoup

from images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.