PT-2020-12498 · Github Actions · @Actions/Http-Client

Bryanmacfarlane

·

Published

2020-04-29

·

Updated

2021-09-14

·

CVE-2020-11021

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions @actions/http-client versions prior to 1.0.8
Description The issue can disclose Authorization headers to incorrect domains in certain redirect scenarios. This occurs when consumers of the http-client make an HTTP request with an authorization header, the request leads to a redirect (302), and the redirect URL redirects to another domain or hostname. As a result, the authorization header will get passed to the other domain. The problem is fixed in version 1.0.8.
Recommendations For versions prior to 1.0.8, update to version 1.0.8, where the authorization header is stripped before making the redirected request if the hostname is different.

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-11021
GHSA-9W6V-M7WP-JWG4

Affected Products

@Actions/Http-Client