{"schemaVersion":3,"id":"CVE-2025-22149","aliases":["GHSA-675f-rq2r-jw82","GO-2025-3376"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2025-01-09T17:22:59.757Z","modified":"2025-05-23T19:56:35.937Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.1,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00555,"percentile":0.4552,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.0040000000000000105,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00559},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00555,"percentile":0.4552}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00555,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00555,"percentile":0.4552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release","description":"The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/672.html"}],"affected":[{"vendor":"github.com/MicahParks","product":"jwkset","name":"github.com/MicahParks/jwkset","label":"jwkset","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/MicahParks/jwkset","purlType":"golang","versions":[{"text":"≥ 0.5.0, < 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.5.0, < 0.6.0","eol":null,"hubHref":null},{"vendor":"micahparks","product":"jwkset","name":"jwkset","label":"jwkset","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.5.0, < 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.5.0, < 0.6.0","eol":null,"hubHref":"/vendor/micahparks/jwkset"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MicahParks/jwkset/security/advisories/GHSA-675f-rq2r-jw82","label":"github.com/MicahParks/jwkset/security/advisories/GHSA-675f-rq2r-jw82","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/MicahParks/jwkset/issues/40","label":"github.com/MicahParks/jwkset/issues/40","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://github.com/MicahParks/jwkset/commit/01db49a90f7f20c7fb39a699a2f19a7a5f379ed3","label":"github.com/MicahParks/jwkset/commit/01db49a90f7f20c7fb39a699a2f19a7a5f379ed3","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-22149-detect-jwkset-vulnerability-in-go-projects-1","label":"www.vicarius.io/vsociety/posts/cve-2025-22149-detect-jwkset-vulnerability-in-go-projects-1","hostname":"www.vicarius.io","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-22149-mitigate-jwkset-vulnerability-in-go-projects","label":"www.vicarius.io/vsociety/posts/cve-2025-22149-mitigate-jwkset-vulnerability-in-go-projects","hostname":"www.vicarius.io","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22149","label":"nvd.nist.gov/vuln/detail/CVE-2025-22149","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/MicahParks/jwkset/pull/41","label":"github.com/MicahParks/jwkset/pull/41","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/MicahParks/jwkset","label":"github.com/MicahParks/jwkset","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14644-1","SUSE-SU-2025:0297-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:14644-1","SUSE-SU-2025:0297-1"]},"timeline":[{"kind":"published","date":"2025-01-09T17:22:59.757Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-23T19:56:35.937Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T09:35:56.822Z","stale":false,"partial":false}}