Live threats

All CVEs / Http-client Project

CVE-2020-11021Http-client Project Http-client

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Apr 29, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Http-client.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @actions/http-client < 1.0.8 1.0.8 npm install @actions/http-client@1.0.8

Per OSV / GitHub Advisories (GHSA-9w6v-m7wp-jwg4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
http-client_projecthttp-client< 1.0.8

Official sources

References

Links published by the sources. Open them with care.