com.github.junrar:junrar@7.5.7 vulnerabilities

  • latest version

    7.5.8

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    18 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.github.junrar:junrar 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

    com.github.junrar:junrar is a rar decompression library in plain java.

    Affected versions of this package are vulnerable to Directory Traversal via the LocalFolderExtractor component. An attacker can write arbitrary files with attacker-controlled content anywhere on the filesystem by extracting a specially crafted RAR archive on Linux/Unix systems, potentially leading to the execution of malicious code by overwriting critical files such as shell profiles, source code, or cron jobs.

    Note:

    This is not exploitable on Windows where backslashes are path separators.

    How to fix Directory Traversal?

    Upgrade com.github.junrar:junrar to version 7.5.8 or higher.

    [,7.5.8)