GeezerVison is showing github.com — Fix CLI Go runtime CVE with official Go 1.27.3 inputs (#7) · PastureStack/cli@60a13c6
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/security-release-gate.yml +15-11Lines changed: 15 additions & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 21 | 21 | DAPPER_IMAGE: pasturestack/cli-dapper:${{ github.sha }} | 22 | 22 | RUNTIME_IMAGE: pasturestack/cli-runtime:${{ github.sha }} | 23 | 23 | TRIVY_IMAGE: aquasec/trivy:0.74.0@sha256:62b1e65e8869bc4b4c6aa4fa2b21595256c7c2f6018a9d9ad61caf87187c1969 | 24 | | - VERSION_OVERRIDE: 0.6.18 | | 24 | + VERSION_OVERRIDE: 0.6.19 | 25 | 25 | CROSS: 'true' | 26 | 26 | SKIP_IMAGE_BUILD: 'true' | 27 | 27 |
| @@ -45,10 +45,10 @@ jobs: | 45 | 45 | sha256sum Dockerfile.dapper package/Dockerfile ubuntu-apt.lock \ | 46 | 46 | go.mod go.sum vendor/modules.txt \ | 47 | 47 | security/dapper.openvex.json security/vendor-pending.json \ | 48 | | - security/cli018-review-evidence.json scripts/check-security-reports.py \ | | 48 | + security/cli019-review-evidence.json scripts/check-security-reports.py \ | 49 | 49 | scripts/publish-reviewed-release.py > evidence/source-locks.sha256 | 50 | 50 | cp security/vendor-pending.json security/dapper.openvex.json \ | 51 | | - security/cli018-review-evidence.json evidence/ | | 51 | + security/cli019-review-evidence.json evidence/ | 52 | 52 |
| 53 | 53 | - name: Build, test, validate, and package twice | 54 | 54 | shell: bash | @@ -79,15 +79,15 @@ jobs: | 79 | 79 | } | 80 | 80 |
| 81 | 81 | run_ci | 82 | | - artifact="dist/artifacts/0.6.18/pasturestack-cli-linux-amd64-0.6.18.tar.gz" | | 82 | + artifact="dist/artifacts/0.6.19/pasturestack-cli-linux-amd64-0.6.19.tar.gz" | 83 | 83 | test -s "$artifact" | 84 | | - find dist/artifacts/0.6.18 -type f -print0 \ | | 84 | + find dist/artifacts/0.6.19 -type f -print0 \ | 85 | 85 | | LC_ALL=C sort -z \ | 86 | 86 | | xargs -0 sha256sum > /tmp/first-artifacts.sha256 | 87 | 87 |
| 88 | 88 | rm -rf bin build dist | 89 | 89 | run_ci | 90 | | - find dist/artifacts/0.6.18 -type f -print0 \ | | 90 | + find dist/artifacts/0.6.19 -type f -print0 \ | 91 | 91 | | LC_ALL=C sort -z \ | 92 | 92 | | xargs -0 sha256sum > /tmp/second-artifacts.sha256 | 93 | 93 | diff -u /tmp/first-artifacts.sha256 /tmp/second-artifacts.sha256 | @@ -96,15 +96,19 @@ jobs: | 96 | 96 | mkdir -p evidence/product | 97 | 97 | tar -xzf "$artifact" -C evidence/product --strip-components=1 | 98 | 98 | test -x evidence/product/pasturestack | 99 | | - evidence/product/pasturestack --version | grep -F '0.6.18' >/dev/null | 100 | | - find dist/artifacts/0.6.18 -type f -print0 \ | | 99 | + evidence/product/pasturestack --version | grep -F '0.6.19' >/dev/null | | 100 | + find dist/artifacts/0.6.19 -type f -print0 \ | 101 | 101 | | LC_ALL=C sort -z \ | 102 | 102 | | xargs -0 sha256sum > evidence/artifacts.sha256 | 103 | 103 | docker run --rm --entrypoint go \ | 104 | 104 | --volume "$PWD:/work:ro" \ | 105 | 105 | "$DAPPER_IMAGE" \ | 106 | 106 | version -m /work/evidence/product/pasturestack \ | 107 | 107 | > evidence/product-go-version.txt | | 108 | + grep -Fx '/work/evidence/product/pasturestack: go1.27.3' evidence/product-go-version.txt | | 109 | + docker run --rm --entrypoint go "$DAPPER_IMAGE" \ | | 110 | + version -m /usr/bin/docker > evidence/docker-cli-go-version.txt | | 111 | + grep -Fx '/usr/bin/docker: go1.26.10' evidence/docker-cli-go-version.txt | 108 | 112 |
| 109 | 113 | - name: Build and smoke-test runtime image | 110 | 114 | shell: bash | @@ -115,7 +119,7 @@ jobs: | 115 | 119 | --tag "$RUNTIME_IMAGE" \ | 116 | 120 | --file package/Dockerfile \ | 117 | 121 | . | 118 | | - docker run --rm "$RUNTIME_IMAGE" --version | grep -F '0.6.18' >/dev/null | | 122 | + docker run --rm "$RUNTIME_IMAGE" --version | grep -F '0.6.19' >/dev/null | 119 | 123 |
| 120 | 124 | - name: Record resolved build inputs | 121 | 125 | shell: bash | @@ -222,9 +226,9 @@ jobs: | 222 | 226 | if: success() | 223 | 227 | uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | 224 | 228 | with: | 225 | | - name: cli-release-candidate-0.6.18-${{ github.sha }} | | 229 | + name: cli-release-candidate-0.6.19-${{ github.sha }} | 226 | 230 | path: | | 227 | | - dist/artifacts/0.6.18/ | | 231 | + dist/artifacts/0.6.19/ | 228 | 232 | evidence/artifacts.sha256 | 229 | 233 | evidence/source-revision.txt | 230 | 234 | evidence/source-tree.txt | |
Collapse file Copy file name to clipboardExpand all lines: Dockerfile.dapper +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,12 +4,12 @@ COPY ubuntu-apt.lock /licenses/ubuntu-apt.lock | 4 | 4 | ADD --checksum=sha256:6077d27c6b6f8b23590cb01ff877ed8c804a67a5442cc32b5a33da10d2bd0e90 https://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20260601~26.04.1_all.deb /tmp/ca-certificates.deb | 5 | 5 |
| 6 | 6 | ARG DAPPER_HOST_ARCH=amd64 | 7 | | -ARG GO_VERSION=1.27.2 | 8 | | -ARG GO_SHA256_amd64=ecbadb99091a3f46e31f5f934b068b1864eafa7995211b39eaddf76996045fe5 | 9 | | -ARG GO_SHA256_arm64=94f3e30b8e374bc285e7dadc11e0865726b9bc6e85b841ccceaabc0214c6b7c8 | 10 | | -ARG DOCKER_VERSION=29.9.1 | 11 | | -ARG DOCKER_SHA256_amd64=c158ecc55adb3afb01bbd3539ed3b997d20c26dbdc418080506cc1bf5243ff57 | 12 | | -ARG DOCKER_SHA256_arm64=3e93cc6d1a686456a3b18eefdde26467a837a7a2b257af22e27cba1dbc1b2018 | | 7 | +ARG GO_VERSION=1.27.3 | | 8 | +ARG GO_SHA256_amd64=65efbc80fdc1fa2cd2631cad5b481777a68e8725f34e89f50fc6ac714e379b40 | | 9 | +ARG GO_SHA256_arm64=a06e99309dbcbdca1a8ccd2282c3ee146e55930886e26b4f1193269587165f49 | | 10 | +ARG DOCKER_VERSION=29.9.2 | | 11 | +ARG DOCKER_SHA256_amd64=9ac225999fd5e863f7694c728ef23d480616b1e5639328fa309befd4243d69eb | | 12 | +ARG DOCKER_SHA256_arm64=873b3e0207857c3b2f28392fb922f3ea6efe37620c16d4d4aaf2fef409c90b73 | 13 | 13 |
| 14 | 14 | ENV HOST_ARCH=${DAPPER_HOST_ARCH} \ | 15 | 15 | ARCH=${DAPPER_HOST_ARCH} \ | |
Collapse file Copy file name to clipboard +22Lines changed: 22 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# CLI 0.6.19 | | 2 | + | | 3 | +This compiler-only security maintenance release preserves CLI functionality, | | 4 | +configuration aliases, API-key permissions, schema handling and Compose delegation. | | 5 | + | | 6 | +- The CLI compiler is exact Go 1.27.3, including the | | 7 | + [crypto/x509 fix for CVE-2026-111943](https://pkg.go.dev/vuln/GO-2026-6809). | | 8 | + Both supported builder architectures retain checksum-pinned official Go archives. | | 9 | +- The builder's official Docker CLI is 29.9.2 with Go 1.26.10, applying the | | 10 | + [same upstream security fix](https://docs.docker.com/engine/release-notes/29/#2992). | | 11 | + Architecture-specific archive bytes remain pinned; no vendored behavior is changed. | | 12 | +- The existing four-scope source/product/builder/runtime gate, race tests, | | 13 | + reproducibility checks, SBOMs and immutable publisher are retained. Critical/High, | | 14 | + official available fixes, secrets and unregistered records still block release. | | 15 | + Only exact, currently reviewed, officially unfixed Medium/Low records may be tracked. | | 16 | + Builder header VEX is not an exemption for the runtime or a Go executable. | | 17 | + | | 18 | +Publication requires the complete exact-main release gate and anonymous asset | | 19 | +readback. The numeric archives retain Server-compatible platform-before-version | | 20 | +names, including `pasturestack-cli-linux-amd64-0.6.19.tar.gz`. Original licenses and | | 21 | +upstream attribution remain unchanged. A component release is not Server deployment | | 22 | +or whole compatibility-matrix acceptance; previous tags and assets are not overwritten. |
Collapse file Copy file name to clipboardExpand all lines: go.mod +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,7 @@ module github.com/PastureStack/cli | 2 | 2 |
| 3 | 3 | go 1.26.0 | 4 | 4 |
| 5 | | -toolchain go1.27.2 | | 5 | +toolchain go1.27.3 | 6 | 6 |
| 7 | 7 | require ( | 8 | 8 | github.com/Microsoft/go-winio v0.6.2 | |
Collapse file Copy file name to clipboardExpand all lines: scripts/check-pasturestack-source +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -50,10 +50,10 @@ printf '%s\n' "$module_packages" | grep -Fx 'github.com/go-viper/mapstructure/v2 | 50 | 50 | printf '%s\n' "$module_packages" | grep -Fx 'github.com/sirupsen/logrus v1.10.2' >/dev/null || fail logrus_version_mismatch | 51 | 51 |
| 52 | 52 | require_line go.mod 'go 1.26.0' | 53 | | -require_line go.mod 'toolchain go1.27.2' | | 53 | +require_line go.mod 'toolchain go1.27.3' | 54 | 54 | require_line Dockerfile.dapper 'FROM ubuntu:26.04@sha256:2260313b31c8c011cd2eebe728008efac1b3982be73eb71348ea2648d2c0e09b' | 55 | | -require_line Dockerfile.dapper 'ARG GO_VERSION=1.27.2' | 56 | | -require_line Dockerfile.dapper 'ARG DOCKER_VERSION=29.9.1' | | 55 | +require_line Dockerfile.dapper 'ARG GO_VERSION=1.27.3' | | 56 | +require_line Dockerfile.dapper 'ARG DOCKER_VERSION=29.9.2' | 57 | 57 | require_line Dockerfile.dapper ' GO111MODULE=on \' | 58 | 58 | require_line Dockerfile.dapper ' GOFLAGS=-mod=vendor \' | 59 | 59 | require_line package/Dockerfile 'FROM ubuntu:26.04@sha256:2260313b31c8c011cd2eebe728008efac1b3982be73eb71348ea2648d2c0e09b' | |
Collapse file Copy file name to clipboardExpand all lines: scripts/check-reproducible-artifacts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 | set -euo pipefail | 3 | 3 |
| 4 | 4 | repo=$(cd "$(dirname "$0")/.." && pwd) | 5 | | -version=${VERSION_OVERRIDE:-0.6.18} | | 5 | +version=${VERSION_OVERRIDE:-0.6.19} | 6 | 6 | : "${SOURCE_DATE_EPOCH:?SOURCE_DATE_EPOCH must be set to the authoritative commit epoch}" | 7 | 7 |
| 8 | 8 | workspace=$(mktemp -d) | |
Collapse file Copy file name to clipboardExpand all lines: scripts/publish-reviewed-release.py +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | #!/usr/bin/env python3 | 2 | | -"""Publish only checked numeric CLI0.6.18 bytes from an exact successful main run. | | 2 | +"""Publish only checked numeric CLI0.6.19 bytes from an exact successful main run. | 3 | 3 |
| 4 | 4 | Default --plan has no network activity. Explicit --execute requires normal | 5 | 5 | protected/signed merge, exact required checks, complete security/repro gate, | | 17 | 17 | import tempfile | 18 | 18 | from urllib.request import Request, urlopen | 19 | 19 |
| 20 | | -REPO, VERSION, TAG = 'PastureStack/cli', '0.6.18', 'v0.6.18' | | 20 | +REPO, VERSION, TAG = 'PastureStack/cli', '0.6.19', 'v0.6.19' | 21 | 21 |
| 22 | 22 |
| 23 | 23 | def need(ok, code): | @@ -127,7 +127,7 @@ def main(): | 127 | 127 | not command('git', '-C', str(root), 'status', '--porcelain').stdout, 'CLEAN_EXACT_SOURCE_CHECKOUT') | 128 | 128 | tree, merged_pr, workflow = checked_source(source, args.run_id) | 129 | 129 | need(not api('git/matching-refs/tags/' + TAG), 'IMMUTABLE_TAG_ALREADY_EXISTS') | 130 | | - with tempfile.TemporaryDirectory(prefix='pasturestack-cli018-release-') as temporary: | | 130 | + with tempfile.TemporaryDirectory(prefix='pasturestack-cli019-release-') as temporary: | 131 | 131 | staging = Path(temporary) | 132 | 132 | candidate, evidence, assets = [staging / name for name in ('candidate', 'evidence', 'assets')] | 133 | 133 | for directory in (candidate, evidence, assets): directory.mkdir() | @@ -157,8 +157,8 @@ def main(): | 157 | 157 | need(original.is_file(), 'SERVER_PLATFORM_ASSET_REQUIRED') | 158 | 158 | for name in ('security-summary.json', 'source.cdx.json', 'product.cdx.json', 'runtime.cdx.json', | 159 | 159 | 'source-security.json', 'product-security.json', 'dapper-image-raw.json', 'runtime-image-security.json', | 160 | | - 'dapper-dpkg.tsv', 'runtime-dpkg.tsv', 'product-go-version.txt', 'source-locks.sha256', | 161 | | - 'vendor-pending.json', 'dapper.openvex.json', 'cli018-review-evidence.json'): | | 160 | + 'dapper-dpkg.tsv', 'runtime-dpkg.tsv', 'product-go-version.txt', 'docker-cli-go-version.txt', 'source-locks.sha256', | | 161 | + 'vendor-pending.json', 'dapper.openvex.json', 'cli019-review-evidence.json'): | 162 | 162 | shutil.copyfile(unique(evidence, name), assets / ('cli-' + name)) | 163 | 163 | binary_archive = assets / ('pasturestack-cli-linux-amd64-' + VERSION + '.tar.gz') | 164 | 164 | with tarfile.open(binary_archive, 'r:gz') as tar: | |
Collapse file Copy file name to clipboard +49Lines changed: 49 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + "reviewedAt": "2026-10-21T21:17:55.028968Z", | | 3 | + "firstRun": "https://github.com/PastureStack/cli/actions/runs/39676062137", | | 4 | + "firstScanSource": "01bf8a740bb0ddd48e587cc72ff672e45bf38e58", | | 5 | + "rawReports": { | | 6 | + "source": { | | 7 | + "file": "source-security.json", | | 8 | + "sha256": "2f2996784e141dabc0e1926691497bf0e841e283a4912dc2d33f1774debc0dff" | | 9 | + }, | | 10 | + "product": { | | 11 | + "file": "product-security.json", | | 12 | + "sha256": "67e993b7dfe8e4177532c59bb8dc0a3f608245fc172b2226544ed87c4d1ddd37" | | 13 | + }, | | 14 | + "builder": { | | 15 | + "file": "dapper-image-raw.json", | | 16 | + "sha256": "10a951d2e83745bb7c3792be9095a6448164f0525115953989c4941f9642baa0" | | 17 | + }, | | 18 | + "runtime": { | | 19 | + "file": "runtime-image-security.json", | | 20 | + "sha256": "6bd1d9ac185e9e86ad47388d51e2b54b5bedf162603b6ab3440db655ae1de4a8" | | 21 | + } | | 22 | + }, | | 23 | + "builderPackagesSha256": "0a875c73c3fbeaa0532c23a426404baf80d104d840020b78d1c8c682342e970e", | | 24 | + "productGoMetadataSha256": "882aef1b506000db31ea6473b94d532c52ed97f8a5074bd19bb4efda6200c3e8", | | 25 | + "dockerCliGoMetadataSha256": "1ad8e98adcacb43471727a9f8878481c9ebc11db991ab4cebba67f2607ada1c1", | | 26 | + "builderHeaderPackage": "linux-libc-dev:amd64=7.0.0-38.38", | | 27 | + "kernelImageOrModulesInstalled": false, | | 28 | + "productCGOEnabled": false, | | 29 | + "exactHeaderVexRows": 3150, | | 30 | + "previousHeaderVexRows": 2691, | | 31 | + "headerRowsAdded": 466, | | 32 | + "headerRowsRemoved": 7, | | 33 | + "exactVendorPendingRows": 109, | | 34 | + "officialCveCount": 47, | | 35 | + "officialReviewEvidenceSha256": [ | | 36 | + "ff80ce6542aee93075ee56f58c22cb9b6e136edbbdc0dd28e8bb88204659e575", | | 37 | + "0fe2734670469465e19aedfa3272e710e30dd39c31793b56db202ad7386f3226" | | 38 | + ], | | 39 | + "rawCounts": { | | 40 | + "source": 0, | | 41 | + "product": 0, | | 42 | + "builder": 3216, | | 43 | + "runtime": 43 | | 44 | + }, | | 45 | + "rawZeroClaim": false, | | 46 | + "upstreamCvssRetained": true, | | 47 | + "trackerIsNotNotAffected": true, | | 48 | + "runtimeImageOfficialPublication": false | | 49 | +} |
|