GHSA-m4v8-wqvr-p9f7

Suggest an improvement
Source
https://github.com/advisories/GHSA-m4v8-wqvr-p9f7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-m4v8-wqvr-p9f7/GHSA-m4v8-wqvr-p9f7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m4v8-wqvr-p9f7
Aliases
Published
2024-04-04T14:20:39Z
Modified
2024-04-20T00:31:52Z
Severity
  • 3.9 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline
Details

Impact

Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request().

Patches

This has been patched in https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75. Fixes has been released in v5.28.4 and v6.11.1.

Workarounds

use fetch() or disable maxRedirections.

References

Linzi Shang reported this.

  • https://hackerone.com/reports/2408074
  • https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
References

Affected packages

npm / undici

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.28.4

npm / undici

Package

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.11.1