Update http-cache-semantics
package
#159
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update
http-cache-semantics
package to latest patch, resolving a security issue. Unlike many security updates Apollo repos receive, this is an actual (non-dev) dependency of this package which means it is actually a user-facing security issue.The potential impact of this issue is limited to a DOS attack (via an
inefficient regex).
This security issue would only affect you if either:
cache-control
request headerscache-control
headersSince
http-cache-semantics
is a careted (^) dependency in this package, the security issue can (and might already) be resolved via apackage-lock.json
update within your project (possibly triggered bynpm audit
or another dependency update which has already updated its version of the package in question). Ifnpm ls http-cache-semantics
reveals a tree of dependencies which only include the4.1.1
version (and no references to any previous versions) then you are currently unaffected and this patch should have (for all intents and purpose) no effect.More details available here: GHSA-rc47-6667-2j5j