CVE-2020-11021
HIGH 7.5CVSS 3.1Http request which redirect to another hostname do not strip authorization header in @actions/http-client
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.
- Published
- 29 Apr 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-9w6v-m7wp-jwg4
- Sources
- NVDJSONOSV GHSA-9w6v-m7wp-jwg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | http-client_project | http-clientcpe:2.3:a:http-client_project:http-client:*:*:*:*:*:node.js:*:* |
< 1.0.8 | 1.0.8 |
| OSV | npm | @actions/http-client | < 1.0.8 | 1.0.8 |
References
- https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a · Patch, Third Party Advisory, WEB
- https://github.com/actions/http-client/pull/27 · Patch, Third Party Advisory, WEB
- https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-11021 · ADVISORY
- https://github.com/actions/http-client · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 29 Apr 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Apr 2020)