GHSA-r6ch-mqf9-qc9w

Source
https://github.com/advisories/GHSA-r6ch-mqf9-qc9w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-r6ch-mqf9-qc9w/GHSA-r6ch-mqf9-qc9w.json
Aliases
Published
2023-02-16T20:46:10Z
Modified
2023-11-08T04:11:48.635999Z
Details

Impact

The Headers.set() and Headers.append() methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the headerValueNormalize() utility function.

Patches

This vulnerability was patched in v5.19.1.

Workarounds

There is no workaround. Please update to an unaffected version.

References

  • https://hackerone.com/bugs?report_id=1784449

Credits

Carter Snook reported this vulnerability.

References

Affected packages

npm / undici

Package

Name
undici

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
5.19.1