Information Disclosure Affecting @actions/http-client package, versions <1.0.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.43% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Disclosure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ACTIONSHTTPCLIENT-567876
  • published29 Apr 2020
  • disclosed29 Apr 2020
  • creditUnknown

Introduced: 29 Apr 2020

CVE-2020-11021  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade @actions/http-client to version 1.0.8 or higher.

Overview

@actions/http-client is an actions-http-client.

Affected versions of this package are vulnerable to Information Disclosure. Actions Http-Client 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.

CVSS Base Scores

version 3.1