litdb@2.0.0 vulnerabilities

A literature database tool with GPT integration.

  • latest version

    2.2.1

  • latest non vulnerable version

  • first published

    10 months ago

  • latest version published

    4 days ago

  • licenses detected

    • [2.0.0,2.1.7)
  • Direct Vulnerabilities

    Known vulnerabilities in the litdb 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
    • C
    Eval Injection

    litdb is an A literature database tool with GPT integration.

    Affected versions of this package are vulnerable to Eval Injection via the parse_schema_dsl function in the extract.py file, which unsafely uses the eval() function. This allows an attacker to execute arbitrary Python code on the server by injecting a malicious Python expression into the user-controlled default_str parameter.

    How to fix Eval Injection?

    Upgrade litdb to version 2.1.9 or higher.

    [,2.1.9)