Skip to content

chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1#438

Merged
TylerGillson merged 2 commits intomainfrom
dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1
Nov 22, 2024
Merged

chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1#438
TylerGillson merged 2 commits intomainfrom
dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1.

Release notes

Sourced from github.com/golang-jwt/jwt/v4's releases.

v4.5.1

Security

Unclear documentation of the error behavior in ParseWithClaims in <= 4.5.0 could lead to situation where users are potentially not checking errors in the way they should be. Especially, if a token is both expired and invalid, the errors returned by ParseWithClaims return both error codes. If users only check for the jwt.ErrTokenExpired using error.Is, they will ignore the embedded jwt.ErrTokenSignatureInvalid and thus potentially accept invalid tokens.

This issue was documented in GHSA-29wx-vh33-7x7r and fixed in this release.

Note: v5 was not affected by this issue. So upgrading to this release version is also recommended.

What's Changed

  • Back-ported error-handling logic in ParseWithClaims from v5 branch. This fixes GHSA-29wx-vh33-7x7r.

Full Changelog: golang-jwt/jwt@v4.5.0...v4.5.1

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot requested a review from a team as a code owner November 4, 2024 23:36
@dependabot dependabot bot requested a review from mattwelke November 4, 2024 23:36
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 4, 2024
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](golang-jwt/jwt@v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1 branch from b7ee377 to 78ab727 Compare November 22, 2024 18:23
@TylerGillson TylerGillson merged commit b69e66f into main Nov 22, 2024
@TylerGillson TylerGillson deleted the dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1 branch November 22, 2024 19:08
@codecov
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@@            Coverage Diff             @@
##             main     #438      +/-   ##
==========================================
+ Coverage   52.77%   53.12%   +0.34%     
==========================================
  Files          24       24              
  Lines        1440     1440              
==========================================
+ Hits          760      765       +5     
+ Misses        611      607       -4     
+ Partials       69       68       -1     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb388ca...37e10e0. Read the comment docs.


🚨 Try these New Features:

TylerGillson added a commit that referenced this pull request Nov 22, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.13](v0.1.12...v0.1.13)
(2024-11-22)


### Features

* frequency annotation helper
([#422](#422))
([b2ca83f](b2ca83f))


### Other

* **deps:** bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
([#438](#438))
([b69e66f](b69e66f))
* update renovate.json
([96c3ea7](96c3ea7))
* Update renovate.json
([#436](#436))
([d720806](d720806))


### Dependency Updates

* **deps:** update actions/checkout digest to 11bd719
([#430](#430))
([dcc37af](dcc37af))
* **deps:** update actions/checkout digest to eef6144
([#426](#426))
([ae9976f](ae9976f))
* **deps:** update all non-major dependencies
([#437](#437))
([8a2fb74](8a2fb74))
* **deps:** update golang.org/x/exp digest to 2d47ceb
([#439](#439))
([4f2ffdf](4f2ffdf))
* **deps:** update golang.org/x/exp digest to f66d83c
([#425](#425))
([edf709b](edf709b))
* **deps:** update kubernetes packages to v0.31.1
([#388](#388))
([5459610](5459610))
* **deps:** update kubernetes packages to v0.31.2
([#431](#431))
([16f3c2a](16f3c2a))
* **deps:** update module
buf.build/gen/go/spectrocloud/spectro-cleanup/connectrpc/go to
v1.17.0-20240205164452-95dfd137cb54.1
([#421](#421))
([274ba08](274ba08))
* **deps:** update module
buf.build/gen/go/spectrocloud/spectro-cleanup/protocolbuffers/go to
v1.35.1-20240205164452-95dfd137cb54.1
([#428](#428))
([728bbf1](728bbf1))
* **deps:** update module connectrpc.com/connect to v1.17.0
([#420](#420))
([1425343](1425343))
* **deps:** update module github.com/onsi/ginkgo/v2 to v2.21.0
([#433](#433))
([d2dbcf0](d2dbcf0))
* **deps:** update module github.com/onsi/gomega to v1.35.0
([#434](#434))
([274b277](274b277))
* **deps:** update module github.com/slack-go/slack to v0.15.0
([#429](#429))
([2ce3b4b](2ce3b4b))
* **deps:** update module github.com/validator-labs/validator-plugin-oci
to v0.3.3
([#396](#396))
([011d5bd](011d5bd))
* **deps:** update module sigs.k8s.io/cluster-api to v1.8.3
([#418](#418))
([735df90](735df90))
* **deps:** update module sigs.k8s.io/cluster-api to v1.8.4
([#427](#427))
([67fbcfc](67fbcfc))
* **deps:** update module sigs.k8s.io/controller-runtime to v0.19.0
([#392](#392))
([1c87bd3](1c87bd3))
* **deps:** update module sigs.k8s.io/controller-runtime to v0.19.1
([#432](#432))
([7b2f95a](7b2f95a))
* **deps:** update softprops/action-gh-release digest to e7a8f85
([#435](#435))
([cb388ca](cb388ca))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant