{"id":"GHSA-mp85-7mrq-r866","revision":"438efc03c5b34566a8090b864fcb8126","records":[{"revision":"438efc03c5b34566a8090b864fcb8126","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-mp85-7mrq-r866","aliases":["BIT-envoy-2025-64527","CVE-2025-64527"],"title":"Envoy crashes when JWT authentication is configured with the remote JWKS fetching","description":"### Summary\nEnvoy crashes when JWT authentication is configured with the remote JWKS fetching, `allow_missing_or_failed` is enabled, multiple JWT tokens are present in the request headers and the JWKS fetch fails.\n\n### Details\nThis is caused by a re-entry bug in the `JwksFetcherImpl`. When the first token's JWKS fetch fails, `onJwksError()` callback triggers processing of the second token, which calls fetch() again on the same fetcher object.\n\nThe original callback's reset() then clears the second fetch's state (`receiver_ and request_`) which causes a crash when the async HTTP response arrives.\n\n### PoC\n* `allow_missing_or_failed` or `allow_missing` is enabled\n* The client send 2 Authorization headers\n* the remote JWKS fetching failed\n* There will be crash\n\n### Impact\nDoS and Crash\n\n### Mitigation\n* Disable the `allow_missing_or_failed` or `allow_missing`","state":0,"publishedAt":"2025-12-05T18:12:39+00:00","modifiedAt":"2025-12-06T12:29:15.337458+00:00","affected":[{"ecosystem":"Go","name":"github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.36.0"},{"kind":"fixed","version":"1.36.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.35.0"},{"kind":"fixed","version":"1.35.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.34.0"},{"kind":"fixed","version":"1.34.11"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.33.13"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866","https://nvd.nist.gov/vuln/detail/CVE-2025-64527","https://github.com/envoyproxy/envoy"],"sourceUrl":"https://github.com/advisories/GHSA-mp85-7mrq-r866","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mp85-7mrq-r866","identifiers":["GHSA-mp85-7mrq-r866","BIT-envoy-2025-64527","CVE-2025-64527"]},"retained":false,"historicalAffected":[]}],"coverage":[]}