Vulnerability · Published Apr 29, 2020 · Assigned by GitHub_M
CVE-2020-11021HTTP request which redirect to another hostname do not strip authorization header in Actions Http-Client
Medium 6.3
In plain English
A medium-severity information exposure in http-client from actions. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @actions/http-client | 1.0.8 | GHSA-9w6v-m7wp-jwg4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| actions | http-client | < 1.0.8 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4 x_refsource_CONFIRM
- https://github.com/actions/http-client/pull/27 x_refsource_MISC
- https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a x_refsource_MISC