Skip to content

v5.0.2

Choose a tag to compare

@github-actions github-actions released this 06 Feb 22:36
· 208 commits to main since this release
c65c14b

Patch Changes

  • #159 ee018a7 Thanks @trevor-scheer! - 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:

    • you pass untrusted (i.e. from your users) cache-control request headers
    • you sending requests to untrusted REST server that might return malicious
      cache-control headers

    Since http-cache-semantics is a careted (^) dependency in this package, the
    security issue can (and might already) be resolved via a package-lock.json
    update within your project (possibly triggered by npm audit or another
    dependency update which has already updated its version of the package in
    question). If npm ls http-cache-semantics reveals a tree of dependencies which
    only include the 4.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

  • #160 786c44f Thanks @trevor-scheer! - Add missing @apollo/utils.withrequired type dependency which is part of the
    public typings (via the AugmentedRequest type).

  • #154 bb0cff0 Thanks @JustinSomers! - Addresses duplicate content-type header bug due to upper-cased headers being forwarded. This change instead maps all headers to lowercased headers.