Repository navigation
Mitigate Java4Shell: disable Base64 AVX-512 intrinsic (#230) - #231
Merged
Merged
Conversation
Add -XX:-UseBASE64Intrinsics to Dockerfiles and executable-jar launcher stubs. The flag is arch-neutral (works on both amd64 and arm64), unlike -XX:UseAVX=2 which breaks ARM. Native images (Dockerfile.native) are not affected — GraalVM native images do not contain the HotSpot C2 intrinsic.
Scan built Docker images for JVM and OS-package CVEs. The existing filesystem scans only see Maven dependencies and would not have caught Java4Shell (a HotSpot intrinsic bug).
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
- Bump jackson.version 2.18.8 -> 2.18.11 (CVE-2026-89407, CVE-2026-89425, CVE-2026-68497, CVE-2026-91776, CVE-2026-91777) - Bump httpclient5.version 5.4.3 -> 5.6.3 (GHSA-hjcp-jmpx-g3qm) - Add jackson-bom, guava 33.7.2-jre, jspecify 1.0.1 to dependencyManagement to fix convergence errors - Add trivy.yaml to suppress guava false positive (Trivy static pom parser does not follow dependencyManagement overrides for transitive deps)
Add trivy-config: trivy.yaml to the four trivy-image scan steps so the base-image CVE suppressions are applied.
trivy.yaml ignoredVulns was silently ignored — not a valid Trivy config key. Move all CVE suppressions to .trivyignore (plain-text, one ID per line), which Trivy loads automatically for all scan types.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add -XX:-UseBASE64Intrinsics to Dockerfiles and executable-jar launcher stubs. The flag is arch-neutral (works on both amd64 and arm64), unlike -XX:UseAVX=2 which breaks ARM.
Native images (Dockerfile.native) are not affected — GraalVM native images do not contain the HotSpot C2 intrinsic.