VDB
KO
LOW 3.9

GHSA-3787-6prv-h9w3

Undici proxy-authorization header not cleared on cross-origin redirect in fetch

Details

### Impact

Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Proxy-Authorization` headers.

### Patches

This is patched in v5.28.3 and v6.6.1

### Workarounds

There are no known workarounds.

### References

- https://fetch.spec.whatwg.org/#authentication-entries - https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / undici
Introduced in: 0 Fixed in: 5.28.3
Fix npm install undici@5.28.3
npm / undici
Introduced in: 6.0.0 Fixed in: 6.6.1
Fix npm install undici@6.6.1

References