{"id":"GHSA-q6gh-6v2r-hjv3","aliases":["GHSA-q6gh-6v2r-hjv3"],"related":[],"kind":"vulnerability","state":"published","title":"Micronaut: DefaultHttpClient follows redirects, forwarding Authorization, Cookie, and Proxy-Authorization headers","summary":"### Impact\n\n> DefaultHttpClient follows redirects and forwards Authorization, Cookie, and Proxy-Authorization headers to redirect targets across domain boundaries. The blocklist only filters Host/Connection/TE/CT/CL.\n> Additionally, no maximum redirect count exists, enabling infinite loop DoS.\n> Affected: DefaultHttpClient.java lines 231-245, 1591, 2071\n\n> Suggested fix: Strip sensitive headers on cross-domain redirects\n\n### Patches\nIt has been patched for versions: \n\nFor Micronaut 5, versions equal or greater than 5.0.1 >=\nFor Micronaut 4, versions equal or greater than 4.10.24 >=\nFor Micronaut 3, versions equal or greater than 3.10.6 >=\n\n### Workarounds\nNo\n\n### References\nMicronaut 5 Patch: https://github.com/micronaut-projects/micronaut-core/commit/9770328999f490bdfbb9e25addd45bf73d4a173a\nMicronaut 4 Patch: https://github.com/micronaut-projects/micronaut-core/commit/70cab4b44fbf985faba2846091f2356b5bd70719\nMicronaut 3 Patch: https://github.com/micronaut-projects/micronaut-core/commit/64e539736b8168f201d868b02ace50fe14f57418","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\n> DefaultHttpClient follows redirects and forwards Authorization, Cookie, and Proxy-Authorization headers to redirect targets across domain boundaries. The blocklist only filters Host/Connection/TE/CT/CL.\n> Additionally, no maximum redirect count exists, enabling infinite loop DoS.\n> Affected: DefaultHttpClient.java lines 231-245, 1591, 2071\n\n> Suggested fix: Strip sensitive headers on cross-domain redirects\n\n### Patches\nIt has been patched for versions: \n\nFor Micronaut 5, versions equal or greater than 5.0.1 >=\nFor Micronaut 4, versions equal or greater than 4.10.24 >=\nFor Micronaut 3, versions equal or greater than 3.10.6 >=\n\n### Workarounds\nNo\n\n### References\nMicronaut 5 Patch: https://github.com/micronaut-projects/micronaut-core/commit/9770328999f490bdfbb9e25addd45bf73d4a173a\nMicronaut 4 Patch: https://github.com/micronaut-projects/micronaut-core/commit/70cab4b44fbf985faba2846091f2356b5bd70719\nMicronaut 3 Patch: https://github.com/micronaut-projects/micronaut-core/commit/64e539736b8168f201d868b02ace50fe14f57418","format":"markdown","source":"ghsa"}],"published":"2026-07-09T13:36:56.000Z","modified":"2026-09-10T03:51:11.838Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"1.2.8","status":"affected","fixed":"3.10.6"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-http-client","purl":"pkg:maven/io.micronaut/micronaut-http-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-M1","status":"affected","fixed":"4.10.24"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-http-client","purl":"pkg:maven/io.micronaut/micronaut-http-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0-M1","status":"affected","fixed":"5.0.1"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-http-client","purl":"pkg:maven/io.micronaut/micronaut-http-client","source":"ghsa"}],"references":[{"url":"https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-q6gh-6v2r-hjv3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/micronaut-projects/micronaut-core/commit/64e539736b8168f201d868b02ace50fe14f57418","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/micronaut-projects/micronaut-core/commit/70cab4b44fbf985faba2846091f2356b5bd70719","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/micronaut-projects/micronaut-core/commit/9770328999f490bdfbb9e25addd45bf73d4a173a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/micronaut-projects/micronaut-core","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6gh-6v2r-hjv3","url":"https://github.com/advisories/GHSA-q6gh-6v2r-hjv3","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:11.838Z"}],"updatedAt":"2026-11-25T22:56:28.649Z"}