-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradle_6: mark very insecure #352236
Merged
Merged
gradle_6: mark very insecure #352236
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v6 is vulnerable to a number of vulnerabiliites: * CVE-2021-29429, affecting confidentiality * CVE-2021-29427, affecting confidentiality and can lead to dependency poisoning * CVE-2021-29428, a privilege escalation involving the temp dir * CVE-2021-32751, arbitrary code execution
tomodachi94
added
1.severity: security
Issues which raise a security issue, or PRs that fix one
backport release-24.05
Backport PR automatically
labels
Oct 30, 2024
Off-topic: I'm wondering if we should remove this package after the feature freeze. |
tomodachi94
added a commit
to tomodachi94/nixpkgs
that referenced
this pull request
Oct 30, 2024
Upstream has made it possible to use a recent version of Gradle, thanks to some patches: * "1.2.6: changed JVM args to be compatible with Java 17" -> This is not directly applied, as it fails to apply cleanly; we use substituteInPlace instead -> TrashboxBobylev/Summoning-Pixel-Dungeon@c8a6fdd * "1.2.6: updated desktop build script for Gradle 7.0+" -> TrashboxBobylev/Summoning-Pixel-Dungeon@5610142 Additionally, allows this package to keep working after NixOS#352236
13 tasks
1 task
Successfully created backport PR for |
github-actions bot
pushed a commit
that referenced
this pull request
Oct 30, 2024
Upstream has made it possible to use a recent version of Gradle, thanks to some patches: * "1.2.6: changed JVM args to be compatible with Java 17" -> This is not directly applied, as it fails to apply cleanly; we use substituteInPlace instead -> TrashboxBobylev/Summoning-Pixel-Dungeon@c8a6fdd * "1.2.6: updated desktop build script for Gradle 7.0+" -> TrashboxBobylev/Summoning-Pixel-Dungeon@5610142 Additionally, allows this package to keep working after #352236 (cherry picked from commit 6854e01)
keatonhasse
pushed a commit
to keatonhasse/nixpkgs
that referenced
this pull request
Oct 30, 2024
Upstream has made it possible to use a recent version of Gradle, thanks to some patches: * "1.2.6: changed JVM args to be compatible with Java 17" -> This is not directly applied, as it fails to apply cleanly; we use substituteInPlace instead -> TrashboxBobylev/Summoning-Pixel-Dungeon@c8a6fdd * "1.2.6: updated desktop build script for Gradle 7.0+" -> TrashboxBobylev/Summoning-Pixel-Dungeon@5610142 Additionally, allows this package to keep working after NixOS#352236
tomodachi94
added a commit
to tomodachi94/nixpkgs
that referenced
this pull request
Oct 30, 2024
Unmaintained since 10 Feb 2023: https://endoflife.date/gradle Numerous security vulnerabilities: NixOS#352236 Last remaining usages removed in:
tomodachi94
added a commit
to tomodachi94/nixpkgs
that referenced
this pull request
Oct 30, 2024
Unmaintained since 10 Feb 2023: https://endoflife.date/gradle Numerous security vulnerabilities: NixOS#352236 Last remaining usages removed in:
tomodachi94
added a commit
to tomodachi94/nixpkgs
that referenced
this pull request
Oct 30, 2024
Unmaintained since 10 Feb 2023: https://endoflife.date/gradle Numerous security vulnerabilities: NixOS#352236
jmartindf
pushed a commit
to jmartindf/nixpkgs
that referenced
this pull request
Nov 1, 2024
Upstream has made it possible to use a recent version of Gradle, thanks to some patches: * "1.2.6: changed JVM args to be compatible with Java 17" -> This is not directly applied, as it fails to apply cleanly; we use substituteInPlace instead -> TrashboxBobylev/Summoning-Pixel-Dungeon@c8a6fdd * "1.2.6: updated desktop build script for Gradle 7.0+" -> TrashboxBobylev/Summoning-Pixel-Dungeon@5610142 Additionally, allows this package to keep working after NixOS#352236
github-actions bot
pushed a commit
to Mic92/nixpkgs
that referenced
this pull request
Nov 3, 2024
Upstream has made it possible to use a recent version of Gradle, thanks to some patches: * "1.2.6: changed JVM args to be compatible with Java 17" -> This is not directly applied, as it fails to apply cleanly; we use substituteInPlace instead -> TrashboxBobylev/Summoning-Pixel-Dungeon@c8a6fdd * "1.2.6: updated desktop build script for Gradle 7.0+" -> TrashboxBobylev/Summoning-Pixel-Dungeon@5610142 Additionally, allows this package to keep working after NixOS#352236
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1.severity: security
Issues which raise a security issue, or PRs that fix one
backport release-24.05
Backport PR automatically
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Every Gradle before v7 (including our beloved
gradle_6
) is vulnerable to a number of vulnerabiliites:To mark the package insecure, I had to add a
meta
attribute that is merged into the existingmeta
produced by the package. Eval succeeds (fails with insecure warning) when I tested this.Let me know if the messages in
knownVulnerabilities
are too verbose.cc the following maintainers, whose packages won't build after this package is marked insecure:
Closes #132127
Closes #147881
Closes #124636
Closes #124635
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.