asyncssh@2.21.0

AsyncSSH: Asynchronous SSHv2 client and server library

  • latest version

    2.23.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    23 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the asyncssh 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

    Affected versions of this package are vulnerable to Directory Traversal via the AuthorizedKeysFile %u token. An attacker can gain unauthorized SSH authentication by supplying a specially crafted username containing path traversal sequences, allowing the server to read an attacker-controlled authorized-keys file outside the intended directory.

    Note: This is only exploitable if all the following are true:

    1. The server is configured with an AuthorizedKeysFile pattern containing %u.

    2. Public-key authentication is enabled.

    3. The attacker can place or reference a readable authorized-keys-format file outside the intended directory.

    4. The application does not separately reject usernames containing /, \, or .. before use.

    How to fix Directory Traversal?

    Upgrade asyncssh to version 2.23.0 or higher.

    [,2.23.0)