Description
Actions Http-Client (NPM @actions/http-client) before version 1.0.8 can disclose Authorization headers to incorrect domain in certain redirect scenarios. The conditions in which this happens are if consumers of the http-client: 1. make an http request with an authorization header 2. that request leads to a redirect (302) and 3. the redirect url redirects to another domain or hostname Then the authorization header will get passed to the other domain. The problem is fixed in version 1.0.8.
Remediation
References
https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a
https://github.com/actions/http-client/pull/27
https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4
Related Vulnerabilities
CVE-2021-41189 Vulnerability in maven package org.dspace:dspace-api
CVE-2022-25167 Vulnerability in maven package org.apache.flume.flume-ng-sources:flume-jms-source
CVE-2022-35949 Vulnerability in maven package org.webjars.npm:undici
CVE-2022-25898 Vulnerability in maven package org.webjars.bowergithub.kjur:jsrsasign
CVE-2014-7191 Vulnerability in maven package org.webjars.npm:qs