Skip to content

fix(deps): update github (patch)#208

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/patch-github
Open

fix(deps): update github (patch)#208
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/patch-github

Conversation

@renovate

@renovate renovate Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/ThreeDotsLabs/watermill v1.5.1v1.5.2 age confidence
github.com/ThreeDotsLabs/watermill-sql/v4 v4.1.3v4.1.5 age confidence
github.com/go-playground/validator/v10 v10.30.2v10.30.3 age confidence
github.com/meilisearch/meilisearch-go v0.36.2v0.36.3 age confidence
github.com/oapi-codegen/runtime v1.4.1v1.4.2 age confidence
github.com/pressly/goose/v3 v3.27.1v3.27.2 age confidence
github.com/samber/slog-gin v1.21.0v1.21.1 age confidence
go:github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen 2.7.02.7.2 age confidence

Release Notes

ThreeDotsLabs/watermill (github.com/ThreeDotsLabs/watermill)

v1.5.2

Compare Source

What's Changed

New Contributors

Full Changelog: ThreeDotsLabs/watermill@v1.5.1...v1.5.2

ThreeDotsLabs/watermill-sql (github.com/ThreeDotsLabs/watermill-sql/v4)

v4.1.5

Compare Source

What's Changed

New Contributors

Full Changelog: ThreeDotsLabs/watermill-sql@v4.1.4...v4.1.5

v4.1.4

Compare Source

What's Changed

New Contributors

Full Changelog: ThreeDotsLabs/watermill-sql@v4.1.3...v4.1.4

go-playground/validator (github.com/go-playground/validator/v10)

v10.30.3

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.30.2...v10.30.3

meilisearch/meilisearch-go (github.com/meilisearch/meilisearch-go)

v0.36.3: 🐹

Compare Source

🚀 Enhancements

🐛 Bug Fixes

Thanks again to @​ElyarSadig, @​ja7ad and @​mvanhorn! 🎉

oapi-codegen/runtime (github.com/oapi-codegen/runtime)

v1.4.2: Bug fix for required parameters

Compare Source

This is a bug fix to address a regression introduced in oapi-codegen v2.7.0

🐛 Bug fixes

Sponsors

We would like to thank our sponsors for their support during this release.

DevZero logo

Cybozu logo

pressly/goose (github.com/pressly/goose/v3)

v3.27.2

Compare Source

Changed
  • Upgrade golang.org/x/crypto and golang.org/x/net to address security advisories (CVE fixes)
  • Various dependency upgrades
samber/slog-gin (github.com/samber/slog-gin)

v1.21.1

Compare Source

  • Fix Filter suffix operations
  • Optimize Filter performance

Other

  • chore(deps): bump go.opentelemetry.io/otel/trace from 1.29.0 to 1.42.0 by @​dependabot[bot] in #​81
  • Revert "chore(deps): bump go.opentelemetry.io/otel/trace from 1.29.0 to 1.42.0" by @​samber in #​83
  • chore(deps): bump codecov/codecov-action from 5 to 6 by @​dependabot[bot] in #​82

Full Changelog: samber/slog-gin@v1.21.0...v1.21.1

oapi-codegen/oapi-codegen (go:github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen)

v2.7.2: More fixes for code injection issues

Compare Source

String escaping fixes due to more code injection issues

We've had two more code injection issues reported in oapi-codegen, thanks @​Gal3M, @​mrostamipoor for these findings.

These specific issues are now patches in the main branch and in this v2.7.2 release.

You shouldn't blindly trust OpenAPI specs

This code wasn't originally written assuming code generation from random specs from the internet, and it never took any measures to protect itself from malicious specifications, the assumption being that you control your specification, and that you actually look over generated code.

For example, all these RCE exploits rely on using the package init() function in the generated code to run some malicious code at package startup. A way to test for this is to see whether an init() function is emitted, which we currently don't do.

When working with OpenAPI specifications, especially specs you find on remote servers, you should download the spec locally, run some kind of spec validator on it, like openapi-spec-validator, and only then feed it into oapi-codegen. We're very permissive in accepting broken specifications, intentionally, since people feed a lot of garbage input, but this flexibility also makes us weak to these kinds of attacks. There are hundreds of injection sites in oapi-codegen based on my survey.

