From 1502e9d337b514fa9947d4a11ec3ca1638155f86 Mon Sep 17 00:00:00 2001 From: chen21019 Date: Tue, 10 Nov 2026 12:47:20 +0800 Subject: [PATCH 1/2] Fix shaded JSON numeric exhaustion in runtime 5.7.7 --- .github/workflows/security-release-gate.yml | 52 +++++++++------- Dockerfile.pasturestack | 8 +-- README.md | 26 ++++---- RELEASE-NOTES-5.7.7.md | 18 ++++++ SECURITY-MAINTENANCE.md | 6 ++ distribution/pom.xml | 2 +- extensions/avro/pom.xml | 2 +- extensions/cdc-debezium/pom.xml | 2 +- extensions/cdc-mysql/pom.xml | 2 +- extensions/cdc-postgres/pom.xml | 2 +- extensions/csv/pom.xml | 2 +- .../elasticsearch/elasticsearch-7/pom.xml | 2 +- extensions/grpc/pom.xml | 2 +- extensions/hadoop-dist/files-azure/pom.xml | 2 +- extensions/hadoop-dist/files-gcs/pom.xml | 2 +- extensions/hadoop-dist/files-s3/pom.xml | 2 +- extensions/hadoop-dist/hadoop-all/pom.xml | 2 +- extensions/hadoop-dist/hadoop/pom.xml | 2 +- extensions/hadoop-dist/pom.xml | 2 +- extensions/hadoop/pom.xml | 2 +- extensions/kafka-connect/pom.xml | 2 +- extensions/kafka/pom.xml | 2 +- extensions/kinesis/pom.xml | 2 +- extensions/mapstore/pom.xml | 2 +- extensions/mongodb/pom.xml | 2 +- extensions/pom.xml | 2 +- extensions/protobuf/pom.xml | 2 +- extensions/python/pom.xml | 2 +- extensions/s3/pom.xml | 2 +- hazelcast-archunit-rules/pom.xml | 2 +- hazelcast-build-utils/pom.xml | 2 +- hazelcast-coverage-report/pom.xml | 2 +- hazelcast-it/distribution-it/pom.xml | 2 +- hazelcast-it/pom.xml | 2 +- hazelcast-parent/pom.xml | 9 ++- .../hazelcast-spring-boot4/pom.xml | 2 +- .../pom.xml | 2 +- hazelcast-spring-tests/pom.xml | 2 +- hazelcast-spring/pom.xml | 2 +- hazelcast-sql/pom.xml | 2 +- hazelcast-tpc-engine/pom.xml | 2 +- hazelcast/pom.xml | 2 +- .../internal/yaml/JsonNumberSecurityTest.java | 60 +++++++++++++++++++ .../testjob-with-hazelcast-codebase/pom.xml | 2 +- .../console/testjob-with-hz-bootstrap/pom.xml | 2 +- .../testjob-with-jet-bootstrap/pom.xml | 2 +- modulepath-tests/pom.xml | 2 +- pom.xml | 4 +- scripts/check-json-number-hardening | 35 +++++++++++ scripts/pasturestack-build-runtime | 16 +++-- .../pasturestack-enforce-vulnerabilities.py | 4 +- scripts/pasturestack-verify-maven-evidence.py | 2 +- scripts/test-pasturestack-jackson-release.py | 13 ++-- 53 files changed, 233 insertions(+), 100 deletions(-) create mode 100644 RELEASE-NOTES-5.7.7.md create mode 100644 hazelcast/src/test/java/com/hazelcast/internal/yaml/JsonNumberSecurityTest.java create mode 100755 scripts/check-json-number-hardening diff --git a/.github/workflows/security-release-gate.yml b/.github/workflows/security-release-gate.yml index 0be4a2c1a9d62..77f1aed7a658e 100644 --- a/.github/workflows/security-release-gate.yml +++ b/.github/workflows/security-release-gate.yml @@ -77,7 +77,7 @@ jobs: test -z "$(git status --porcelain)" if [[ -n "$RELEASE_REF" ]]; then test "$GITHUB_EVENT_NAME" = workflow_dispatch - [[ "$RELEASE_REF" =~ ^v5\.7\.6$ ]] + [[ "$RELEASE_REF" =~ ^v5\.7\.7$ ]] test "$(git cat-file -t "$RELEASE_REF")" = tag test "$(git rev-parse HEAD)" = "$(git rev-parse "${RELEASE_REF}^{commit}")" fi @@ -104,7 +104,7 @@ jobs: set -euo pipefail scripts/pasturestack-build-runtime preflight python scripts/test-pasturestack-jackson-release.py -v - core_tests='com.hazelcast.aws.AwsMetadataApiTest,com.hazelcast.azure.TagTest,com.hazelcast.config.XmlSchemaSourceSecurityTest,com.hazelcast.console.ConsoleAppTest,com.hazelcast.core.server.HazelcastMemberStarterTest,com.hazelcast.dataconnection.impl.JdbcDataConnectionTest,com.hazelcast.dataconnection.impl.JdbcUrlPolicyTest,com.hazelcast.dataconnection.impl.hazelcastdataconnection.HazelcastDataConnectionConfigLoaderTest,com.hazelcast.dataconnection.impl.jdbcproperties.HikariTranslatorTest,com.hazelcast.flakeidgen.impl.FlakeIdGeneratorProxyTest,com.hazelcast.gcp.LabelTest,com.hazelcast.gcp.UtilsTest,com.hazelcast.internal.config.ConfigLoaderSecurityTest,com.hazelcast.internal.diagnostics.DiagnosticsLogFileTest,com.hazelcast.internal.serialization.impl.ByteArrayObjectDataIntegrationTest,com.hazelcast.internal.serialization.impl.ObjectDataInputStreamIntegrationTest,com.hazelcast.internal.serialization.impl.UnsafeObjectDataInputIntegrationTest,com.hazelcast.internal.util.ClockTest,com.hazelcast.internal.util.HashUtilTest,com.hazelcast.internal.util.SecureFileAccessTest,com.hazelcast.internal.util.collection.LongHashSetTest,com.hazelcast.internal.util.concurrent.BackoffIdleStrategyTest,com.hazelcast.internal.util.phonehome.PhoneHomeDifferentConfigTest,com.hazelcast.internal.util.phonehome.PhoneHomeIntegrationTest,com.hazelcast.internal.util.XmlUtilTest,com.hazelcast.jet.impl.submitjob.memberside.JobUploadStatusTest,com.hazelcast.jet.impl.submitjob.memberside.validator.JarOnClientValidatorTest,com.hazelcast.jet.impl.util.JsonUtilTest,com.hazelcast.jet.json.impl.JsonUtilImplTest,com.hazelcast.jet.retry.impl.IntervalFunctionTest,com.hazelcast.kubernetes.KubernetesApiOriginPolicyTest,com.hazelcast.kubernetes.KubernetesConfigTest,com.hazelcast.spi.discovery.multicast.MulticastDiscoveryStrategyTest,com.hazelcast.spi.utils.RestClientTest,com.hazelcast.spi.utils.RetryUtilsTest' + core_tests='com.hazelcast.aws.AwsMetadataApiTest,com.hazelcast.azure.TagTest,com.hazelcast.config.XmlSchemaSourceSecurityTest,com.hazelcast.console.ConsoleAppTest,com.hazelcast.core.server.HazelcastMemberStarterTest,com.hazelcast.dataconnection.impl.JdbcDataConnectionTest,com.hazelcast.dataconnection.impl.JdbcUrlPolicyTest,com.hazelcast.dataconnection.impl.hazelcastdataconnection.HazelcastDataConnectionConfigLoaderTest,com.hazelcast.dataconnection.impl.jdbcproperties.HikariTranslatorTest,com.hazelcast.flakeidgen.impl.FlakeIdGeneratorProxyTest,com.hazelcast.gcp.LabelTest,com.hazelcast.gcp.UtilsTest,com.hazelcast.internal.config.ConfigLoaderSecurityTest,com.hazelcast.internal.yaml.YamlToJsonConverterTest,com.hazelcast.config.ClientYamlSchemaTest,com.hazelcast.config.MemberYamlSchemaTest,com.hazelcast.config.YamlConfigSchemaValidatorTest,com.hazelcast.internal.yaml.JsonNumberSecurityTest,com.hazelcast.internal.diagnostics.DiagnosticsLogFileTest,com.hazelcast.internal.serialization.impl.ByteArrayObjectDataIntegrationTest,com.hazelcast.internal.serialization.impl.ObjectDataInputStreamIntegrationTest,com.hazelcast.internal.serialization.impl.UnsafeObjectDataInputIntegrationTest,com.hazelcast.internal.util.ClockTest,com.hazelcast.internal.util.HashUtilTest,com.hazelcast.internal.util.SecureFileAccessTest,com.hazelcast.internal.util.collection.LongHashSetTest,com.hazelcast.internal.util.concurrent.BackoffIdleStrategyTest,com.hazelcast.internal.util.phonehome.PhoneHomeDifferentConfigTest,com.hazelcast.internal.util.phonehome.PhoneHomeIntegrationTest,com.hazelcast.internal.util.XmlUtilTest,com.hazelcast.jet.impl.submitjob.memberside.JobUploadStatusTest,com.hazelcast.jet.impl.submitjob.memberside.validator.JarOnClientValidatorTest,com.hazelcast.jet.impl.util.JsonUtilTest,com.hazelcast.jet.json.impl.JsonUtilImplTest,com.hazelcast.jet.retry.impl.IntervalFunctionTest,com.hazelcast.kubernetes.KubernetesApiOriginPolicyTest,com.hazelcast.kubernetes.KubernetesConfigTest,com.hazelcast.spi.discovery.multicast.MulticastDiscoveryStrategyTest,com.hazelcast.spi.utils.RestClientTest,com.hazelcast.spi.utils.RetryUtilsTest' all_tests="$core_tests,com.hazelcast.jet.sql.impl.parse.QueryParserTest,com.hazelcast.buildutils.ExportPackageViewerTest,com.hazelcast.jet.cdc.OperationTest" timeout --signal=TERM --kill-after=30s 30m ./mvnw -B \ -pl hazelcast,hazelcast-sql,hazelcast-build-utils,extensions/cdc-debezium,extensions/mongodb \ @@ -150,6 +150,11 @@ jobs: com.hazelcast.gcp.LabelTest com.hazelcast.gcp.UtilsTest com.hazelcast.internal.config.ConfigLoaderSecurityTest + com.hazelcast.internal.yaml.YamlToJsonConverterTest + com.hazelcast.config.ClientYamlSchemaTest + com.hazelcast.config.MemberYamlSchemaTest + com.hazelcast.config.YamlConfigSchemaValidatorTest + com.hazelcast.internal.yaml.JsonNumberSecurityTest com.hazelcast.internal.diagnostics.DiagnosticsLogFileTest com.hazelcast.internal.serialization.impl.ByteArrayObjectDataIntegrationTest com.hazelcast.internal.serialization.impl.ObjectDataInputStreamIntegrationTest @@ -216,10 +221,11 @@ jobs: run: | set -euo pipefail PASTURESTACK_OUTPUT_DIR=dist scripts/pasturestack-build-runtime - test -s dist/hazelcast-5.7.6.jar - sha256sum dist/hazelcast-5.7.6.jar | tee evidence/hazelcast-5.7.6.jar.sha256 - jar tf dist/hazelcast-5.7.6.jar | grep -Fxq META-INF/LICENSE - jar tf dist/hazelcast-5.7.6.jar | grep -Fxq META-INF/NOTICE + test -s dist/hazelcast-5.7.7.jar + scripts/check-json-number-hardening dist/hazelcast-5.7.7.jar + sha256sum dist/hazelcast-5.7.7.jar | tee evidence/hazelcast-5.7.7.jar.sha256 + jar tf dist/hazelcast-5.7.7.jar | grep -Fxq META-INF/LICENSE + jar tf dist/hazelcast-5.7.7.jar | grep -Fxq META-INF/NOTICE native_resources=( hazelcast/src/main/resources/affinity_helper.c hazelcast/src/main/resources/affinity_helper.h @@ -234,7 +240,7 @@ jobs: trap 'rm -rf "$extracted_native"' EXIT ( cd "$extracted_native" - jar xf "$GITHUB_WORKSPACE/dist/hazelcast-5.7.6.jar" \ + jar xf "$GITHUB_WORKSPACE/dist/hazelcast-5.7.7.jar" \ lib/linux-x86/libicmp_helper.so \ lib/linux-x86_64/libaffinity_helper.so \ lib/linux-x86_64/libicmp_helper.so @@ -245,7 +251,7 @@ jobs: "$extracted_native/lib/linux-x86_64/libaffinity_helper.so" cmp hazelcast-tpc-engine/src/main/resources/lib/linux-x86_64/libicmp_helper.so \ "$extracted_native/lib/linux-x86_64/libicmp_helper.so" - if jar tf dist/hazelcast-5.7.6.jar | grep -Eq '(^|/)(jet_to_python[^/]*|[^/]+\.py)$'; then + if jar tf dist/hazelcast-5.7.7.jar | grep -Eq '(^|/)(jet_to_python[^/]*|[^/]+\.py)$'; then echo 'The core runtime artifact unexpectedly contains Python extension resources.' >&2 exit 1 fi @@ -323,9 +329,9 @@ jobs: -Dfile=pom.xml -DpomFile=pom.xml ./mvnw -B org.apache.maven.plugins:maven-install-plugin:3.1.4:install-file \ -Dfile=hazelcast-parent/pom.xml -DpomFile=hazelcast-parent/pom.xml - test -s hazelcast-tpc-engine/target/hazelcast-tpc-engine-5.7.6.jar + test -s hazelcast-tpc-engine/target/hazelcast-tpc-engine-5.7.7.jar ./mvnw -B org.apache.maven.plugins:maven-install-plugin:3.1.4:install-file \ - -Dfile=hazelcast-tpc-engine/target/hazelcast-tpc-engine-5.7.6.jar \ + -Dfile=hazelcast-tpc-engine/target/hazelcast-tpc-engine-5.7.7.jar \ -DpomFile=hazelcast-tpc-engine/pom.xml timeout --signal=TERM --kill-after=30s 15m ./mvnw -B \ org.apache.maven.plugins:maven-help-plugin:3.5.2:effective-pom \ @@ -344,7 +350,7 @@ jobs: -DoutputFormat=json \ -DoutputReactorProjects=false \ -DoutputDirectory="$PWD/evidence" \ - -DoutputName=hazelcast-5.7.6.cdx \ + -DoutputName=hazelcast-5.7.7.cdx \ -DschemaVersion=1.6 \ org.cyclonedx:cyclonedx-maven-plugin:2.9.3:makeBom printf '%s %s\n%s %s\n' \ @@ -394,18 +400,18 @@ jobs: "$TRIVY_IMAGE" rootfs --pkg-types library \ --cache-dir /root/.cache/trivy --skip-db-update --offline-scan \ --scanners vuln --list-all-pkgs --format json \ - --output /evidence/hazelcast-5.7.6.trivy.json /artifact/hazelcast-5.7.6.jar + --output /evidence/hazelcast-5.7.7.trivy.json /artifact/hazelcast-5.7.7.jar docker run --rm --network none \ -v "$PWD/evidence:/evidence" \ -v "$trivy_cache:/root/.cache/trivy" \ "$TRIVY_IMAGE" sbom \ --cache-dir /root/.cache/trivy --skip-db-update --skip-java-db-update --offline-scan \ --scanners vuln --list-all-pkgs --format json \ - --output /evidence/hazelcast-5.7.6.sbom.trivy.json \ - /evidence/hazelcast-5.7.6.cdx.json + --output /evidence/hazelcast-5.7.7.sbom.trivy.json \ + /evidence/hazelcast-5.7.7.cdx.json sha256sum evidence/maven-effective-pom.xml \ - evidence/maven-runtime-dependency-tree.json evidence/hazelcast-5.7.6.cdx.json \ - evidence/hazelcast-5.7.6.sbom.trivy.json evidence/hazelcast-5.7.6.trivy.json \ + evidence/maven-runtime-dependency-tree.json evidence/hazelcast-5.7.7.cdx.json \ + evidence/hazelcast-5.7.7.sbom.trivy.json evidence/hazelcast-5.7.7.trivy.json \ evidence/evidence-tools.sha256 \ evidence/native-resources.sha256 evidence/runtime-toolchain-boundary.txt \ > evidence/security-evidence.sha256 @@ -419,7 +425,7 @@ jobs: done python scripts/pasturestack-verify-maven-evidence.py \ --effective-pom evidence/maven-effective-pom.xml \ - --sbom evidence/hazelcast-5.7.6.cdx.json \ + --sbom evidence/hazelcast-5.7.7.cdx.json \ --dependency-tree evidence/maven-runtime-dependency-tree.json \ --summary evidence/maven-evidence-summary.txt sha256sum evidence/maven-evidence-summary.txt >> evidence/security-evidence.sha256 @@ -432,9 +438,9 @@ jobs: return json.load(stream) source = load('evidence/source-security.json') - artifact = load('evidence/hazelcast-5.7.6.trivy.json') - dependency_scan = load('evidence/hazelcast-5.7.6.sbom.trivy.json') - sbom = load('evidence/hazelcast-5.7.6.cdx.json') + artifact = load('evidence/hazelcast-5.7.7.trivy.json') + dependency_scan = load('evidence/hazelcast-5.7.7.sbom.trivy.json') + sbom = load('evidence/hazelcast-5.7.7.cdx.json') maven_tree = load('evidence/maven-runtime-dependency-tree.json') source_vulnerabilities = [ item @@ -514,7 +520,7 @@ jobs: or None in component_purls or len(component_refs) != len(set(component_refs)) or len(component_purls) != len(set(component_purls)) - or maven_root != ('com.hazelcast', 'hazelcast', '5.7.6') + or maven_root != ('com.hazelcast', 'hazelcast', '5.7.7') or sbom_root != maven_root or root_ref not in dependency_refs or dependency_refs != allowed_refs @@ -532,7 +538,7 @@ jobs: docker run --rm --network none \ -v "$PWD/evidence:/evidence:ro" \ cyclonedx/cyclonedx-cli:0.33.1@sha256:252c2e26f468c25fea1e63ecde1bc3198ad6e9dbb57f5ed3236bddcb2281b3a7 \ - validate --input-file /evidence/hazelcast-5.7.6.cdx.json \ + validate --input-file /evidence/hazelcast-5.7.7.cdx.json \ --input-format json --input-version v1_6 --fail-on-errors - name: Upload review evidence @@ -552,7 +558,7 @@ jobs: with: name: distributed-cache-release-${{ steps.candidate.outputs.source_sha }} path: | - dist/hazelcast-5.7.6.jar + dist/hazelcast-5.7.7.jar evidence/ if-no-files-found: error retention-days: 30 diff --git a/Dockerfile.pasturestack b/Dockerfile.pasturestack index e6a4df2ddb288..368197fb94738 100644 --- a/Dockerfile.pasturestack +++ b/Dockerfile.pasturestack @@ -37,12 +37,12 @@ FROM scratch ARG VCS_REF LABEL org.opencontainers.image.title="PastureStack Distributed Cache Runtime" \ - org.opencontainers.image.description="PastureStack artifact 5.7.6 with Hazelcast cluster runtime 5.7.3 and reviewed security updates" \ + org.opencontainers.image.description="PastureStack artifact 5.7.7 with Hazelcast cluster runtime 5.7.3 and reviewed security updates" \ org.opencontainers.image.source="https://github.com/PastureStack/distributed-cache-runtime" \ org.opencontainers.image.revision="$VCS_REF" \ org.opencontainers.image.licenses="Apache-2.0 OR LicenseRef-Hazelcast-Community" \ org.opencontainers.image.vendor="PastureStack" -COPY --from=build /src/dist/hazelcast-5.7.6.jar /opt/pasturestack/vendor/hazelcast-5.7.6.jar -COPY --from=build /src/dist/hazelcast-5.7.6.jar.sha256 /opt/pasturestack/vendor/hazelcast-5.7.6.jar.sha256 -COPY LICENSE NOTICE ORIGIN.md SECURITY-MAINTENANCE.md RELEASE-NOTES-5.7.6.md /opt/pasturestack/licenses/ +COPY --from=build /src/dist/hazelcast-5.7.7.jar /opt/pasturestack/vendor/hazelcast-5.7.7.jar +COPY --from=build /src/dist/hazelcast-5.7.7.jar.sha256 /opt/pasturestack/vendor/hazelcast-5.7.7.jar.sha256 +COPY LICENSE NOTICE ORIGIN.md SECURITY-MAINTENANCE.md RELEASE-NOTES-5.7.7.md /opt/pasturestack/licenses/ diff --git a/README.md b/README.md index 1bb63e650572b..0f20f5829b0f6 100755 --- a/README.md +++ b/README.md @@ -3,21 +3,17 @@ > [!IMPORTANT] > This repository is a narrowly scoped PastureStack fork of Hazelcast 5.7.0. It preserves the upstream Git history, copyright notices, license files, and authorship. PastureStack does not claim ownership of upstream work and is not affiliated with or endorsed by Hazelcast, Inc. -Release `5.7.6` uses the official Temurin `25.0.5+8` -security update. CI uses Python `3.14.9`, the internal pip -`26.2.2+pasturestack.1` rebuild with patched urllib3 `2.8.0`, and certifi -`2026.10.19`. A frozen upstream-vendoring helper verifies input/wheel hashes -and streaming/TLS behavior in an isolated CI environment. This CI-only update -does not replace the existing release artifact. These are verification tools; the delivered JAR does -not contain a JRE or Python runtime. The optional OCI build retains Ubuntu -24.04 and installs its matching CA security update before the verified JDK. -The generated Hazelcast cluster version remains `5.7.3`. - -The source, released JAR and resolved-runtime SBOM scans retain every severity. -Any available fix, Critical/High/Unknown finding or secret blocks publication; -only exact reviewed Low/Medium findings with official no-fix evidence can pass. -The committed no-fix ledger is currently empty. This CI policy update does not -change or republish the existing `5.7.6` JAR. +The development candidate is `5.7.7`, which updates the relocated org.json +library to official `20260719` for CVE-2026-59171. It preserves Hazelcast cluster +version `5.7.3` and the existing Jackson versions. See the +[5.7.7 candidate notes](RELEASE-NOTES-5.7.7.md) for the patch and focused checks. + +Builds use verified Temurin `25.0.5+8`, Python `3.14.9`, the reviewed internal +pip rebuild and pinned CA certificates. These tools are not included in the +core JAR. Source, actual artifact and resolved-runtime SBOM scans retain all +severities: any available fix, Critical/High/Unknown finding or secret blocks +publication. Only exact reviewed Low/Medium findings with official no-fix +evidence may pass; the committed no-fix ledger is currently empty. Earlier public Maven artifacts remain immutable historical evidence. The current public GitHub Release is diff --git a/RELEASE-NOTES-5.7.7.md b/RELEASE-NOTES-5.7.7.md new file mode 100644 index 0000000000000..a568f4bbfc468 --- /dev/null +++ b/RELEASE-NOTES-5.7.7.md @@ -0,0 +1,18 @@ +# Distributed Cache Runtime 5.7.7 + +This candidate updates the relocated `org.json:json` dependency from +`20250107` to the official `20260719` release for +[CVE-2026-59171](https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv). +Dependency management applies the same version to tests, schema validation, +the resolved runtime SBOM and the shaded core JAR. The artifact version is +`5.7.7`; cluster protocol metadata remains `5.7.3`. Existing Jackson pins, +serialization APIs and security checks are retained. + +Focused checks cover oversized integer, negative and decimal tokens through +JSONObject, JSONArray and XML, bounded exponent conversion, ordinary numeric +configuration, YAML conversion and member/client schema validation. The same +numeric checks also run against the relocated classes in the delivered JAR. +The build rejects missing, duplicate or old embedded org.json version metadata. +Publication still requires the existing source, artifact, dependency and +CodeQL gates. Previous tags and artifacts remain immutable. This candidate +does not claim downstream Engine or Server deployment acceptance. diff --git a/SECURITY-MAINTENANCE.md b/SECURITY-MAINTENANCE.md index 7b085361542b2..2364a0b7f1320 100644 --- a/SECURITY-MAINTENANCE.md +++ b/SECURITY-MAINTENANCE.md @@ -4,6 +4,12 @@ The PastureStack maintenance delta intentionally preserves the Hazelcast 5.7.0 API while updating reviewed runtime and build-time dependencies with published security fixes: +The `5.7.7` development candidate pins the transitive and relocated org.json +library to official `20260719` for CVE-2026-59171. Its source and delivered-JAR +checks cover long integer/decimal tokens, exponent conversion and ordinary +configuration. Client/member YAML schema tests preserve the existing config +contracts. This candidate is not yet a published or deployed artifact. + The current published Maven artifact is `5.7.6`, from signed tag `v5.7.6` and source `bd071c12bc11808a5f91e8b5d0308decd79e5af9`; it is based on upstream `5.7.0`, not an upstream Hazelcast release. Public `v5.7.4` and `v5.7.5` remain immutable historical evidence. Hazelcast's cluster protocol parser accepts numeric product versions only, so generated runtime metadata deliberately reports `5.7.3`. The artifact version must be used by Maven coordinates, filenames, any artifact carrier, SBOM, and release evidence; the numeric runtime version must be used by cluster/member compatibility code. See [5.7.6 release notes](RELEASE-NOTES-5.7.6.md) for the patched build toolchains, exact artifact and validation boundaries. | Component | Upstream 5.7.0 | PastureStack maintained version | Scope | diff --git a/distribution/pom.xml b/distribution/pom.xml index 490657c081143..56820ab18b328 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -21,7 +21,7 @@ com.hazelcast hazelcast-root - 5.7.6 + 5.7.7 ../pom.xml diff --git a/extensions/avro/pom.xml b/extensions/avro/pom.xml index 59b4155c09cdd..0128503499853 100644 --- a/extensions/avro/pom.xml +++ b/extensions/avro/pom.xml @@ -30,7 +30,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/cdc-debezium/pom.xml b/extensions/cdc-debezium/pom.xml index 90f48326b7359..7f678495646de 100644 --- a/extensions/cdc-debezium/pom.xml +++ b/extensions/cdc-debezium/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/cdc-mysql/pom.xml b/extensions/cdc-mysql/pom.xml index 9c77b6aa590d3..975caf148804e 100644 --- a/extensions/cdc-mysql/pom.xml +++ b/extensions/cdc-mysql/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/cdc-postgres/pom.xml b/extensions/cdc-postgres/pom.xml index b221278b2bc85..099cd12ca2767 100644 --- a/extensions/cdc-postgres/pom.xml +++ b/extensions/cdc-postgres/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/csv/pom.xml b/extensions/csv/pom.xml index 5dfd6effbf334..bc9762595501c 100644 --- a/extensions/csv/pom.xml +++ b/extensions/csv/pom.xml @@ -30,7 +30,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/elasticsearch/elasticsearch-7/pom.xml b/extensions/elasticsearch/elasticsearch-7/pom.xml index 6d3b1390dd040..71c8446bc3a5f 100644 --- a/extensions/elasticsearch/elasticsearch-7/pom.xml +++ b/extensions/elasticsearch/elasticsearch-7/pom.xml @@ -30,7 +30,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 ../../pom.xml diff --git a/extensions/grpc/pom.xml b/extensions/grpc/pom.xml index 0f7cfb33eb47c..ede2a72802f73 100644 --- a/extensions/grpc/pom.xml +++ b/extensions/grpc/pom.xml @@ -27,7 +27,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop-dist/files-azure/pom.xml b/extensions/hadoop-dist/files-azure/pom.xml index c66bacf5a0a44..9c5c950e5e04a 100644 --- a/extensions/hadoop-dist/files-azure/pom.xml +++ b/extensions/hadoop-dist/files-azure/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-hadoop-dist - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop-dist/files-gcs/pom.xml b/extensions/hadoop-dist/files-gcs/pom.xml index 2fc625ea92010..5f1fb4bcb1e2a 100644 --- a/extensions/hadoop-dist/files-gcs/pom.xml +++ b/extensions/hadoop-dist/files-gcs/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-hadoop-dist - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop-dist/files-s3/pom.xml b/extensions/hadoop-dist/files-s3/pom.xml index f0c3aec21da24..ebc261802330c 100644 --- a/extensions/hadoop-dist/files-s3/pom.xml +++ b/extensions/hadoop-dist/files-s3/pom.xml @@ -29,7 +29,7 @@ hazelcast-jet-hadoop-dist com.hazelcast.jet - 5.7.6 + 5.7.7 ../pom.xml diff --git a/extensions/hadoop-dist/hadoop-all/pom.xml b/extensions/hadoop-dist/hadoop-all/pom.xml index ddb0052b87838..a16120fa386b5 100644 --- a/extensions/hadoop-dist/hadoop-all/pom.xml +++ b/extensions/hadoop-dist/hadoop-all/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-hadoop-dist - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop-dist/hadoop/pom.xml b/extensions/hadoop-dist/hadoop/pom.xml index 487d045ba6775..ca124b872b256 100644 --- a/extensions/hadoop-dist/hadoop/pom.xml +++ b/extensions/hadoop-dist/hadoop/pom.xml @@ -27,7 +27,7 @@ com.hazelcast.jet hazelcast-jet-hadoop-dist - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop-dist/pom.xml b/extensions/hadoop-dist/pom.xml index 753df6fd116ed..659e7b9056698 100644 --- a/extensions/hadoop-dist/pom.xml +++ b/extensions/hadoop-dist/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/hadoop/pom.xml b/extensions/hadoop/pom.xml index 04ec5b669ccbe..03ea68ae040c7 100644 --- a/extensions/hadoop/pom.xml +++ b/extensions/hadoop/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/kafka-connect/pom.xml b/extensions/kafka-connect/pom.xml index 38b9cdb6b31d6..3c28e09c584be 100644 --- a/extensions/kafka-connect/pom.xml +++ b/extensions/kafka-connect/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/kafka/pom.xml b/extensions/kafka/pom.xml index 7af564f98440b..59bc07ce3195f 100644 --- a/extensions/kafka/pom.xml +++ b/extensions/kafka/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/kinesis/pom.xml b/extensions/kinesis/pom.xml index 91bffb35408b9..32b8f90699021 100644 --- a/extensions/kinesis/pom.xml +++ b/extensions/kinesis/pom.xml @@ -29,7 +29,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/mapstore/pom.xml b/extensions/mapstore/pom.xml index d8437fd2e3914..7b2cae6c10992 100644 --- a/extensions/mapstore/pom.xml +++ b/extensions/mapstore/pom.xml @@ -32,7 +32,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/mongodb/pom.xml b/extensions/mongodb/pom.xml index 7c2999e0e72ad..97ac24b206d30 100644 --- a/extensions/mongodb/pom.xml +++ b/extensions/mongodb/pom.xml @@ -31,7 +31,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/pom.xml b/extensions/pom.xml index a12e6ecff169f..a7a391ac7d51c 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -30,7 +30,7 @@ com.hazelcast hazelcast-root - 5.7.6 + 5.7.7 diff --git a/extensions/protobuf/pom.xml b/extensions/protobuf/pom.xml index 58ab7808afc4c..0c8a68c527427 100644 --- a/extensions/protobuf/pom.xml +++ b/extensions/protobuf/pom.xml @@ -30,7 +30,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/python/pom.xml b/extensions/python/pom.xml index 43dc5f3354d83..d4f61c35959e4 100644 --- a/extensions/python/pom.xml +++ b/extensions/python/pom.xml @@ -27,7 +27,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/extensions/s3/pom.xml b/extensions/s3/pom.xml index a9f3f989fcdde..2400ff30c366b 100644 --- a/extensions/s3/pom.xml +++ b/extensions/s3/pom.xml @@ -30,7 +30,7 @@ com.hazelcast.jet hazelcast-jet-extensions - 5.7.6 + 5.7.7 diff --git a/hazelcast-archunit-rules/pom.xml b/hazelcast-archunit-rules/pom.xml index 4d6782a676b2d..7e331231d0ace 100644 --- a/hazelcast-archunit-rules/pom.xml +++ b/hazelcast-archunit-rules/pom.xml @@ -25,7 +25,7 @@ com.hazelcast hazelcast-root - 5.7.6 + 5.7.7 ../pom.xml diff --git a/hazelcast-build-utils/pom.xml b/hazelcast-build-utils/pom.xml index e55d45f44c8a8..ab529d2220e55 100644 --- a/hazelcast-build-utils/pom.xml +++ b/hazelcast-build-utils/pom.xml @@ -25,7 +25,7 @@ com.hazelcast hazelcast-root - 5.7.6 + 5.7.7 ../pom.xml diff --git a/hazelcast-coverage-report/pom.xml b/hazelcast-coverage-report/pom.xml index ab87ea2e5b4e4..d07d692d4be52 100644 --- a/hazelcast-coverage-report/pom.xml +++ b/hazelcast-coverage-report/pom.xml @@ -20,7 +20,7 @@ hazelcast-root com.hazelcast - 5.7.6 + 5.7.7 4.0.0 pom diff --git a/hazelcast-it/distribution-it/pom.xml b/hazelcast-it/distribution-it/pom.xml index f7668b3d46330..9d18143814441 100644 --- a/hazelcast-it/distribution-it/pom.xml +++ b/hazelcast-it/distribution-it/pom.xml @@ -6,7 +6,7 @@ com.hazelcast hazelcast-it - 5.7.6 + 5.7.7 distribution-it diff --git a/hazelcast-it/pom.xml b/hazelcast-it/pom.xml index e9d19886aee85..e8d490db6d672 100644 --- a/hazelcast-it/pom.xml +++ b/hazelcast-it/pom.xml @@ -22,7 +22,7 @@ com.hazelcast hazelcast-root - 5.7.6 + 5.7.7 hazelcast-it diff --git a/hazelcast-parent/pom.xml b/hazelcast-parent/pom.xml index 154ee0014b2b6..a421192ce84b7 100644 --- a/hazelcast-parent/pom.xml +++ b/hazelcast-parent/pom.xml @@ -23,7 +23,7 @@ com.hazelcast hazelcast-parent pom - 5.7.6 + 5.7.7 Hazelcast Parent POM Provides a base configuration for Hazelcast Platform builds @@ -118,6 +118,7 @@ 2.22 4.3.1 0.13 + 20260719 1.1.1 4.2.17.Final + + org.json + json + ${json.version} + - 5.7.6 + 5.7.7 pom Hazelcast Root Hazelcast In-Memory DataGrid diff --git a/scripts/check-json-number-hardening b/scripts/check-json-number-hardening new file mode 100755 index 0000000000000..1dc452a00d51d --- /dev/null +++ b/scripts/check-json-number-hardening @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Exercise the relocated classes in the delivered JAR, not a test dependency. +jar_path=$(realpath "${1:?usage: check-json-number-hardening runtime.jar}") +tmp=$(mktemp -d) +trap 'rm -rf "$tmp"' EXIT +cat > "$tmp/CheckJsonNumber.java" <<'JAVA' +import com.hazelcast.shaded.org.json.JSONArray; +import com.hazelcast.shaded.org.json.JSONObject; +import com.hazelcast.shaded.org.json.XML; +import java.math.BigInteger; + +public final class CheckJsonNumber { + public static void main(String[] args) { + String digits = "9".repeat(10000); + for (String value : new String[]{digits, "-" + digits, digits + ".1"}) { + equal(value, new JSONObject("{\"n\":" + value + "}").get("n")); + equal(value, new JSONArray("[" + value + "]").get(0)); + equal(value, XML.toJSONObject("" + value + "").get("n")); + } + equal(BigInteger.TEN, new JSONObject("{\"n\":1e100000}").optBigInteger("n", BigInteger.TEN)); + equal(5701, new JSONObject("{\"port\":5701}").getInt("port")); + equal(BigInteger.valueOf(1000), new JSONObject("{\"n\":1e3}").getBigInteger("n")); + System.out.println("DISTRIBUTED_CACHE_SHADED_JSON_OK hostile=10 legitimate=2"); + } + private static void equal(Object expected, Object actual) { + if (!expected.equals(actual)) { + throw new AssertionError("JSON numeric conversion boundary mismatch"); + } + } +} +JAVA +javac --release 25 -cp "$jar_path" -d "$tmp" "$tmp/CheckJsonNumber.java" +timeout --signal=TERM --kill-after=5s 20s java -Xmx128m -cp "$tmp:$jar_path" CheckJsonNumber diff --git a/scripts/pasturestack-build-runtime b/scripts/pasturestack-build-runtime index 17d6872fff5f9..14113b3fade15 100755 --- a/scripts/pasturestack-build-runtime +++ b/scripts/pasturestack-build-runtime @@ -3,14 +3,14 @@ set -euo pipefail cd "$(dirname "$0")/.." -runtime_version=5.7.6 +runtime_version=5.7.7 output_dir=${PASTURESTACK_OUTPUT_DIR:-dist} jar_source="hazelcast/target/hazelcast-${runtime_version}.jar" jar_target="${output_dir}/hazelcast-${runtime_version}.jar" # Fail before compiling if a reviewed security floor is accidentally reverted. if find . -name pom.xml -type f -exec grep -l '5.7.0' {} + | grep -q .; then - echo 'PASTURESTACK_PROJECT_VERSION_MISMATCH expected=5.7.6' >&2 + echo 'PASTURESTACK_PROJECT_VERSION_MISMATCH expected=5.7.7' >&2 exit 1 fi grep -Fq '4.1.1' hazelcast-parent/pom.xml @@ -43,6 +43,7 @@ grep -Fq '14.0.0' hazelcast-parent/pom. ! grep -Fq '' checkstyle/checkstyle.xml grep -Fq '1.12.2' hazelcast-parent/pom.xml grep -Fq '3.1.12' hazelcast-parent/pom.xml +grep -Fq '20260719' hazelcast-parent/pom.xml grep -Fq '3.2.3' hazelcast-parent/pom.xml grep -Fq '2.22.3' hazelcast-parent/pom.xml grep -Fq '1.18.0' hazelcast-parent/pom.xml @@ -123,9 +124,9 @@ grep -Fq '${postgresql.version}' hazelcast-parent/pom.xml grep -Fq '${tomcat.embed.version}' pom.xml grep -Fq 'org.hibernate.orm' hazelcast-it/distribution-it/pom.xml grep -Fq '${hibernate.orm.version}' hazelcast-it/distribution-it/pom.xml -grep -Fq '5.7.6' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hazelcast-codebase/pom.xml -grep -Fq '5.7.6' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hz-bootstrap/pom.xml -grep -Fq '5.7.6' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-jet-bootstrap/pom.xml +grep -Fq '5.7.7' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hazelcast-codebase/pom.xml +grep -Fq '5.7.7' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hz-bootstrap/pom.xml +grep -Fq '5.7.7' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-jet-bootstrap/pom.xml grep -Fq '3.15.0' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hazelcast-codebase/pom.xml grep -Fq '3.15.0' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-hz-bootstrap/pom.xml grep -Fq '3.15.0' hazelcast/src/test/resources/com/hazelcast/client/console/testjob-with-jet-bootstrap/pom.xml @@ -204,7 +205,8 @@ jar --update \ META-INF/maven/com.fasterxml.jackson.core/jackson-core/pom.properties \ META-INF/maven/com.fasterxml.jackson.core/jackson-databind/pom.properties \ META-INF/maven/tools.jackson.core/jackson-core/pom.properties \ - META-INF/maven/tools.jackson.core/jackson-databind/pom.properties + META-INF/maven/tools.jackson.core/jackson-databind/pom.properties \ + META-INF/maven/org.json/json/pom.properties ) cmp "$license_source" "$metadata_dir/META-INF/LICENSE" @@ -214,6 +216,8 @@ test "$(sed -n 's/^version=//p' "$metadata_dir/META-INF/maven/com.fasterxml.jack test "$(sed -n 's/^version=//p' "$metadata_dir/META-INF/maven/com.fasterxml.jackson.core/jackson-databind/pom.properties")" = "2.22.3" test "$(sed -n 's/^version=//p' "$metadata_dir/META-INF/maven/tools.jackson.core/jackson-core/pom.properties")" = "3.2.3" test "$(sed -n 's/^version=//p' "$metadata_dir/META-INF/maven/tools.jackson.core/jackson-databind/pom.properties")" = "3.2.3" +test "$(sed -n 's/^version=//p' "$metadata_dir/META-INF/maven/org.json/json/pom.properties")" = "20260719" +jar tf "$jar_target" | grep -Fxq com/hazelcast/shaded/org/json/JSONObject.class javap -classpath "$jar_target" -constants com.hazelcast.instance.GeneratedBuildProperties \ > "$metadata_dir/generated-build-properties.txt" grep -Fq "REVISION = \"${vcs_abbrev}\";" "$metadata_dir/generated-build-properties.txt" diff --git a/scripts/pasturestack-enforce-vulnerabilities.py b/scripts/pasturestack-enforce-vulnerabilities.py index 8183c3d7edee4..7147e60c9d2e7 100644 --- a/scripts/pasturestack-enforce-vulnerabilities.py +++ b/scripts/pasturestack-enforce-vulnerabilities.py @@ -7,8 +7,8 @@ ROOT = Path(__file__).resolve().parent.parent REPORTS = { "source": ROOT / "evidence/source-security.json", - "artifact": ROOT / "evidence/hazelcast-5.7.6.trivy.json", - "dependencies": ROOT / "evidence/hazelcast-5.7.6.sbom.trivy.json", + "artifact": ROOT / "evidence/hazelcast-5.7.7.trivy.json", + "dependencies": ROOT / "evidence/hazelcast-5.7.7.sbom.trivy.json", } LEDGER = ROOT / ".github/runtime-unfixed.json" diff --git a/scripts/pasturestack-verify-maven-evidence.py b/scripts/pasturestack-verify-maven-evidence.py index 54baa7de69ece..6ee2585d1682f 100644 --- a/scripts/pasturestack-verify-maven-evidence.py +++ b/scripts/pasturestack-verify-maven-evidence.py @@ -8,7 +8,7 @@ MAVEN_NAMESPACE = {"m": "http://maven.apache.org/POM/4.0.0"} -EXPECTED_RUNTIME = ("com.hazelcast", "hazelcast", "5.7.6") +EXPECTED_RUNTIME = ("com.hazelcast", "hazelcast", "5.7.7") def required_text(element, name): diff --git a/scripts/test-pasturestack-jackson-release.py b/scripts/test-pasturestack-jackson-release.py index 1c6c70b2433bf..5fefd48a921ce 100644 --- a/scripts/test-pasturestack-jackson-release.py +++ b/scripts/test-pasturestack-jackson-release.py @@ -16,6 +16,7 @@ ROOT = Path(__file__).resolve().parents[1] NS = {"m": "http://maven.apache.org/POM/4.0.0"} EXPECTED = { + "org.json/json": "20260719", "com.fasterxml.jackson.core/jackson-core": "2.22.3", "com.fasterxml.jackson.core/jackson-databind": "2.22.3", "tools.jackson.core/jackson-core": "3.2.3", @@ -132,16 +133,16 @@ def test_artifact_coordinates_preserve_cluster_protocol(self): project = ElementTree.parse(path).getroot() for parent in project.findall("m:parent", NS): if parent.findtext("m:groupId", namespaces=NS) == "com.hazelcast": - self.assertEqual(parent.findtext("m:version", namespaces=NS), "5.7.6", path) + self.assertEqual(parent.findtext("m:version", namespaces=NS), "5.7.7", path) if project.findtext("m:groupId", namespaces=NS) == "com.hazelcast": version = project.findtext("m:version", namespaces=NS) if version is not None: - self.assertEqual(version, "5.7.6", path) + self.assertEqual(version, "5.7.7", path) if "/console/testjob-" in path.as_posix(): fixtures += 1 dependency = project.find("m:dependencies/m:dependency[m:groupId='com.hazelcast']", NS) self.assertIsNotNone(dependency, path) - self.assertEqual(dependency.findtext("m:version", namespaces=NS), "5.7.6", path) + self.assertEqual(dependency.findtext("m:version", namespaces=NS), "5.7.7", path) self.assertEqual(fixtures, 3) parent = ElementTree.parse(ROOT / "hazelcast-parent/pom.xml").getroot() self.assertEqual(parent.findtext("m:properties/m:hazelcast.runtime.version", namespaces=NS), "5.7.3") @@ -187,10 +188,10 @@ def test_maven_evidence_rejects_previous_artifact_identity(self): ) verifier = importlib.util.module_from_spec(spec) spec.loader.exec_module(verifier) - self.assertEqual(verifier.EXPECTED_RUNTIME, ("com.hazelcast", "hazelcast", "5.7.6")) + self.assertEqual(verifier.EXPECTED_RUNTIME, ("com.hazelcast", "hazelcast", "5.7.7")) with tempfile.TemporaryDirectory() as name: path = Path(name) / "effective-pom.xml" - for version in ("5.7.6", "5.7.5"): + for version in ("5.7.7", "5.7.5"): path.write_text( '' 'com.hazelcasthazelcast' @@ -200,7 +201,7 @@ def test_maven_evidence_rejects_previous_artifact_identity(self): 'maven-compiler-plugin3.15.0' '', encoding="utf-8" ) - if version == "5.7.6": + if version == "5.7.7": self.assertEqual(verifier.validate_effective_pom(path)["effective_pom_projects"], 1) else: with self.assertRaisesRegex(ValueError, "expected runtime"): From 9f364be88cf92b267158005fed1c424221058bf8 Mon Sep 17 00:00:00 2001 From: chen21019 Date: Tue, 10 Nov 2026 12:58:53 +0800 Subject: [PATCH 2/2] Apply official Guava 33.7.2 patch required by current source scan --- README.md | 3 ++- RELEASE-NOTES-5.7.7.md | 8 ++++++++ SECURITY-MAINTENANCE.md | 4 +++- hazelcast-parent/pom.xml | 2 +- scripts/pasturestack-build-runtime | 1 + 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f20f5829b0f6..c0315dc40fdbc 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ > This repository is a narrowly scoped PastureStack fork of Hazelcast 5.7.0. It preserves the upstream Git history, copyright notices, license files, and authorship. PastureStack does not claim ownership of upstream work and is not affiliated with or endorsed by Hazelcast, Inc. The development candidate is `5.7.7`, which updates the relocated org.json -library to official `20260719` for CVE-2026-59171. It preserves Hazelcast cluster +library to official `20260719` for CVE-2026-59171 and managed Guava to +`33.7.2-jre` for CVE-2026-102554. It preserves Hazelcast cluster version `5.7.3` and the existing Jackson versions. See the [5.7.7 candidate notes](RELEASE-NOTES-5.7.7.md) for the patch and focused checks. diff --git a/RELEASE-NOTES-5.7.7.md b/RELEASE-NOTES-5.7.7.md index a568f4bbfc468..d4f7564db5bce 100644 --- a/RELEASE-NOTES-5.7.7.md +++ b/RELEASE-NOTES-5.7.7.md @@ -16,3 +16,11 @@ The build rejects missing, duplicate or old embedded org.json version metadata. Publication still requires the existing source, artifact, dependency and CodeQL gates. Previous tags and artifacts remain immutable. This candidate does not claim downstream Engine or Server deployment acceptance. + +The current source scan also identified CVE-2026-102554 in managed Guava +33.7.1-jre. Its official 33.7.2-jre patch is applied to all inherited consumers, +including SQL/connectors and test dependencies. The core runtime's actual +resolved dependency tree and shaded artifact determine whether Guava is +packaged; a source floor is not reported as a core runtime vulnerability. +The existing SQL/parser and connector compile/test gates remain required. +Official advisory: https://github.com/google/guava/security/advisories/GHSA-xxph-c9ww-hj94 . diff --git a/SECURITY-MAINTENANCE.md b/SECURITY-MAINTENANCE.md index 2364a0b7f1320..63ebbe1771986 100644 --- a/SECURITY-MAINTENANCE.md +++ b/SECURITY-MAINTENANCE.md @@ -8,7 +8,9 @@ The `5.7.7` development candidate pins the transitive and relocated org.json library to official `20260719` for CVE-2026-59171. Its source and delivered-JAR checks cover long integer/decimal tokens, exponent conversion and ordinary configuration. Client/member YAML schema tests preserve the existing config -contracts. This candidate is not yet a published or deployed artifact. +contracts. The managed Guava floor also advances to official 33.7.2-jre for +CVE-2026-102554; actual packaging is checked independently from source presence. +This candidate is not yet a published or deployed artifact. The current published Maven artifact is `5.7.6`, from signed tag `v5.7.6` and source `bd071c12bc11808a5f91e8b5d0308decd79e5af9`; it is based on upstream `5.7.0`, not an upstream Hazelcast release. Public `v5.7.4` and `v5.7.5` remain immutable historical evidence. Hazelcast's cluster protocol parser accepts numeric product versions only, so generated runtime metadata deliberately reports `5.7.3`. The artifact version must be used by Maven coordinates, filenames, any artifact carrier, SBOM, and release evidence; the numeric runtime version must be used by cluster/member compatibility code. See [5.7.6 release notes](RELEASE-NOTES-5.7.6.md) for the patched build toolchains, exact artifact and validation boundaries. diff --git a/hazelcast-parent/pom.xml b/hazelcast-parent/pom.xml index a421192ce84b7..de55266d48bee 100644 --- a/hazelcast-parent/pom.xml +++ b/hazelcast-parent/pom.xml @@ -811,7 +811,7 @@ com.google.guava guava - 33.7.1-jre + 33.7.2-jre com.google.code.gson diff --git a/scripts/pasturestack-build-runtime b/scripts/pasturestack-build-runtime index 14113b3fade15..d15e9692dc175 100755 --- a/scripts/pasturestack-build-runtime +++ b/scripts/pasturestack-build-runtime @@ -44,6 +44,7 @@ grep -Fq '14.0.0' hazelcast-parent/pom. grep -Fq '1.12.2' hazelcast-parent/pom.xml grep -Fq '3.1.12' hazelcast-parent/pom.xml grep -Fq '20260719' hazelcast-parent/pom.xml +grep -A2 -F 'guava' hazelcast-parent/pom.xml | grep -Fq '33.7.2-jre' grep -Fq '3.2.3' hazelcast-parent/pom.xml grep -Fq '2.22.3' hazelcast-parent/pom.xml grep -Fq '1.18.0' hazelcast-parent/pom.xml