brotlicffi@1.0.9.0 vulnerabilities

Python CFFI bindings to the Brotli library

  • latest version

    1.2.0.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    15 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    brotlicffi is a Python CFFI bindings to the Brotli library

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to missing limits on decompressed output size in the Decompressor.decompress() and Decompressor.process() methods. These methods pass attacker-controlled Brotli data into dynamically growing in-memory buffers without enforcing an output_buffer_limit, allowing highly compressible payloads to inflate into extremely large outputs. An attacker can exploit this by supplying crafted Brotli payloads that cause excessive memory consumption, leading to process termination or resource exhaustion.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade brotlicffi to version 1.2.0.0 or higher.

    [,1.2.0.0)