Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request().
This has been patched in https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75. Fixes has been released in v5.28.4 and v6.11.1.
use fetch() or disable maxRedirections.
Linzi Shang reported this.
{
"github_reviewed": true,
"severity": "LOW",
"nvd_published_at": "2024-04-04T16:15:08Z",
"github_reviewed_at": "2024-04-04T14:20:39Z",
"cwe_ids": [
"CWE-200",
"CWE-285",
"CWE-863"
]
}