{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22149","id":"CVE-2025-22149","title":"JWK Set's HTTP client only overwrites and appends JWK to local cache during refresh","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 equi","descriptionLong":"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).","published":"2025-01-09T17:22:59.757Z","updated":"2026-10-28T02:31:04.301948193Z","reserved":"2024-12-30T03:00:33.654Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.1,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.1,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.1,"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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"low","source":"GitHub"}],"rating":"low","products":["MicahParks jwkset"],"affectedProducts":[{"vendor":"MicahParks","product":"jwkset","defaultStatus":null,"versions":[{"version":">= 0.5.0, < 0.6.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/MicahParks/jwkset","purl":"pkg:golang/github.com/MicahParks/jwkset","ranges":[">=0.5.0 <0.6.0"],"fixed":["0.6.0"],"advisory":"GHSA-675f-rq2r-jw82"}],"cwes":["CWE-672"],"aliases":["GHSA-675f-rq2r-jw82","GO-2025-3376"],"references":[{"url":"https://github.com/MicahParks/jwkset/security/advisories/GHSA-675f-rq2r-jw82","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/MicahParks/jwkset/issues/40","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/MicahParks/jwkset/commit/01db49a90f7f20c7fb39a699a2f19a7a5f379ed3","tags":["x_refsource_MISC","fix","web"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-22149-detect-jwkset-vulnerability-in-go-projects-1","tags":["web"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-22149-mitigate-jwkset-vulnerability-in-go-projects","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22149.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22149","tags":["advisory"]},{"url":"https://github.com/MicahParks/jwkset/pull/41","tags":["web","fix"]},{"url":"https://github.com/MicahParks/jwkset","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00756,"epssPercentile":0.55943,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22149","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22149","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22149","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-675f-rq2r-jw82","ok":true,"note":"GHSA-675f-rq2r-jw82"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22149","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}