Skip to content
OpenAdvisories
Low · 2.1 CVE-2025-22149 EUVD-2025-0011GHSA-675f-rq2r-jw82GO-2025-3376

JWK Set's HTTP client only overwrites and appends JWK to local cache during refresh

Published Jan 9, 2025 · Updated May 23, 2025 · Assigned by GitHub_M

Description

JWK Set (JSON Web Key Set) is a JWK and JWK Set Go implementation. Prior to 0.6.0, the project's provided HTTP client's local JWK Set cache should do a full replacement when the goroutine refreshes the remote JWK Set. The current behavior is to overwrite or append. This is a security issue for use cases that utilize the provided auto-caching HTTP client and where key removal from a JWK Set is equivalent to revocation. The affected auto-caching HTTP client was added in version v0.5.0 and fixed in v0.6.0. The only workaround would be to remove the provided auto-caching HTTP client and replace it with a custom implementation. This involves setting the HTTPClientStorageOptions.RefreshInterval to zero (or not specifying the value).

Affected products

VendorProductAffectedFixed
MicahParks jwkset >= 0.5.0, < 0.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250109T194159-1.1 openSUSE-SU-2025:14644-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/MicahParks/jwkset >= 0.5.0, < 0.6.0 0.6.0 GHSA-675f-rq2r-jw82

Advisories 2

References