From 01eac9bf93833a958ec2ca0b5033e233857bd9de Mon Sep 17 00:00:00 2001 From: "Cheng-Chen, Chen" Date: Fri, 4 Dec 2026 20:43:44 +0800 Subject: [PATCH 1/4] Package Web Console 250 security fixes and artifact ownership evidence --- COMPATIBILITY.md | 15 ++++++ README.md | 14 ++++-- docs/README.md | 4 +- docs/performance/README.md | 4 +- docs/releases/server-1.6.617.md | 35 +++++++++++++ scripts/check-server-api-explorer-patch.sh | 42 ++++++++-------- .../test-current-server-packaging-contract.py | 50 +++++++++---------- server/Dockerfile.web-compose-release | 34 ++++++------- server/build-api-explorer-patch-image.sh | 20 ++++---- server/build-component-candidate.sh | 4 +- .../security/check_web_console_sbom_scan.py | 6 ++- server/security/openvex.json | 2 +- server/security/test_web_console_sbom_scan.py | 13 +++++ server/security/vendor-pending.json | 2 +- 14 files changed, 158 insertions(+), 87 deletions(-) create mode 100644 docs/releases/server-1.6.617.md diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index af3c5c98220..3f1ee0b6628 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,5 +1,20 @@ # Compatibility Contract +## Server v1.6.617 + +Engine 0.183.402 / Web Console 1.6.250 / managed LB 0.9.38. +The UI build uses official Glob 14.0.6 and Terser 5.51.3 plus byte-verified +official Minimatch source fixes while preserving its legacy consumer API. +The runtime BOM distinguishes actual delivered files from embedded noVNC source +modules. Complete source inventory is separate from advisory-index coverage; +Lato and exhaustive PositionCalculator indexing remain explicit limitations. + +No Engine, Catalog or managed-service version changes are introduced. Existing +v1.6.616 lifecycle evidence below retains its original scope. New image build, +security and startup/restart checks are required; an image release does not by +itself prove a deployment or a new service-upgrade transaction. See the +[release scope](docs/releases/server-1.6.617.md). + ## Server v1.6.616 published Immutable image `ghcr.io/pasturestack/server:v1.6.616@sha256:9941d1c56b88514da9b982b9b79c04ef925be0b87af488adc7ddb1f9a71e17c9`. diff --git a/README.md b/README.md index d2cc63a9c54..d380fad6fab 100644 --- a/README.md +++ b/README.md @@ -13,20 +13,24 @@ upstream history, authorship, licenses, and notices. ## Current release -[Server v1.6.616](https://github.com/PastureStack/server/releases/tag/v1.6.616) -packages Engine `v0.183.402`, Web Console `1.6.249`, Agent `v1.2.37`, +[Server v1.6.617](https://github.com/PastureStack/server/releases/tag/v1.6.617) +packages Engine `v0.183.402`, Web Console `1.6.250`, Agent `v1.2.37`, Compose `0.14.47`, Host API `0.38.12` and optional Bridge `0.2.37`. Managed LB `v0.9.38` contains HAProxy `3.5.0`, AWS-LC `5.15.0` and Lua `5.4.8`. Existing services require native upgrade transactions; replacing Server alone does not update their saved images. +This release updates browser build dependencies with official security fixes and +binds the delivered UI to actual Sass, Webpack and embedded-source evidence. +Source inventory completeness does not imply exhaustive advisory-index coverage. + Ordinary managed LB updates require a newer image. Historical selection, explicit rollback, custom images and digest pins retain their boundaries. Canonical v2 reads preserve sidekicks. Primary listener ownership, native repair of historical duplicate ports and correct handling of removed records keep rollback from re-reserving stale ports. Catalog Service `v0.20.20` retains verified bundled recovery, historical revisions and explicit overrides. -See the [release evidence and limits](docs/releases/server-1.6.616.md), +See the [release evidence and limits](docs/releases/server-1.6.617.md), [upgrade guide](docs/upgrades/README.md) and [compatibility contract](COMPATIBILITY.md). ## Component capabilities @@ -89,7 +93,7 @@ docker run -d --name pasturestack-server --restart unless-stopped -p 8080:8080 \ -v pasturestack-cattle:/var/lib/cattle \ -v pasturestack-mysql:/var/lib/mysql \ -v pasturestack-mysqllog:/var/log/mysql \ - ghcr.io/pasturestack/server:v1.6.616 + ghcr.io/pasturestack/server:v1.6.617 ``` For HTTPS termination at a reverse proxy, set the exact public origin: @@ -97,7 +101,7 @@ For HTTPS termination at a reverse proxy, set the exact public origin: ```yaml services: pasturestack-server: - image: ghcr.io/pasturestack/server:v1.6.616 + image: ghcr.io/pasturestack/server:v1.6.617 restart: unless-stopped ports: - "8080:8080" diff --git a/docs/README.md b/docs/README.md index dae4820e0b3..9446999aa3b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -6,8 +6,8 @@ operator deployment and business-workflow acceptance are recorded separately. ## Release notes -- [Current Server v1.6.616](releases/server-1.6.616.md) — Engine `0.183.402` / - Web Console `1.6.249` / optional Bridge `0.2.37`. +- [Current Server v1.6.617](releases/server-1.6.616.md) — Engine `0.183.402` / + Web Console `1.6.250` / optional Bridge `0.2.37`. - [Release archive](RELEASE-ARCHIVE.md) — historical published and candidate notes retain their original evidence, acceptance limits and rollback context; these are not diff --git a/docs/performance/README.md b/docs/performance/README.md index 38aea6f0a95..122d2ccd688 100644 --- a/docs/performance/README.md +++ b/docs/performance/README.md @@ -8,7 +8,7 @@ The following example is appropriate as a starting point for a dedicated 16-vCPU host with about 32 GiB of RAM. It is not a universal performance profile; measure the real workload before increasing it further. -The example uses the published Server `v1.6.616`. Deployment and workload +The example uses the published Server `v1.6.617`. Deployment and workload acceptance remain environment-specific. See the [release note](../releases/server-1.6.616.md) and the [current release](../../README.md#current-release) for components. Preserve existing runtime overrides and all three named volumes during an @@ -20,7 +20,7 @@ evidence is not a performance benchmark; measure the actual workload. ```yaml services: pasturestack-server: - image: ghcr.io/pasturestack/server:v1.6.616 + image: ghcr.io/pasturestack/server:v1.6.617 restart: unless-stopped ports: - "8080:8080" diff --git a/docs/releases/server-1.6.617.md b/docs/releases/server-1.6.617.md new file mode 100644 index 00000000000..879cf2c0e78 --- /dev/null +++ b/docs/releases/server-1.6.617.md @@ -0,0 +1,35 @@ +# Server v1.6.617 + +Packages Web Console 1.6.250 with the unchanged Engine 0.183.402, Agent 1.2.37, +Catalog Service 0.20.20 and managed LB 0.9.38. The published image and original +security artifacts identify the exact source, UI archive, lock and runtime BOM. + +## Browser dependency repair + +Glob 14.0.6 fixes CVE-2026-137196 and supersedes affected traversal-cancellation +releases. Terser 5.51.3 fixes CVE-2026-140012. For compatibility with Ember's +native consumers, Minimatch 10.2.6 uses reproducible source backports of the +official CVE-2026-118764 and CVE-2026-140006 fixes. All six installed copies are +verified before the source build; no running container is patched. Original npm +findings and exact backport qualification remain separate release artifacts. + +Actual compiler traces replace fixed Sass ownership. Webpack-generated entry and +runtime code have explicit package owners and hashes. The retained pagination +template is attributed by its actual compiled block. All eleven embedded noVNC +modules have source hashes and distinct retained license notices. Delivered +archive members and embedded-source components are counted separately. + +The producer verifies two identical original archives and BOMs, official security +cases, native dependency consumers, schema and artifact-bound advisory queries. +Inventory completeness does not erase Lato/PositionCalculator index limitations. +Related-upstream Bootstrap/noVNC matches retain their raw results and exact +source applicability boundaries. KVM and AWS remain outside this repair. + +## Upgrade and rollback + +Follow the normal Server upgrade guide. Preserve environment overrides, named +volumes, restart/security options and the previous immutable image. This release +does not change OIDC/MFA, API authorization, firewall modes or saved service images. +Restore the preceding Server image with the existing volumes if UI validation +fails; do not reset the database or replace healthy system services for this UI +build repair. Release gates and actual QA deployment evidence are separate. diff --git a/scripts/check-server-api-explorer-patch.sh b/scripts/check-server-api-explorer-patch.sh index 8007f8e275c..fcc2cec80b7 100755 --- a/scripts/check-server-api-explorer-patch.sh +++ b/scripts/check-server-api-explorer-patch.sh @@ -535,7 +535,7 @@ require_marker "$release_dockerfile" \ SERVER_INCREMENTAL_RELEASE_BASE_MISSING for web_sbom_release_marker in \ 'COPY --chmod=0755 artifacts/verify-web-console-sbom.py /usr/local/bin/verify-web-console-sbom' \ - 'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.249-runtime.cdx.json' \ + 'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.250-runtime.cdx.json' \ '"${WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT}" "${WEB_CONSOLE_RUNTIME_SBOM_SHA256}" "${web_sbom}";' \ '--lock-sha256 "${WEB_CONSOLE_LOCK_SHA256}" --archive "${web_archive}"' \ '--webmcp-ceiling enabled;' \ @@ -573,7 +573,7 @@ python3 scripts/test-web-console-sbom.py python3 server/security/test_web_console_sbom_scan.py require_marker "$release_dockerfile" \ - 'ARG SERVER_RELEASE_TAG=v1.6.616' \ + 'ARG SERVER_RELEASE_TAG=v1.6.617' \ SERVER_INCREMENTAL_RELEASE_DEFAULT_MISSING require_marker "$release_dockerfile" \ 'org.opencontainers.image.version="${SERVER_RELEASE_TAG}"' \ @@ -631,22 +631,22 @@ require_marker "$publish_workflow" \ 'bash source/server/artifacts/verify-host-api-package.sh' \ SERVER_HOST_API_PRODUCER_RELEASE_CHECK_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.249' \ + 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.250' \ SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.249.tar.gz' \ + 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.250.tar.gz' \ SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_ARTIFACT_SHA256=6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2' \ + 'ARG WEB_CONSOLE_ARTIFACT_SHA256=6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413' \ SERVER_INCREMENTAL_WEB_CONSOLE_HASH_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_COMMIT=25a2ec9d65a490a38905fe2f5f2e2f25b480e064' \ + 'ARG WEB_CONSOLE_COMMIT=44d51cb3492964f45dddeb74634334ac8057ec90' \ SERVER_INCREMENTAL_WEB_CONSOLE_COMMIT_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_LOCK_SHA256=c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305' \ + 'ARG WEB_CONSOLE_LOCK_SHA256=d2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a' \ SERVER_INCREMENTAL_WEB_CONSOLE_LOCK_HASH_MISSING require_marker "$release_dockerfile" \ - 'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206' \ + 'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35' \ SERVER_INCREMENTAL_WEB_CONSOLE_SBOM_HASH_MISSING require_marker "$release_dockerfile" \ "grep -aF 'hostsPage.permissionDenied'" \ @@ -655,22 +655,22 @@ require_marker "$release_dockerfile" \ '"hostsPage.permissionDenied":"您沒有權限在此環境中新增主機。"' \ SERVER_INCREMENTAL_WEB_CONSOLE_ZH_TW_PERMISSION_MESSAGE_MISSING require_marker "$build_script" \ - 'web_console_commit=${WEB_CONSOLE_COMMIT:-25a2ec9d65a490a38905fe2f5f2e2f25b480e064}' \ + 'web_console_commit=${WEB_CONSOLE_COMMIT:-44d51cb3492964f45dddeb74634334ac8057ec90}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_COMMIT_MISSING require_marker "$build_script" \ - 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.249}' \ + 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.250}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING require_marker "$build_script" \ - 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.249.tar.gz}' \ + 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.250.tar.gz}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING require_marker "$build_script" \ - 'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2}' \ + 'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_HASH_MISSING require_marker "$build_script" \ - 'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305}' \ + 'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-d2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_LOCK_HASH_MISSING require_marker "$build_script" \ - 'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206}' \ + 'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35}' \ SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_SBOM_HASH_MISSING require_marker "$release_dockerfile" \ 'ARG CATALOG_SERVICE_VERSION=0.20.20' \ @@ -1141,10 +1141,10 @@ require_marker "$build_script" \ '--file server/Dockerfile.web-compose-release' \ SERVER_INCREMENTAL_RELEASE_BUILD_PATH_MISSING require_marker "$build_script" \ - 'image=${IMAGE:-pasturestack-validation/server:v1.6.616}' \ + 'image=${IMAGE:-pasturestack-validation/server:v1.6.617}' \ SERVER_INCREMENTAL_RELEASE_BUILD_VERSION_MISSING require_marker "$build_script" \ - 'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.616}' \ + 'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.617}' \ SERVER_INCREMENTAL_RELEASE_BUILD_DEFAULT_MISSING require_marker "$build_script" \ 'CATTLE_RANCHER_SERVER_VERSION="${server_release_tag}"' \ @@ -1703,10 +1703,10 @@ fi if grep -Eq $'^## Current source candidate\r?$' README.md; then for candidate_readme_marker in \ '' \ - 'Server `v1.6.616` is a prepared source candidate, not a published image.' \ + 'Server `v1.6.617` is a prepared source candidate, not a published image.' \ 'run them only after its official release' \ 'This candidate is not yet available' \ - 'ghcr.io/pasturestack/server:v1.6.616'; do + 'ghcr.io/pasturestack/server:v1.6.617'; do require_marker README.md "$candidate_readme_marker" \ SERVER_CURRENT_CANDIDATE_README_MISSING done @@ -2342,7 +2342,7 @@ done jq -e ' ["CVE-2026-107928","CVE-2026-107929","CVE-2026-86409","CVE-2026-86410","CVE-2026-86412","CVE-2026-86414","CVE-2026-87862","CVE-2026-87863","CVE-2026-87864","CVE-2026-87865","CVE-2026-92386","CVE-2026-92387","CVE-2026-92388","CVE-2026-92389","CVE-2026-92390","CVE-2026-92391","CVE-2026-92392","CVE-2026-94266"] as $curl_fixed_cves | .["@context"] == "https://openvex.dev/ns/v0.2.0" - and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.616" + and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.617" and (.statements | length) == 59 and ([.statements[] | select(.vulnerability.name == "CVE-2026-82560")] | length) == 1 and any(.statements[]; @@ -2415,7 +2415,7 @@ jq -r ' | @tsv ' "$runtime_vendor_pending" | LC_ALL=C sort -u >"$vendor_pending_fixture" bash "$vendor_pending_validator" "$runtime_vendor_pending" \ - "$vendor_pending_fixture" v1.6.616 >/dev/null + "$vendor_pending_fixture" v1.6.617 >/dev/null bash scripts/test-vendor-pending-findings.sh >/dev/null rm -f "$vendor_pending_fixture" trap - EXIT @@ -2519,4 +2519,4 @@ require_marker server/artifacts/fetch-server-component.sh 'Component response mu # Execute the shared archive verifier controls before starting an image build. python3 -B "$repo_root/scripts/test-engine-archive-contract.py" -printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.616 base=v1.6.460 engine=0.183.402 web_console=1.6.249 catalog_service=0.20.20 webhook_automation_service=0.10.7 authentication_service=0.4.48 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n' +printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.617 base=v1.6.460 engine=0.183.402 web_console=1.6.250 catalog_service=0.20.20 webhook_automation_service=0.10.7 authentication_service=0.4.48 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n' diff --git a/scripts/test-current-server-packaging-contract.py b/scripts/test-current-server-packaging-contract.py index 616b3a594b0..ccbc6c80b4d 100644 --- a/scripts/test-current-server-packaging-contract.py +++ b/scripts/test-current-server-packaging-contract.py @@ -40,16 +40,16 @@ PUBLISHED_508 = 'Server `v1.6.508` 已正式發布,封裝 Web Console `1.6.171`。' STALE_508_CANDIDATE = 'Server `v1.6.508` candidate packages Web Console `1.6.171`' COMPATIBILITY_CODE = 'SERVER_CREATE_RESPONSE_ORDER_COMPATIBILITY_MISSING' -WEB_SHA = '6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2' -WEB_SOURCE = '25a2ec9d65a490a38905fe2f5f2e2f25b480e064' -WEB_SBOM_SHA = 'c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206' -WEB_LOCK_SHA = 'c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305' +WEB_SHA = '6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413' +WEB_SOURCE = '44d51cb3492964f45dddeb74634334ac8057ec90' +WEB_SBOM_SHA = '81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35' +WEB_LOCK_SHA = 'd2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a' CATALOG_COMMIT = 'e7aa3a4f91be9b88f2d62ebdbdd89483b2bab8cb' ENGINE_SHA = '4d78a5de239ed23397653b9c4f0326505be05b3afc0d2c7c918616ebc4f1a6e1' ENGINE_SOURCE = '33a286c829693f0be99d5f3e1ad4fd9a1c308e1a' OLD_COORDINATES = { - 'v1.6.616': 'v1.6.521', - '1.6.249': '1.6.181', + 'v1.6.617': 'v1.6.521', + '1.6.250': '1.6.181', WEB_SHA: '9199681f2c4311f3fbe8727fcf0f6fa136c9bafe9fbe9d13878c55df442a7a03', WEB_SOURCE: '7f2bdad0c90a3241693c2ddd4475202ababba550', CATALOG_COMMIT: '7670ffd81d5f0b5570197fb03c7e55b46da45bf3', @@ -72,23 +72,23 @@ } EXPECTED = { COMPATIBILITY_CODE: (COMPATIBILITY, PUBLISHED_508), - 'SERVER_INCREMENTAL_RELEASE_DEFAULT_MISSING': (DOCKER, 'ARG SERVER_RELEASE_TAG=v1.6.616'), + 'SERVER_INCREMENTAL_RELEASE_DEFAULT_MISSING': (DOCKER, 'ARG SERVER_RELEASE_TAG=v1.6.617'), 'SERVER_INCREMENTAL_RELEASE_VERSION_MISSING': (DOCKER, 'org.opencontainers.image.version="${SERVER_RELEASE_TAG}"'), 'SERVER_INCREMENTAL_RELEASE_RUNTIME_VERSION_MISSING': (DOCKER, 'ENV CATTLE_RANCHER_SERVER_VERSION=${SERVER_RELEASE_TAG}'), - 'SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.249'), - 'SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.249.tar.gz'), + 'SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.250'), + 'SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.250.tar.gz'), 'SERVER_INCREMENTAL_WEB_CONSOLE_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT_SHA256=' + WEB_SHA), 'SERVER_INCREMENTAL_WEB_CONSOLE_COMMIT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_COMMIT=' + WEB_SOURCE), 'SERVER_INCREMENTAL_WEB_CONSOLE_LOCK_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_LOCK_SHA256=' + WEB_LOCK_SHA), 'SERVER_INCREMENTAL_WEB_CONSOLE_SBOM_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=' + WEB_SBOM_SHA), 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_COMMIT_MISSING': (BUILD, 'web_console_commit=${WEB_CONSOLE_COMMIT:-' + WEB_SOURCE + '}'), - 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING': (BUILD, 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.249}'), - 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING': (BUILD, 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.249.tar.gz}'), + 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING': (BUILD, 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.250}'), + 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING': (BUILD, 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.250.tar.gz}'), 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_HASH_MISSING': (BUILD, 'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-' + WEB_SHA + '}'), 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_LOCK_HASH_MISSING': (BUILD, 'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-' + WEB_LOCK_SHA + '}'), 'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_SBOM_HASH_MISSING': (BUILD, 'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-' + WEB_SBOM_SHA + '}'), - 'SERVER_INCREMENTAL_RELEASE_BUILD_VERSION_MISSING': (BUILD, 'image=${IMAGE:-pasturestack-validation/server:v1.6.616}'), - 'SERVER_INCREMENTAL_RELEASE_BUILD_DEFAULT_MISSING': (BUILD, 'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.616}'), + 'SERVER_INCREMENTAL_RELEASE_BUILD_VERSION_MISSING': (BUILD, 'image=${IMAGE:-pasturestack-validation/server:v1.6.617}'), + 'SERVER_INCREMENTAL_RELEASE_BUILD_DEFAULT_MISSING': (BUILD, 'server_release_tag=${SERVER_RELEASE_TAG:-v1.6.617}'), 'SERVER_INCREMENTAL_RELEASE_BUILD_RUNTIME_VERSION_MISSING': (BUILD, 'CATTLE_RANCHER_SERVER_VERSION="${server_release_tag}"'), 'SERVER_WEB_CONSOLE_RUNTIME_VERSION_GATE_MISSING': (BUILD, 'test "$(cat "${web_root}/VERSION.txt")" = "${WEB_CONSOLE_RELEASE_TAG}"'), 'SERVER_VOLUME_NATIVE_READ_ONLY_BUILD_GATE_MISSING': (DOCKER, 'grep -F \'"volume.isNative" : "r"\' >/dev/null'), @@ -615,15 +615,15 @@ def verify(files, gate=GATE): pipeline = r'(?:^|[;\n])\s*' + re.escape(marker) + r'(?=\s*(?:;|\n|$))' if len(re.findall(pipeline, source)) != 1: raise AssertionError('CURRENT_CATALOG_HASH_BYPASS') - if 'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.616"' not in gate: + if 'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.617"' not in gate: raise AssertionError('CURRENT_VEX_GATE_PIN_MISMATCH') - if '"$vendor_pending_fixture" v1.6.616 >/dev/null' not in gate: + if '"$vendor_pending_fixture" v1.6.617 >/dev/null' not in gate: raise AssertionError('CURRENT_VENDOR_GATE_PIN_MISMATCH') - if json.loads(files[VEX]).get('@id') != 'https://github.com/PastureStack/server/security/openvex/v1.6.616': + if json.loads(files[VEX]).get('@id') != 'https://github.com/PastureStack/server/security/openvex/v1.6.617': raise AssertionError('CURRENT_VEX_RELEASE_MISMATCH') - if json.loads(files[VENDOR]).get('release') != 'v1.6.616': + if json.loads(files[VENDOR]).get('release') != 'v1.6.617': raise AssertionError('CURRENT_VENDOR_RELEASE_MISMATCH') - if 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.616 base=v1.6.460 engine=0.183.402 web_console=1.6.249 catalog_service=0.20.20 ' not in gate: + if 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.617 base=v1.6.460 engine=0.183.402 web_console=1.6.250 catalog_service=0.20.20 ' not in gate: raise AssertionError('CURRENT_SUMMARY_MISMATCH') verify_incremental_contract(files, gate) verify_load_balancer_contract(files, gate) @@ -638,11 +638,11 @@ def previous_gate(gate=GATE): if stale(marker) != marker: replacements["'" + marker + "' "] = "'" + stale(marker) + "' " replacements.update({ - 'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.616"': + 'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.617"': 'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.521"', - '"$vendor_pending_fixture" v1.6.616 >/dev/null': + '"$vendor_pending_fixture" v1.6.617 >/dev/null': '"$vendor_pending_fixture" v1.6.521 >/dev/null', - 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.616 base=v1.6.460 engine=0.183.402 web_console=1.6.249 catalog_service=0.20.20 ': + 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.617 base=v1.6.460 engine=0.183.402 web_console=1.6.250 catalog_service=0.20.20 ': 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.521 base=v1.6.460 engine=0.183.340 web_console=1.6.181 catalog_service=0.20.12 ', }) for marker, stale_marker in replacements.items(): @@ -1415,7 +1415,7 @@ def test_previous_gate_and_each_old_component_pin_rejected(self): def test_previous_server566_engine367_web206_component_pins_cannot_mix(self): previous = { - 'v1.6.616': 'v1.6.566', '1.6.249': '1.6.206', '0.183.402': '0.183.367', + 'v1.6.617': 'v1.6.566', '1.6.250': '1.6.206', '0.183.402': '0.183.367', ENGINE_SHA: '4435aec3508fafeb1b1d88f455b7cef815c026957820b9127a391728130aa86c', ENGINE_SOURCE: '7cdacb4aad8cfbee3db239bb602a6a047da31fcf', WEB_SHA: 'c385bd89cb9458650259a9fc46baa5a46e60dd6a67fd116a3ed13bcf372a2075', @@ -1506,7 +1506,7 @@ def test_historical_engine340_cannot_be_packaged(self): def test_engine352_actual_war_producer_and_previous351_350_boundary(self): candidate = (REPO / 'server/build-component-candidate.sh').read_text(encoding='utf-8') - self.assertIn('export SERVER_RELEASE_TAG=${SERVER_RELEASE_TAG:-v1.6.616}', candidate) + self.assertIn('export SERVER_RELEASE_TAG=${SERVER_RELEASE_TAG:-v1.6.617}', candidate) self.assertIn('export ORCHESTRATION_ENGINE_RELEASE_TAG=${ORCHESTRATION_ENGINE_RELEASE_TAG:-v0.183.402}', candidate) for old in ( {'0.183.402': '0.183.351', @@ -1814,7 +1814,7 @@ def test_machine_actual_binary_package_and_retired_boundary_are_verified(self): def test_current_readme_status_specific_prose_does_not_block_publication_transition(self): common = GATE.split('for current_readme_marker in ', 1)[1].split('; do', 1)[0] self.assertNotIn('candidate', common) - self.assertNotIn('v1.6.616', common) + self.assertNotIn('v1.6.617', common) self.assertIn("grep -Fqi 'keep all three named volumes' README.md", GATE) status = GATE.split('# The earlier install proof validates the actual candidate/published body and identities.\n', 1)[1] candidate, published = status.split('elif ', 1) @@ -1823,7 +1823,7 @@ def test_current_readme_status_specific_prose_does_not_block_publication_transit self.assertIn('This candidate is not yet available', candidate) self.assertIn('SERVER_CURRENT_PUBLISHED_README_MISSING', published) self.assertNotIn('candidate', published) - self.assertNotIn('v1.6.616', published) + self.assertNotIn('v1.6.617', published) def test_actual_package_gate_keeps_bootstrap_separate_from_current_runtime(self): block='for fixed_package_gate in '+GATE.split('for fixed_package_gate in ',1)[1].split('\ndone',1)[0]+'\ndone\n' diff --git a/server/Dockerfile.web-compose-release b/server/Dockerfile.web-compose-release index 526c1255e3f..f831ebec694 100644 --- a/server/Dockerfile.web-compose-release +++ b/server/Dockerfile.web-compose-release @@ -95,15 +95,15 @@ ARG PER_HOST_SUBNET_STARTUP_SHA256=f22b41f18d1733c037babed4d2e0474efeedc6017a968 ARG PER_HOST_SUBNET_PROVENANCE_SHA256=272ea108e8d938c352cf47a4fa82e0dab3c81b6f3b181d0d12b71e1469f87edd ARG WEB_CONSOLE_RELEASE_BASE_URL=https://github.com/PastureStack/web-console/releases/download -ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421274 -ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421197 -ARG WEB_CONSOLE_RELEASE_TAG=1.6.249 -ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.249.tar.gz -ARG WEB_CONSOLE_ARTIFACT_SHA256=6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2 -ARG WEB_CONSOLE_COMMIT=25a2ec9d65a490a38905fe2f5f2e2f25b480e064 -ARG WEB_CONSOLE_LOCK_SHA256=c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305 -ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.249-runtime.cdx.json -ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206 +ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118865 +ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118805 +ARG WEB_CONSOLE_RELEASE_TAG=1.6.250 +ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.250.tar.gz +ARG WEB_CONSOLE_ARTIFACT_SHA256=6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413 +ARG WEB_CONSOLE_COMMIT=44d51cb3492964f45dddeb74634334ac8057ec90 +ARG WEB_CONSOLE_LOCK_SHA256=d2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a +ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.250-runtime.cdx.json +ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35 ARG CATALOG_SERVICE_RELEASE_BASE_URL=https://github.com/PastureStack/catalog-service/releases/download ARG CATALOG_SERVICE_VERSION=0.20.20 ARG CATALOG_SERVICE_COMMIT=bced4b96b0c6a0fe7d3db044f5c30a5b33d01172 @@ -873,7 +873,7 @@ ARG PER_HOST_SUBNET_VERSION=0.2.6 ARG PER_HOST_SUBNET_PRODUCER_COMMIT=05c69dba52ab770062e81a9b60b69408cbe58218 ARG PER_HOST_SUBNET_ARCHIVE_SHA256=a3a7592582c443f4f36b31c54a0a3c87d5961d664e3604b20acb97dec55725be ARG PER_HOST_SUBNET_PROVENANCE_SHA256=272ea108e8d938c352cf47a4fa82e0dab3c81b6f3b181d0d12b71e1469f87edd -ARG SERVER_RELEASE_TAG=v1.6.616 +ARG SERVER_RELEASE_TAG=v1.6.617 ARG API_EXPLORER_RELEASE_TAG=v1.1.22 ARG API_EXPLORER_ARTIFACT_SHA256=31564c3409313b7f5ce95486f6445f099646957f7c984de3f045245884e5c5f0 ARG API_EXPLORER_COMMIT=f84aad3e40f4a364aab42273e46767f756fb551f @@ -902,13 +902,13 @@ ARG GLIBC_PACKAGE_VERSION=2.43-2ubuntu2.7 ARG GLIBC_RUNTIME_PACKAGE_VERSION=2.43-2ubuntu2.7 ARG PERL_PACKAGE_VERSION=5.40.1-7ubuntu0.4 ARG PCRE2_PACKAGE_VERSION=10.46-1build1+pasturestack.1 -ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421274 -ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421197 -ARG WEB_CONSOLE_RELEASE_TAG=1.6.249 -ARG WEB_CONSOLE_ARTIFACT_SHA256=6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2 -ARG WEB_CONSOLE_COMMIT=25a2ec9d65a490a38905fe2f5f2e2f25b480e064 -ARG WEB_CONSOLE_LOCK_SHA256=c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305 -ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206 +ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118865 +ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118805 +ARG WEB_CONSOLE_RELEASE_TAG=1.6.250 +ARG WEB_CONSOLE_ARTIFACT_SHA256=6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413 +ARG WEB_CONSOLE_COMMIT=44d51cb3492964f45dddeb74634334ac8057ec90 +ARG WEB_CONSOLE_LOCK_SHA256=d2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a +ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35 ARG CATALOG_SERVICE_VERSION=0.20.20 ARG CATALOG_SERVICE_COMMIT=bced4b96b0c6a0fe7d3db044f5c30a5b33d01172 ARG CATALOG_SERVICE_ARCHIVE_SHA256=6bce527300205aeb0d589b67f4b38e037be3bdb8e6da5ea04f7357d287eedf6d diff --git a/server/build-api-explorer-patch-image.sh b/server/build-api-explorer-patch-image.sh index 2b3fbd313f0..5338782568f 100755 --- a/server/build-api-explorer-patch-image.sh +++ b/server/build-api-explorer-patch-image.sh @@ -14,7 +14,7 @@ if [[ -n "$(git status --porcelain --untracked-files=normal)" ]]; then fi revision=${PASTURESTACK_SERVER_REVISION:-$(git rev-parse HEAD)} -server_release_tag=${SERVER_RELEASE_TAG:-v1.6.616} +server_release_tag=${SERVER_RELEASE_TAG:-v1.6.617} source_date_epoch=${SOURCE_DATE_EPOCH:-$(git show -s --format=%ct HEAD)} base_image=${BASE_IMAGE:-ghcr.io/pasturestack/server:v1.6.460@sha256:c855af8aea232dacc5bb6df68e2271d482c68b53c43ab0c108ec19118f5ab403} orchestration_engine_release_base_url=${ORCHESTRATION_ENGINE_RELEASE_BASE_URL:-https://github.com/PastureStack/orchestration-engine/releases/download} @@ -64,15 +64,15 @@ api_explorer_artifact=${API_EXPLORER_ARTIFACT:-api-explorer-1.1.22.tar.gz} api_explorer_artifact_sha256=${API_EXPLORER_ARTIFACT_SHA256:-31564c3409313b7f5ce95486f6445f099646957f7c984de3f045245884e5c5f0} api_explorer_commit=${API_EXPLORER_COMMIT:-f84aad3e40f4a364aab42273e46767f756fb551f} web_console_release_base_url=${WEB_CONSOLE_RELEASE_BASE_URL:-https://github.com/PastureStack/web-console/releases/download} -web_console_asset_api_url=${WEB_CONSOLE_ASSET_API_URL:-https://api.github.com/repos/PastureStack/web-console/releases/assets/828421274} -web_console_sbom_asset_api_url=${WEB_CONSOLE_SBOM_ASSET_API_URL:-https://api.github.com/repos/PastureStack/web-console/releases/assets/828421197} -web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.249} -web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.249.tar.gz} -web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-6a20dde400e76487ab2702974b8c00b57d2d613809b7da59609bd291354f3db2} -web_console_commit=${WEB_CONSOLE_COMMIT:-25a2ec9d65a490a38905fe2f5f2e2f25b480e064} -web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-c11e1761582fc9aa9011eb69ab47ace23cedb4ed14f006f0d1675df3613b4305} +web_console_asset_api_url=${WEB_CONSOLE_ASSET_API_URL:-https://api.github.com/repos/PastureStack/web-console/releases/assets/832118865} +web_console_sbom_asset_api_url=${WEB_CONSOLE_SBOM_ASSET_API_URL:-https://api.github.com/repos/PastureStack/web-console/releases/assets/832118805} +web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.250} +web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.250.tar.gz} +web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-6702f1f7a79305517a46a6b6c4975548f756b4ed4fb262d166ad037751c1e413} +web_console_commit=${WEB_CONSOLE_COMMIT:-44d51cb3492964f45dddeb74634334ac8057ec90} +web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-d2bb5f1656d8651c996e0d15986d9f871fca7d0933d9a7c6c46d76a54603914a} web_console_runtime_sbom_artifact=${WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT:-web-console-${web_console_release_tag}-runtime.cdx.json} -web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-c6d75164fbaee5653d1fb45e799f1788b0b31b868543f706ded9bb3b3039a206} +web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-81d38e6cef4f57a4d3cbcde3d92399fa37075a7ec69509d4ddf383f0f64e6d35} catalog_service_release_base_url=${CATALOG_SERVICE_RELEASE_BASE_URL:-https://github.com/PastureStack/catalog-service/releases/download} catalog_service_version=${CATALOG_SERVICE_VERSION:-0.20.20} catalog_service_commit=${CATALOG_SERVICE_COMMIT:-bced4b96b0c6a0fe7d3db044f5c30a5b33d01172} @@ -134,7 +134,7 @@ usage_telemetry_agent_archive_sha256=${USAGE_TELEMETRY_AGENT_ARCHIVE_SHA256:-c33 usage_telemetry_agent_binary_sha256=${USAGE_TELEMETRY_AGENT_BINARY_SHA256:-48e22a6654c058cef7126dfa7c39da4c98a92bb939d37f09536d992f507f92ca} supported_docker_range='~v1.12.3 || ~v1.13.0 || ~v17.03.0 || ~v17.06.0 || ~v17.09.0 || ~v17.12.0 || ~v18.03.0 || ~v18.06.0 || ~v18.09.0 || ~v19.03.2 || v24.0.9 || >=v29.4.1 <=v29.7.2 || v29.8.0 || v29.10.1' newest_docker_version=v29.10.1 -image=${IMAGE:-pasturestack-validation/server:v1.6.616} +image=${IMAGE:-pasturestack-validation/server:v1.6.617} build_options=() [[ "$revision" =~ ^[0-9a-f]{40}$ ]] diff --git a/server/build-component-candidate.sh b/server/build-component-candidate.sh index ed929012cda..f4f27ba7989 100755 --- a/server/build-component-candidate.sh +++ b/server/build-component-candidate.sh @@ -18,10 +18,10 @@ for name in "${required[@]}"; do case "$name" in *_COMMIT) [[ ${!name} =~ ^[0-9a-f]{40}$ ]] ;; *) [[ ${!name} =~ ^[0-9a-f]{64}$ ]] ;; esac export "$name" done -export SERVER_RELEASE_TAG=${SERVER_RELEASE_TAG:-v1.6.616} +export SERVER_RELEASE_TAG=${SERVER_RELEASE_TAG:-v1.6.617} export ORCHESTRATION_ENGINE_RELEASE_TAG=${ORCHESTRATION_ENGINE_RELEASE_TAG:-v0.183.402} export ORCHESTRATION_ENGINE_ARTIFACT=cattle.jar -export WEB_CONSOLE_RELEASE_TAG=${WEB_CONSOLE_RELEASE_TAG:-1.6.249} +export WEB_CONSOLE_RELEASE_TAG=${WEB_CONSOLE_RELEASE_TAG:-1.6.250} export WEB_CONSOLE_ARTIFACT="web-console-${WEB_CONSOLE_RELEASE_TAG}.tar.gz" export WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=${WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT:-web-console-${WEB_CONSOLE_RELEASE_TAG}-runtime.cdx.json} export WEBSOCKET_PROXY_VERSION=${WEBSOCKET_PROXY_VERSION:-0.23.20} diff --git a/server/security/check_web_console_sbom_scan.py b/server/security/check_web_console_sbom_scan.py index f12e2209391..aa0a6c7a793 100644 --- a/server/security/check_web_console_sbom_scan.py +++ b/server/security/check_web_console_sbom_scan.py @@ -80,7 +80,10 @@ def inspect(sbom, report, database, *, scanner_image, database_sha256): errors.append('Build components must not enter the browser runtime scan') input_npm = [item for item in all_components if (canonical_purl(item.get('purl')) or '').startswith('pkg:npm/')] - files = [item for item in all_components if item.get('type') == 'file'] + files = [item for item in all_components if item.get('type') == 'file' + and not (item.get('bom-ref') or '').startswith('embedded-source:')] + embedded_sources = [item for item in all_components if item.get('type') == 'file' + and (item.get('bom-ref') or '').startswith('embedded-source:')] unsupported = [component_identity(item) | { 'reason': 'No supported npm ecosystem lookup identity; source/file hashes are provenance, not a vulnerability lookup result.'} for item in all_components if item not in input_npm and item.get('type') != 'file'] @@ -126,6 +129,7 @@ def inspect(sbom, report, database, *, scanner_image, database_sha256): 'recognizedComponentCount': len(input_npm) - len(missing), 'missing': missing}, 'unsupportedComponents': unsupported, 'artifactFiles': {'count': len(files), 'role': 'Hashed delivered payloads; not separately identified ecosystem packages.'}, + 'embeddedSources': {'count': len(embedded_sources), 'role': 'Source composition within delivered bundles; not extra archive members or independent advisory ecosystem identities.'}, 'reportTargets': result_targets, 'findingOccurrences': len(rows), 'effectiveDisposition': 'identical-to-raw; no browser exceptions or OS VEX applied', diff --git a/server/security/openvex.json b/server/security/openvex.json index 68a61d714b1..6f3105210b4 100644 --- a/server/security/openvex.json +++ b/server/security/openvex.json @@ -1,6 +1,6 @@ { "@context": "https://openvex.dev/ns/v0.2.0", - "@id": "https://github.com/PastureStack/server/security/openvex/v1.6.616", + "@id": "https://github.com/PastureStack/server/security/openvex/v1.6.617", "author": "PastureStack Security", "timestamp": "2026-11-28T20:56:54.421053Z", "version": 96, diff --git a/server/security/test_web_console_sbom_scan.py b/server/security/test_web_console_sbom_scan.py index c44864d0f7d..35d7925bb6f 100644 --- a/server/security/test_web_console_sbom_scan.py +++ b/server/security/test_web_console_sbom_scan.py @@ -69,6 +69,19 @@ def test_empty_or_wrong_type_or_wrong_version_lookup_blocks(self): coverage, _ = self.analyze(sbom, report, db) self.assertIn('Missing npm purl vulnerability lookup coverage', coverage['blockingErrors']) + def test_embedded_sources_are_not_counted_as_extra_delivered_files_or_lookup_packages(self): + sbom, report, db = self.fixture() + sbom['metadata']['properties'][1]['value'] = 'complete' + sbom['components'][1]['components'] = [{'type': 'file', 'name': 'vendor/novnc.js#include/util.js', + 'bom-ref': 'embedded-source:novnc:include/util.js', + 'hashes': [{'alg': 'SHA-256', 'content': 'e' * 64}]}] + coverage, _ = self.analyze(sbom, report, db) + self.assertEqual(coverage['artifactFiles']['count'], 1) + self.assertEqual(coverage['embeddedSources']['count'], 1) + self.assertEqual(coverage['npm']['componentCount'], 1) + self.assertEqual(coverage['inputCoverage'], 'complete') + self.assertEqual(coverage['coverage'], 'incomplete') + def test_unknown_schema_or_scanner_or_stale_db_blocks(self): for mutation in ('schema', 'scanner', 'db-expired', 'db-future', 'db-no-time', 'image'): sbom, report, db = self.fixture() diff --git a/server/security/vendor-pending.json b/server/security/vendor-pending.json index d77576475f8..595f41af101 100644 --- a/server/security/vendor-pending.json +++ b/server/security/vendor-pending.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, - "release": "v1.6.616", + "release": "v1.6.617", "generatedAt": "2026-12-04T00:10:17.241613+00:00", "policy": { "allowedSeverities": [ From 736914611302ce9d83e24387f43d79730e082e53 Mon Sep 17 00:00:00 2001 From: "Cheng-Chen, Chen" Date: Fri, 4 Dec 2026 20:47:31 +0800 Subject: [PATCH 2/4] Preserve published installation baseline while preparing Server 617 --- README.md | 21 ++++++++++++--------- docs/README.md | 6 ++++-- docs/performance/README.md | 4 ++-- docs/releases/server-1.6.617.md | 7 ++++++- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index d380fad6fab..ac7cad2344b 100644 --- a/README.md +++ b/README.md @@ -13,26 +13,29 @@ upstream history, authorship, licenses, and notices. ## Current release -[Server v1.6.617](https://github.com/PastureStack/server/releases/tag/v1.6.617) -packages Engine `v0.183.402`, Web Console `1.6.250`, Agent `v1.2.37`, +[Server v1.6.616](https://github.com/PastureStack/server/releases/tag/v1.6.616) +packages Engine `v0.183.402`, Web Console `1.6.249`, Agent `v1.2.37`, Compose `0.14.47`, Host API `0.38.12` and optional Bridge `0.2.37`. Managed LB `v0.9.38` contains HAProxy `3.5.0`, AWS-LC `5.15.0` and Lua `5.4.8`. Existing services require native upgrade transactions; replacing Server alone does not update their saved images. -This release updates browser build dependencies with official security fixes and -binds the delivered UI to actual Sass, Webpack and embedded-source evidence. -Source inventory completeness does not imply exhaustive advisory-index coverage. - Ordinary managed LB updates require a newer image. Historical selection, explicit rollback, custom images and digest pins retain their boundaries. Canonical v2 reads preserve sidekicks. Primary listener ownership, native repair of historical duplicate ports and correct handling of removed records keep rollback from re-reserving stale ports. Catalog Service `v0.20.20` retains verified bundled recovery, historical revisions and explicit overrides. -See the [release evidence and limits](docs/releases/server-1.6.617.md), +See the [release evidence and limits](docs/releases/server-1.6.616.md), [upgrade guide](docs/upgrades/README.md) and [compatibility contract](COMPATIBILITY.md). +## Prepared security update + +Server `v1.6.617` packages Web Console `1.6.250` with browser dependency security +fixes and actual Sass, Webpack and embedded-source evidence. This source candidate +is not a published image; keep using the verified numeric installation tag above +until release checks finish. See the [candidate scope](docs/releases/server-1.6.617.md). + ## Component capabilities Browser users can select an environment by name and review switching context or @@ -93,7 +96,7 @@ docker run -d --name pasturestack-server --restart unless-stopped -p 8080:8080 \ -v pasturestack-cattle:/var/lib/cattle \ -v pasturestack-mysql:/var/lib/mysql \ -v pasturestack-mysqllog:/var/log/mysql \ - ghcr.io/pasturestack/server:v1.6.617 + ghcr.io/pasturestack/server:v1.6.616 ``` For HTTPS termination at a reverse proxy, set the exact public origin: @@ -101,7 +104,7 @@ For HTTPS termination at a reverse proxy, set the exact public origin: ```yaml services: pasturestack-server: - image: ghcr.io/pasturestack/server:v1.6.617 + image: ghcr.io/pasturestack/server:v1.6.616 restart: unless-stopped ports: - "8080:8080" diff --git a/docs/README.md b/docs/README.md index 9446999aa3b..67d047e7a3e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -6,8 +6,8 @@ operator deployment and business-workflow acceptance are recorded separately. ## Release notes -- [Current Server v1.6.617](releases/server-1.6.616.md) — Engine `0.183.402` / - Web Console `1.6.250` / optional Bridge `0.2.37`. +- [Current Server v1.6.616](releases/server-1.6.616.md) — Engine `0.183.402` / + Web Console `1.6.249` / optional Bridge `0.2.37`. - [Release archive](RELEASE-ARCHIVE.md) — historical published and candidate notes retain their original evidence, acceptance limits and rollback context; these are not @@ -29,3 +29,5 @@ operator deployment and business-workflow acceptance are recorded separately. Read [`../ORIGIN.md`](../ORIGIN.md), [`../COMPATIBILITY.md`](../COMPATIBILITY.md), and [`../SECURITY.md`](../SECURITY.md) before operating the Server. + +- [Prepared Server v1.6.617 security update](releases/server-1.6.617.md) — source candidate, not an installable release. diff --git a/docs/performance/README.md b/docs/performance/README.md index 122d2ccd688..38aea6f0a95 100644 --- a/docs/performance/README.md +++ b/docs/performance/README.md @@ -8,7 +8,7 @@ The following example is appropriate as a starting point for a dedicated 16-vCPU host with about 32 GiB of RAM. It is not a universal performance profile; measure the real workload before increasing it further. -The example uses the published Server `v1.6.617`. Deployment and workload +The example uses the published Server `v1.6.616`. Deployment and workload acceptance remain environment-specific. See the [release note](../releases/server-1.6.616.md) and the [current release](../../README.md#current-release) for components. Preserve existing runtime overrides and all three named volumes during an @@ -20,7 +20,7 @@ evidence is not a performance benchmark; measure the actual workload. ```yaml services: pasturestack-server: - image: ghcr.io/pasturestack/server:v1.6.617 + image: ghcr.io/pasturestack/server:v1.6.616 restart: unless-stopped ports: - "8080:8080" diff --git a/docs/releases/server-1.6.617.md b/docs/releases/server-1.6.617.md index 879cf2c0e78..968a4b08ab8 100644 --- a/docs/releases/server-1.6.617.md +++ b/docs/releases/server-1.6.617.md @@ -1,4 +1,9 @@ -# Server v1.6.617 +# Server v1.6.617 candidate + +This source candidate is not a published Server image or deployment result. +The normal build, security and clean startup/restart checks must complete first. + +## Verified component inputs Packages Web Console 1.6.250 with the unchanged Engine 0.183.402, Agent 1.2.37, Catalog Service 0.20.20 and managed LB 0.9.38. The published image and original From 2d73fb7ad7016f0edacefea9afda472fa5cad04d Mon Sep 17 00:00:00 2001 From: "Cheng-Chen, Chen" Date: Fri, 4 Dec 2026 20:52:04 +0800 Subject: [PATCH 3/4] Align native asset transport checks with published Web Console 250 --- scripts/check-server-api-explorer-patch.sh | 4 ++-- scripts/test-server-component-native-api.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-server-api-explorer-patch.sh b/scripts/check-server-api-explorer-patch.sh index fcc2cec80b7..8ae79fa67a3 100755 --- a/scripts/check-server-api-explorer-patch.sh +++ b/scripts/check-server-api-explorer-patch.sh @@ -2507,8 +2507,8 @@ done for native_asset_marker in \ 'ARG ORCHESTRATION_ENGINE_ASSET_API_URL=https://api.github.com/repos/PastureStack/orchestration-engine/releases/assets/830732138' \ 'ARG COMPOSE_EXECUTOR_ASSET_API_URL=https://api.github.com/repos/PastureStack/compose-cli/releases/assets/805738586' \ - 'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421274' \ - 'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/828421197'; do + 'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118865' \ + 'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/832118805'; do require_marker "$release_dockerfile" "$native_asset_marker" SERVER_OFFICIAL_ASSET_API_COORDINATE_MISSING done require_marker server/artifacts/fetch-server-component.sh "--header 'Accept: application/octet-stream' --header 'Range: bytes=0-'" SERVER_OFFICIAL_ASSET_API_HEADERS_MISSING diff --git a/scripts/test-server-component-native-api.py b/scripts/test-server-component-native-api.py index d836a661f7f..f7acfd4c82e 100644 --- a/scripts/test-server-component-native-api.py +++ b/scripts/test-server-component-native-api.py @@ -122,8 +122,8 @@ def test_exact_shared_jdk_and_component_api_sources_are_wired(self): for source in (docker, build): self.assertIn(api+'PastureStack/orchestration-engine/releases/assets/830732138', source) self.assertIn(api+'PastureStack/compose-cli/releases/assets/805738586', source) - self.assertIn(api+'PastureStack/web-console/releases/assets/828421274', source) - self.assertIn(api+'PastureStack/web-console/releases/assets/828421197', source) + self.assertIn(api+'PastureStack/web-console/releases/assets/832118865', source) + self.assertIn(api+'PastureStack/web-console/releases/assets/832118805', source) self.assertIn('WEB_CONSOLE_ASSET_API_URL', source) self.assertIn('WEB_CONSOLE_SBOM_ASSET_API_URL', source) self.assertIn('"${WEB_CONSOLE_ASSET_API_URL}"', docker) From cfb52fca02c5d55aca77f45d3fe55f1392c55291 Mon Sep 17 00:00:00 2001 From: "Cheng-Chen, Chen" Date: Fri, 4 Dec 2026 20:52:33 +0800 Subject: [PATCH 4/4] Preserve native asset test block indentation --- scripts/test-server-component-native-api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-server-component-native-api.py b/scripts/test-server-component-native-api.py index f7acfd4c82e..2518c0aaf7e 100644 --- a/scripts/test-server-component-native-api.py +++ b/scripts/test-server-component-native-api.py @@ -122,7 +122,7 @@ def test_exact_shared_jdk_and_component_api_sources_are_wired(self): for source in (docker, build): self.assertIn(api+'PastureStack/orchestration-engine/releases/assets/830732138', source) self.assertIn(api+'PastureStack/compose-cli/releases/assets/805738586', source) - self.assertIn(api+'PastureStack/web-console/releases/assets/832118865', source) + self.assertIn(api+'PastureStack/web-console/releases/assets/832118865', source) self.assertIn(api+'PastureStack/web-console/releases/assets/832118805', source) self.assertIn('WEB_CONSOLE_ASSET_API_URL', source) self.assertIn('WEB_CONSOLE_SBOM_ASSET_API_URL', source)