v5.0.2
Patch Changes
-
#159
ee018a7Thanks @trevor-scheer! - Updatehttp-cache-semanticspackage 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:
- you pass untrusted (i.e. from your users)
cache-controlrequest headers - you sending requests to untrusted REST server that might return malicious
cache-controlheaders
Since
http-cache-semanticsis 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 auditor another
dependency update which has already updated its version of the package in
question). Ifnpm ls http-cache-semanticsreveals a tree of dependencies which
only include the4.1.1version (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
- you pass untrusted (i.e. from your users)
-
#160
786c44fThanks @trevor-scheer! - Add missing@apollo/utils.withrequiredtype dependency which is part of the
public typings (via theAugmentedRequesttype). -
#154
bb0cff0Thanks @JustinSomers! - Addresses duplicate content-type header bug due to upper-cased headers being forwarded. This change instead maps all headers to lowercased headers.