Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-11021

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-11021
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:46 UTC · Revision 1

Source evidence

CVE-2020-11021

core-osv · Original source

Published 29 Apr 2020, 18:15 UTC

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.

osv:CVE-2020-11021
Complete source record
{
  "id": "0322742ee07df909365c3787a179dd7b0ed6c80d8b924fcca7b306448cb0b9df",
  "url": "https://osv.dev/vulnerability/CVE-2020-11021",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-11021",
    "summary": "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.",
    "evidence": "osv:CVE-2020-11021",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-11021",
      "aliases": [
        "CVE-2020-11021",
        "GHSA-9w6v-m7wp-jwg4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/actions/http-client",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f6aae3dda4f4c9dc0b49737b36007330f78fd53a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "f6aae3dda4f4c9dc0b49737b36007330f78fd53a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11021.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:40.688413164Z",
      "provider": "osv",
      "references": [
        "https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4",
        "https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a",
        "https://github.com/actions/http-client/pull/27"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:http-client_project:http-client:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "http-client_project:http-client",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.8"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.8"
                  },
                  {
                    "fixed": "1.0.8"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-11021",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382750,
  "published_at": "2020-04-29T18:15:13.423+00:00"
}