Skip to content

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

HighCVSS 7.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
actions @actions/http-client(npm) < 1.0.8 1.0.8 Fixed
http-client project http-client < 1.0.8 1.0.8 Fixed
actions @actions/http-client = < 1.0.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
actions @actions/http-client(npm) < 1.0.8 1.0.8
http-client project http-client < 1.0.8 1.0.8
actions @actions/http-client = < 1.0.8 No fix listed

References