scitokens@0.2.2

SciToken reference implementation library

  • latest version

    1.9.7

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the scitokens 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
    Directory Traversal

    scitokens is a SciToken reference implementation library

    Affected versions of this package are vulnerable to Directory Traversal via the _check_scope and _scope_path_matches functions. An attacker can gain unauthorized access to restricted directories by including dot-dot (..) sequences in the scope claim of a token, which allows escaping the intended directory restriction during path validation.

    How to fix Directory Traversal?

    Upgrade scitokens to version 1.9.7 or higher.

    [,1.9.7)
    • C
    SQL Injection

    scitokens is a SciToken reference implementation library

    Affected versions of this package are vulnerable to SQL Injection via the KeyCache class. An attacker can execute arbitrary SQL commands against the local SQLite database by supplying crafted input to parameters such as issuer and key_id.

    How to fix SQL Injection?

    Upgrade scitokens to version 1.9.6 or higher.

    [,1.9.6)
    • H
    Improper Authorization

    scitokens is a SciToken reference implementation library

    Affected versions of this package are vulnerable to Improper Authorization via the _validate_scp and _validate_scope functions. An attacker can gain unauthorized access to sibling paths by crafting tokens with scope paths that share a common prefix.

    How to fix Improper Authorization?

    Upgrade scitokens to version 1.9.6 or higher.

    [,1.9.6)