Skip to content
Heist/ feed
Back to feed
Medium

Proxy-Authorization header kept across hosts in follow-redirects

Type: advisorySources: OSV

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-28849
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:10 UTC · Revision 1

Source evidence

Proxy-Authorization header kept across hosts in follow-redirects

core-osv · Original source

Published 14 Mar 2024, 17:07 UTC

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:CVE-2024-28849
Complete source record
{
  "id": "e7c5630850a44e12a514b89707893347e9794fb8013d6999d08b4ebd09812255",
  "url": "https://osv.dev/vulnerability/CVE-2024-28849",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Proxy-Authorization header kept across hosts in follow-redirects",
    "summary": "follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:CVE-2024-28849",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-28849",
      "aliases": [
        "CVE-2024-28849",
        "GHSA-cxjh-pqwp-8mfp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/follow-redirects/follow-redirects",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "35a517c5861d79dc8bff7db8626013d20b711b06"
                },
                {
                  "fixed": "c4f847f85176991f95ab9c88af63b1294de8649b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:follow-redirects_project:follow-redirects:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.15.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c4f847f85176991f95ab9c88af63b1294de8649b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.15.5",
            "v1.15.4",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.9",
            "v1.14.8",
            "v1.14.7",
            "v1.14.6",
            "v1.14.5",
            "v1.14.4",
            "v1.14.3",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.3",
            "v1.13.2",
            "v1.13.1",
            "v1.13.0",
            "v1.12.1",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.1",
            "v1.9.0",
            "v1.8.1",
            "v1.8.0",
            "v1.7.0",
            "v1.6.1",
            "v1.6.0",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0",
            "v0.0.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28849.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.775998923Z",
      "provider": "osv",
      "references": [
        "https://fetch.spec.whatwg.org/#authentication-entries",
        "https://hackerone.com/reports/2390009",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOIF4EPQUCKDBEVTGRQDZ3CGTYQHPO7Z/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28849.json",
        "https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-28849",
        "https://github.com/psf/requests/issues/1885",
        "https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28849.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-28849",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493272,
  "published_at": "2024-03-14T17:07:27.338+00:00"
}