Skip to content

Bump github.com/open-policy-agent/opa from 1.22.3 to 1.22.4 in /lambda - #270

Merged
skwashd merged 1 commit into
mainfrom
dependabot/go_modules/lambda/github.com/open-policy-agent/opa-1.22.4
Nov 17, 2026
Merged

skwashd merged 1 commit into
mainfrom
dependabot/go_modules/lambda/github.com/open-policy-agent/opa-1.22.4

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps 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

Dependabot compatibility score

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


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

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

Bumps [github.com/open-policy-agent/opa](https://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)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.22.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 16, 2026
@skwashd
skwashd merged commit 58abf5a into main Nov 17, 2026
2 checks passed
@skwashd
skwashd deleted the dependabot/go_modules/lambda/github.com/open-policy-agent/opa-1.22.4 branch November 17, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant