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.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.8%top 21.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@actions/http-client1.0.8GHSA-9w6v-m7wp-jwg4

Affected products (as reported)

VendorProductVersions
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