h3@1.15.8

Minimal H(TTP) framework built for high performance and portability.

  • latest version

    2.0.1-rc.21

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    4 days ago

  • licenses detected

    • >=0.2.0 <1.0.0; >=1.0.1
  • Direct Vulnerabilities

    Known vulnerabilities in the h3 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
    Allocation of Resources Without Limits or Throttling

    h3 is a Minimal H(TTP) framework built for high performance and portability.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the getChunkedCookieCount function. An attacker can cause the server to enter an inefficient cleanup loop by sending a crafted cookie header with a large chunk count value, resulting in excessive resource consumption and server unresponsiveness.

    Note: Chunked cookie support was included in 1.15.8 via 61b395e excluded in 1.15.9

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade h3 to version 1.15.9, 2.0.1-rc.18 or higher.

    >=1.15.8 <1.15.9>=2.0.0-beta.4 <2.0.1-rc.18
    • M
    CRLF Injection

    h3 is a Minimal H(TTP) framework built for high performance and portability.

    Affected versions of this package are vulnerable to CRLF Injection via unsanitized carriage return characters in the data and comment fields of the EventStream class. An attacker can inject arbitrary server-sent events, spoof event types, and split a single event into multiple browser-parsed events by supplying specially crafted input containing carriage return characters.

    How to fix CRLF Injection?

    Upgrade h3 to version 1.15.9, 2.0.1-rc.17 or higher.

    <1.15.9>=2.0.0-beta.0 <2.0.1-rc.17
    • H
    Directory Traversal

    h3 is a Minimal H(TTP) framework built for high performance and portability.

    Affected versions of this package are vulnerable to Directory Traversal via the serveStatic utility. An attacker can access arbitrary files from backend storage by sending specially crafted requests containing percent-encoded dot segments, which are interpreted as directory traversal sequences by URL-based backends.

    How to fix Directory Traversal?

    Upgrade h3 to version 1.15.9 or higher.

    <1.15.9