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


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    EPSS 0.16% (52nd percentile)
Expand this section
NVD
7.5 high

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 ID SNYK-JS-ACTIONSHTTPCLIENT-567876
  • published 29 Apr 2020
  • disclosed 29 Apr 2020
  • credit Unknown

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.