VDB
Sign up
LOW3.9

GHSA-3787-6prv-h9w3

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

Quick fix

GHSA-3787-6prv-h9w3 — undici: upgrade to the fixed version with the command below.

npm install undici@5.28.3

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: 0Fixed in: 5.28.3
Fixnpm install undici@5.28.3
npm/undici
Introduced in: 6.0.0Fixed in: 6.6.1
Fixnpm install undici@6.6.1

References