thrift@0.8.0

node.js bindings for the Apache Thrift RPC system

  • latest version

    0.24.0

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the thrift 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

    thrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the TBufferedTransport.receiver and TFramedTransport.receiver paths in lib/nodejs/lib/thrift/buffered_transport and lib/nodejs/lib/thrift/framed_transport. An attacker can exhaust CPU and memory by sending a message or frame split into many small chunks, causing repeated buffer reallocations and copies while the transport accumulates the input. When these receivers are used by Node.js servers such as createMultiplexServer or createWebServer, a crafted stream of fragmented input can dramatically slow the service or drive it into memory pressure and denial-of-service conditions.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade thrift to version 0.24.0 or higher.

    <0.24.0
    • M
    Origin Validation Error

    thrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

    Affected versions of this package are vulnerable to Origin Validation Error in the web_server.js component. An attacker can access unauthorized files, inject malicious HTTP headers, or exhaust server resources by sending specially crafted requests.

    How to fix Origin Validation Error?

    Upgrade thrift to version 0.23.0 or higher.

    <0.23.0
    • H
    Denial of Service (DoS)

    thrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

    Affected versions of this package are vulnerable to Denial of Service (DoS). A server or client may run into an endless loop when fed with specific input data.

    Note: This issue was found to be partially fixed within version 0.11.0. As such depending on the installed version it affects only certain language bindings.

    How to fix Denial of Service (DoS)?

    Upgrade thrift to version 0.13.0-hotfix.1 or higher.

    <0.13.0-hotfix.1