For the next minor release, v2.8.0, we're going to validate the spec before code generation (#​2435), however, since this introduces a new set of failure modes, I don't want to include it in a maintenance release version. The future release is resilient against many forms of injection, and the spec validation has the added benefit that it can generate meaningful error messages for garbage input, where currently, we generate non-compiling code.

Until then, please do sanity checks on your input specifications, on the generated output, and don't fetch specs from the internet in your build, commit both the spec locally into your source control, and go through code review. In our repo, we've hooked up Greptile to catch issues like this, and you should also use some code quality tool. We can't possibly protect against every kind of attack with simple heuristics.

Sponsors

We would like to thank our sponsors for their support during this release.

DevZero logo

Cybozu logo

We'd also like to thank Greptile for allowing our project to use their code review system.

Greptile logo

v2.7.1: Security fix for Go code injection

Compare Source

This is a security fix for a code injection vulnerability in v2.7.0, please see:

GHSA-rjwr-m7qx-3fjr

[!NOTE]
A vulnerability like this requires that it is missed in code review and that you then call the malicious method.

Using an init() function could be enough to not require a direct call to the code, and instead rely on you importing the package, but either way, code review should be performed before any oapi-codegen generated code is executed.

We strongly recommend all users to be reviewing changes to their generated code before they execute anything within it, to protect against supply chain attacks or malicious injected code.

This is also why we recommend oapi-codegen generated code is committed to source control.

We're more strict about escaping strings passed into the OpenAPI specification, so that people can't inject Go code into generated code.

The problem was that it was possible to craft a description for server URL's which would emit arbitrary Go code, so if an attacker controlled your specification, they could inject Go code into your generated code which could do something malicious.


Configuration

📅 Schedule: (in timezone Asia/Ho_Chi_Minh)

  • Branch creation
    • Between 01:00 AM and 06:59 PM, only on Sunday and Wednesday (* 1-18 * * 3,0)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/patch-github branch 3 times, most recently from 150d529 to 02408fb Compare May 12, 2026 10:43
@renovate
renovate Bot force-pushed the renovate/patch-github branch 2 times, most recently from 98277c6 to 31f51f3 Compare May 13, 2026 20:44
@renovate renovate Bot changed the title fix(deps): update module github.com/samber/slog-gin to v1.21.1 fix(deps): update github (patch) May 13, 2026
@renovate
renovate Bot force-pushed the renovate/patch-github branch from 31f51f3 to e0c97bb Compare May 14, 2026 01:01
@renovate

renovate Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 13 additional dependencies were updated

Details:

Package Change
github.com/jackc/pgx/v5 v5.9.2 -> v5.10.0
golang.org/x/sync v0.20.0 -> v0.21.0
github.com/ClickHouse/clickhouse-go/v2 v2.45.0 -> v2.46.0
github.com/go-sql-driver/mysql v1.9.3 -> v1.10.0
github.com/lib/pq v1.10.9 -> v1.12.3
github.com/microsoft/go-mssqldb v1.9.8 -> v1.10.0
go.yaml.in/yaml/v2 v2.4.3 -> v2.4.4
golang.org/x/crypto v0.50.0 -> v0.52.0
golang.org/x/net v0.53.0 -> v0.55.0
golang.org/x/sys v0.43.0 -> v0.45.0
golang.org/x/text v0.36.0 -> v0.37.0
modernc.org/libc v1.72.1 -> v1.73.4
modernc.org/sqlite v1.49.1 -> v1.53.0

@renovate
renovate Bot force-pushed the renovate/patch-github branch 2 times, most recently from 67c8db1 to 895ce71 Compare May 18, 2026 11:14
@renovate
renovate Bot force-pushed the renovate/patch-github branch from 895ce71 to a57d67c Compare June 8, 2026 04:07
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@renovate
renovate Bot force-pushed the renovate/patch-github branch from a57d67c to 314781f Compare June 20, 2026 08:02
@renovate
renovate Bot force-pushed the renovate/patch-github branch from 314781f to 9649cf0 Compare July 1, 2026 23:45
@renovate
renovate Bot force-pushed the renovate/patch-github branch from 9649cf0 to 91720c0 Compare July 19, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants