Repository navigation
Bump org.openidentityplatform.openam 15.1.2 - #94
Merged
Merged
Conversation
vharseko
added a commit
that referenced
this pull request
Oct 28, 2026
…er image (#190) Fixes the code scanning (Trivy) findings that are still present in an image built from `master`. ## Changes | Library | Was | Now | Comes from | Alerts | |---|---|---|---|---| | bcprov / bcpkix / bcutil-jdk15to18 | 1.71 | 1.86 (pinned) | `com.ibm.mq.allclient` 9.3.1.0 | #96 #97 #111 #112 | | kafka-clients | 3.9.1 | 3.9.2 | `kafka_2.13` 3.9.1 → 3.9.2 | #94 | | jose4j | 0.9.4 | 0.9.6 | `kafka_2.13` | #95 | | lz4-java | `org.lz4` 1.8.0 | `at.yawk.lz4` 1.11.4 (pinned) | `kafka-clients` | #98 #126 #127 | | httpcore5 / httpcore5-h2 | 5.3.6 | 5.4.4 (pinned, with httpclient5 5.6.5) | antisamy ← esapi ← openam-federation-library | #92 #93 | | `/usr/bin/pebble` (Go stdlib 1.27.1) | present | removed from the image | `tomcat:11-jre25` base (Ubuntu 26.04) | #113–#116 | Notes: - **Kafka stays on 3.9.x**: `EmbeddedKafka` runs the ZooKeeper-mode `kafka.server.KafkaServer`, which Kafka 4.0 removed. kafka-clients 3.9.2, the last 3.9.x, brings `at.yawk.lz4` 1.10.1, which is still inside CVE-2026-106451 (GHSA-mcr4-qmvw-px4g, fixed in 1.11.4), so lz4-java is pinned to 1.11.4. - **Bouncy Castle**: besides the CVEs, 1.86 is signed with the same certificate as opendj-core's `bc-fips` 2.1.3, while 1.71 is not. With the FIPS jars first on the classpath, loading `org.bouncycastle.crypto` classes of 1.71 failed with "signer information does not match". `MQ_IBMBouncyCastleTest` pins this: red on 1.71, green on 1.86, while the openig-core test classpath lists the FIPS jars first. - **HttpClient 5** ships in the war through antisamy, but its version was decided by the test-scoped `wiremock` (nearer in the dependency tree), so it is now pinned explicitly. - **pebble**: the Ubuntu 26.04 base image is built with rockcraft and carries `/usr/bin/pebble` outside dpkg, so `apt-get upgrade` never patches it. The image runs `catalina.sh`, not pebble. The `rm` deletes it from the container filesystem; the base layer still carries the file, but whiteout-aware scanners such as Trivy do not report it. ## Verification - `mvn verify -pl openig-core,openig-saml,openig-war -am`: BUILD SUCCESS, no failures (1039 tests in openig-core). - `EmbeddedKafkaTest` and `MQ_KafkaTest` (JUnit 4, which the default run does not pick up, so run with `-Dtest`): pass, the embedded ZooKeeper-mode `KafkaServer` starts on 3.9.2. - `MQ_IBMBouncyCastleTest` under surefire: passes on 1.86; fails on 1.71 with `SecurityException: class "org.bouncycastle.crypto.InvalidCipherTextException"'s signer information does not match ...`. - LZ4 under Kafka 3.9.2 with lz4-java 1.11.4 (no test sets `compression.type=lz4`, so checked by hand): `MemoryRecords` with `Compression.lz4()` round-trip for magic v1 and v2 through `LZ4Factory:JNI`. - The built war contains bcprov/bcpkix/bcutil-jdk15to18 1.86, httpclient5 5.6.5, httpcore5/-h2 5.4.4, kafka-clients 3.9.2, jose4j 0.9.6, lz4-java 1.11.4 (`at.yawk.lz4`), and no `org.lz4`. - An image built from the first round's war the same way as `build.yml` has no `/usr/bin/pebble` and reaches `healthy`; this round changes only a comment in the Dockerfile, and `build-docker` on this PR builds the image from the new war and waits for `healthy`. - Trivy: the `build.yml` scan cannot turn the check red (`continue-on-error`, `ignore-unfixed`), so the result is read from the PR ref: ```sh gh api "repos/OpenIdentityPlatform/OpenIG/code-scanning/alerts?ref=refs/pull/190/merge&tool_name=Trivy&state=open" \ --jq '.[] | .rule.id + " " + .most_recent_instance.location.path' ``` On the first round (`d5c89744`) it returned one alert, `CVE-2026-106451 .../WEB-INF/lib/lz4-java-1.10.1.jar` (#128), which the lz4 pin of `baba1516` addresses; the result for `baba1516` is pending its `build-docker` run. A CVE still listed proves it is not fixed; a missing one alone does not prove it is. `ignore-unfixed` keeps `org.lz4` 1.8.0 (#126, #127: no fixed version in that namespace) out of the `build.yml` scan altogether, so their closure on this PR is shown by the advisory ranges, not by the scan: CVE-2025-66566 is fixed in `at.yawk.lz4` 1.10.1 and CVE-2026-106451 in 1.11.4. ## After merge Code scanning merges alerts across the `trivy-build-default` and `trivy-image-latest` categories, so the alerts above (except the pebble ones, which only exist in the `master` build) stay open until the next release republishes `openidentityplatform/openig:latest`.
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.
No description provided.