pdm@0.0.6

A modern Python package and dependency manager supporting the latest PEP standards

  • latest version

    2.29.2

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pdm 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
    Arbitrary Code Injection

    pdm is an A modern Python package and dependency manager supporting the latest PEP standards

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the load_plugins process. An attacker can execute arbitrary code with the privileges of the user running the application by placing malicious .pth files in the project plugin directory, which are processed and executed before normal command-line interface handling begins.

    How to fix Arbitrary Code Injection?

    Upgrade pdm to version 2.27.0 or higher.

    [,2.27.0)
    • H
    Directory Traversal

    pdm is an A modern Python package and dependency manager supporting the latest PEP standards

    Affected versions of this package are vulnerable to Directory Traversal in the write_to_fs function. An attacker can write arbitrary files to the filesystem by crafting a malicious wheel file containing traversal entries.

    How to fix Directory Traversal?

    Upgrade pdm to version 2.27.0 or higher.

    [,2.27.0)
    • M
    UNIX Symbolic Link (Symlink) Following

    pdm is an A modern Python package and dependency manager supporting the latest PEP standards

    Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the Config.__init__. An attacker can overwrite arbitrary files outside the repository root by placing symlinks in project-local configuration paths and tricking a user into running local operations that write to these paths.

    Note: This is only exploitable if the target file already exists and, for the pdm.toml sink, contains parseable TOML.

    How to fix UNIX Symbolic Link (Symlink) Following?

    Upgrade pdm to version 2.27.0 or higher.

    [,2.27.0)
    • H
    Improper Input Validation

    pdm is an A modern Python package and dependency manager supporting the latest PEP standards

    Affected versions of this package are vulnerable to Improper Input Validation through the pdm.lock file. An attacker can manipulate the dependency management system to install malicious packages by crafting a malicious pdm.lock file. This can lead to arbitrary code execution on install or downgrade attacks by only changing the version.

    This is only exploitable if the version is parseable as a version and the filename is a prefix of the project name.

    How to fix Improper Input Validation?

    Upgrade pdm to version 2.10.0 or higher.

    [,2.10.0)