Skip to content

chore(deps): bump the go-dependencies group with 3 updates - #1379

Merged
mbevc1 merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-f2811523d7
Nov 13, 2026
Merged

mbevc1 merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-f2811523d7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 3 updates: github.com/klauspost/compress, github.com/open-policy-agent/opa and google.golang.org/api.

Updates github.com/klauspost/compress from 1.20.3 to 1.20.4

Release notes

Sourced from github.com/klauspost/compress's releases.

v1.20.4

What's Changed

New Contributors

Full Changelog: klauspost/compress@v1.20.3...v1.20.4

Commits
  • 361b808 s2: keep ErrCorrupt when Skip rejects an oversized chunk (#1303)
  • 7556d8a s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst (#1307)
  • 5763a8d gzhttp: clear Content-Length when decoding a compressed request (#1301)
  • d8a2412 zstd: don't reuse a literal table that was not written (#1299)
  • a4c846b s2: fix LZ4 converter length overflow (32-bit only) (#1300)
  • de5f3e2 zstd: cap DecodeAll preallocation to what the input can decode to (#1291)
  • 1e5ae79 zip: backport the standard library's writer-side Zip64 fixes (#1287)
  • b143364 s2: don't read past src when converting LZ4 blocks (#1294)
  • b660d6d zstd: copy non-overlapping matches in 32-byte blocks (#1295)
  • f2783fb zstd: inline the best encoder's reject path; cap concurrent-blocks job size (...
  • Additional commits viewable in compare view

Updates github.com/open-policy-agent/opa from 1.22.3 to 1.22.4

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v1.22.4

This is a fix release for a vulnerability (CVE-2026-97054) in Go's HTTP/1 server:

https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM

net/http: HTTP/1 server crash due to MaxBytesReader header race

For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.

Thanks to Jakub Ciolek (https://ciolek.dev) for reporting this issue.

This is CVE-2026-97054 and Go issue https://go.dev/issue/82563.

Note that our security guidance includes not running OPA with its interfaces exposed to adversarial actors, like the public internet. This is fixed regardless, if only to avoid too many spurious vulnerability checker reports.

Also note that if you build your OPA binaries yourself, this patch release does not apply to you, as you control the version of Go that's used. This patch release affects the published binaries and docker images of OPA.

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

Bundles are rooted at their .manifest file (#9459)

Breaking change: OPA now treats the directory containing a bundle's .manifest file as the bundle root, as the bundle documentation describes. Previously, the root depended on the path a bundle was loaded from, which made bundle contents, data placement, and signatures depend on how a path was typed.

  • Bundle directories (opa build -b, opa run -b, opa eval -b, opa sign --bundle, ...) are rooted at the directory containing .manifest, even when it is nested below the provided path. Files above it are not part of the bundle. opa build and opa sign warn about policy and data files they leave out, but other commands do not, so keep other .manifest files (e.g., test fixtures) out of directories loaded as bundles.
  • Bundle tarballs loaded from disk must have .manifest at the root of the archive. opa build always writes it there.
  • Signatures: file names in .signatures.json are relative to the bundle root, with / separators on every platform. Bundles signed by opa sign <dir> or opa build -b <dir> with older OPA versions must be re-signed, and --exclude-files-verify patterns may need updating.
  • opa build with multiple bundles places each bundle's files under the path it was given with -b, with a new .manifest at the root. Leading .. segments are replaced with the name of the directory they refer to. Merging fails when two bundles would be placed under the same path. opa sign with multiple bundle paths names files under each bundle's path, like opa build does when merging. A merged opa build output has its own new .manifest, so signatures from multiple separate source bundles cannot be used to verify a merged build.
  • opa build -t plan and -t wasm replace any plan, or wasm resolvers that were carried in from the input bundles.
  • .manifest, .signatures.json, and patch.json must be at the bundle root, and only files named exactly .manifest are treated as manifests.

For example, consider this tarball, built without opa build:

$ tar tzf bundle.tar.gz
bundle/.manifest
bundle/data.json
bundle/authz.rego

Previously, opa run -b bundle.tar.gz loaded it with bundle/data.json placed under data.bundle. It is now rejected because .manifest is not at the root of the archive. Running opa build -b bundle/ on the extracted directory produces a bundle rooted at bundle/, with data.json placed at the root of data.

To avoid breaking existing deployments, bundles that the bundle plugin downloads over HTTP or from an OCI registry (and their persisted copies) are still loaded as before, and OPA logs a warning each time a bundle with a misplaced .manifest, .signatures.json, or patch.json is loaded. These bundles will fail to load in a future OPA release. Rebuild them with opa build to place the manifest at the root.

... (truncated)

Commits

Updates google.golang.org/api from 0.312.0 to 0.313.0

Release notes

Sourced from google.golang.org/api's releases.

v0.313.0

0.313.0 (2026-11-11)

Features

Changelog

Sourced from google.golang.org/api's changelog.

0.313.0 (2026-11-11)

Features

Commits

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


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-dependencies group with 3 updates: [github.com/klauspost/compress](https://github.com/klauspost/compress), [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client).


Updates `github.com/klauspost/compress` from 1.20.3 to 1.20.4
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](klauspost/compress@v1.20.3...v1.20.4)

Updates `github.com/open-policy-agent/opa` from 1.22.3 to 1.22.4
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v1.22.3...v1.22.4)

Updates `google.golang.org/api` from 0.312.0 to 0.313.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.312.0...v0.313.0)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.20.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.22.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: google.golang.org/api
  dependency-version: 0.313.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 13, 2026
@github-actions github-actions Bot removed the go Pull requests that update go code label Nov 13, 2026
@claude

claude Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @dependabot[bot]'s task in 34s —— View job


Dependency review: patch/minor bumps, low risk ✅

No builder-image.md was present, so this review covers only the Go module changes in go.mod and go.sum.

Module Change Used in Risk
github.com/klauspost/compress 1.20.3 → 1.20.4 (patch) internal/intoto/github.go (snappy.DecodedLen / snappy.Decode) Low
github.com/open-policy-agent/opa 1.22.3 → 1.22.4 (patch) internal/evaluate/rego.go (v1/ast, v1/rego, v1/storage/inmem) Very low
google.golang.org/api 0.312.0 → 0.313.0 (minor) internal/gke/gke.go, internal/cloudrun/cloudrun.go (iterator only) Very low

Notes

klauspost/compress

  • The release is bug fixes and performance work in zstd, flate, gzip, zip, s2 and gzhttp. None of it is listed as a breaking API change.
  • Kosli uses only the snappy package, to decode GitHub attestation bundles in downloadBundle (internal/intoto/github.go:218-229). The s2 fixes ("don't read past src when converting LZ4", "verify CRC after Skip", "keep ErrCorrupt") cover streaming and LZ4 paths that the block-level snappy.Decode call doesn't use.
  • The code still checks DecodedLen against maxBytes before it decodes, so the allocation limit is unchanged.

OPA

  • 1.22.4 changes only the Go toolchain used to build OPA's published binaries (fix for CVE-2026-97054 in net/http). The library code is unchanged.
  • The changelog's "bundles are rooted at their .manifest" breaking change is under Unreleased, so this bump doesn't include it. When it ships, it won't affect the CLI: internal/evaluate/rego.go evaluates policy text through rego/ast with in-memory storage and doesn't load OPA bundles.

google.golang.org/api

  • This release only regenerates the discovery clients. The CLI imports only the stable iterator package.

Suggested checks

  • Let CI's build and integration tests run as usual. internal/intoto (snappy decode) and internal/evaluate (Rego) are the packages to watch.
  • I couldn't run go build or tests in this job because the commands needed approval. The review comes from the diff, the release notes and a search of where each module is used.
  • I posted this through the Claude comment instead of gh pr comment --edit-last because writing the comment body to a temp file needed a permission this job doesn't have.

No blocking concerns. Fine to merge once CI is green.

@github-actions github-actions Bot added the chore label Nov 13, 2026
@mbevc1
mbevc1 enabled auto-merge (squash) November 13, 2026 16:06
@mbevc1
mbevc1 merged commit 95ce87f into main Nov 13, 2026
13 checks passed
@mbevc1
mbevc1 deleted the dependabot/go_modules/go-dependencies-f2811523d7 branch November 13, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant