Tóm tắt nhanh
- CVE-2020-11021 là lỗ hổng mức CAO (CVSS 7.5) ảnh hưởng http-client (http-client project), @actions/http-client.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.8%, cao hơn 78.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.0.8 hoặc mới hơn.
Mô tả
Impact
If consumers of the http-client:
- make an http request with an authorization header
- that request leads to a redirect (302) and
- the redirect url redirects to another domain or hostname
The authorization header will get passed to the other domain.
Note that since this library is for actions, the GITHUB_TOKEN that is available in actions is generated and scoped per job with these permissions.
Patches
The problem is fixed in 1.0.8 at npm here. In 1.0.8, the authorization header is stripped before making the redirected request if the hostname is different.
Workarounds
None.
References
https://github.com/actions/http-client/pull/27
For more information
If you have any questions or comments about this advisory:
Mô tả của NVD
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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí