safecmd@0.0.2 vulnerabilities

Call commands safely by checking them rigorously against an allow-list

  • latest version

    0.1.2

  • latest non vulnerable version

  • first published

    1 months ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the safecmd 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
    • M
    Relative Path Traversal

    safecmd is a Call commands safely by checking them rigorously against an allow-list

    Affected versions of this package are vulnerable to Relative Path Traversal via the extract_commands() function that lacks proper validation of relative paths. An unauthenticated attacker could gain access to files and directories outside the intended scope bypassing allowlist matching.

    How to fix Relative Path Traversal?

    Upgrade safecmd to version 0.1.1 or higher.

    [,0.1.1)