xiaomusic@0.5.6

Play Music with xiaomi AI speaker

  • latest version

    0.6.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    25 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    xiaomusic is a Play Music with xiaomi AI speaker

    Affected versions of this package are vulnerable to Directory Traversal via the GET /music/{file_path:path} endpoint. An attacker can access arbitrary files outside the intended directory by sending specially crafted requests that exploit an incomplete path prefix check, bypassing directory restrictions due to a missing trailing separator in the comparison logic.

    How to fix Directory Traversal?

    Upgrade xiaomusic to version 0.5.8 or higher.

    [,0.5.8)