gptcache@0.1.38

GPTCache, a powerful caching library that can be used to speed up and lower the cost of chat applications that rely on the LLM service. GPTCache works as a memcache for AIGC applications, similar to how Redis works for traditional applications.

  • latest version

    0.1.44

  • first published

    3 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the gptcache 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
    • L
    Use of Weak Hash

    gptcache is a GPTCache, a powerful caching library that can be used to speed up and lower the cost of chat applications that rely on the LLM service. GPTCache works as a memcache for AIGC applications, similar to how Redis works for traditional applications.

    Affected versions of this package are vulnerable to Use of Weak Hash in the BufferedReader.peek process. An attacker can cause unintended modification or disruption of cache key handling by manipulating the input_data["image"] argument, leading to the use of a weak hash. This is only exploitable if the attacker has local access and can supply crafted input to the cache key handler.

    How to fix Use of Weak Hash?

    There is no fixed version for gptcache.

    [0,)