Skip to content

Bump org.apache.zookeeper:zookeeper from 3.9.2 to 3.9.3 - #116

Merged
vharseko merged 1 commit into
masterfrom
dependabot/maven/org.apache.zookeeper-zookeeper-3.9.3
Jul 2, 2025
Merged

vharseko merged 1 commit into
masterfrom
dependabot/maven/org.apache.zookeeper-zookeeper-3.9.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2025

Copy link
Copy Markdown
Contributor

Bumps org.apache.zookeeper:zookeeper from 3.9.2 to 3.9.3.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps org.apache.zookeeper:zookeeper from 3.9.2 to 3.9.3.

---
updated-dependencies:
- dependency-name: org.apache.zookeeper:zookeeper
  dependency-version: 3.9.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 1, 2025
@vharseko
vharseko merged commit 4ef6636 into master Jul 2, 2025
@dependabot
dependabot Bot deleted the dependabot/maven/org.apache.zookeeper-zookeeper-3.9.3 branch July 2, 2025 15:55
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant