@microsoft/kiota-http-fetchlibrary@1.0.0-preview.101

Kiota request adapter implementation with fetch

  • latest version

    1.0.0-preview.103

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    8 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @microsoft/kiota-http-fetchlibrary package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Handling of Case Sensitivity

    @microsoft/kiota-http-fetchlibrary is an implementation using the Fetch API to make requests.

    Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity via the executeWithRedirect redirect handling in redirectHandlerOptions.ts. An attacker can capture Authorization, Cookie, or Proxy-Authorization credentials by inducing a redirect to a different host or scheme. The vulnerable header scrub deleted only headers.Authorization and headers.Cookie, so lower-cased header names were left on redirected requests and forwarded to the next origin. This exposes bearer tokens, session cookies, and proxy credentials to the redirect target, increasing the risk of account takeover or credential disclosure for clients that follow untrusted redirects.

    Notes

    • The default redirect scrub runs in the standard middleware chain, so applications that rely on the library’s built-in redirect handling are exposed without extra configuration.

    How to fix Improper Handling of Case Sensitivity?

    Upgrade @microsoft/kiota-http-fetchlibrary to version 1.0.0-preview.102 or higher.

    >=1.0.0-preview.97 <1.0.0-preview.102