Skip to content
OpenAdvisories
Medium · 6.3 CVE-2020-11021 EUVD-2020-0377GHSA-9w6v-m7wp-jwg4

HTTP request which redirect to another hostname do not strip authorization header in Actions Http-Client

Published Apr 29, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
actions http-client < 1.0.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @actions/http-client < 1.0.8 1.0.8 GHSA-9w6v-m7wp-jwg4

References