Skip to content

← Public intelligence

npm package

@actions/http-client

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.3npmAmendedPublished

    Http request which redirect to another hostname do not strip authorization header in @actions/http-client

    CVE-2020-11021 · GHSA-9w6v-m7wp-jwg4

    Affected
    • npm @actions/http-client < 1.0.8
    Fixed in
    1.0.8· Vendor fix available
    Issue
    Impact 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 The authorization header will get passed to the other domain. Note that since this library is for actions, the GITHUBTOKEN 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: Open an issue in https://github.com/actions/http-client/issues

    Recommended action: Upgrade to 1.0.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →