apm-cli@0.12.1

MCP configuration tool

  • latest version

    0.19.0

  • latest non vulnerable version

  • first published

    9 months ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apm-cli 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
    External Control of File Name or Path

    apm-cli is a MCP configuration tool

    Affected versions of this package are vulnerable to External Control of File Name or Path through the tar.extractall function in legacy-bundle probing on Windows systems running Python versions earlier than 3.12. An attacker can overwrite arbitrary files outside the intended extraction directory by supplying a crafted .tar.gz archive containing Windows absolute paths as member names and inducing a user to execute the install command with this archive.

    Note: This is only exploitable if the victim is running on Windows with Python 3.10 or 3.11 and executes the install command on a maliciously crafted local bundle.

    How to fix External Control of File Name or Path?

    Upgrade apm-cli to version 0.13.0 or higher.

    [,0.13.0)
    • M
    Symlink Attack

    apm-cli is a MCP configuration tool

    Affected versions of this package are vulnerable to Symlink Attack during the integration when symbolic links under certain directories are dereferenced and their target file contents are copied into project deployment directories. An attacker can access sensitive files from the host system by crafting a malicious package that includes symlinks pointing to arbitrary files, which are then read and written into the project during installation.

    How to fix Symlink Attack?

    Upgrade apm-cli to version 0.13.0 or higher.

    [0.5.4,0.13.0)