dar-backup@0.6.13.1 vulnerabilities

A script to do full, differential and incremental backups using dar. Some files are restored from the backups during verification, after which par2 redundancy files are created. The script also has a cleanup feature to remove old backups and par2 files.

  • latest version

    1.0.0.1

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    26 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the dar-backup 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
    • C
    Command Injection

    dar-backup is an A script to do full, differential and incremental backups using dar. Some files are restored from the backups during verification, after which par2 redundancy files are created. The script also has a cleanup feature to remove old backups and par2 files.

    Affected versions of this package are vulnerable to Command Injection due to insufficient sanitization of command arguments in the CommandRunner.run() method. An attacker can execute arbitrary commands by injecting shell metacharacters (such as ;, &, |, etc.) in arguments that bypass the sanitize_cmd(cmd) checks.

    How to fix Command Injection?

    Upgrade dar-backup to version 0.8.2 or higher.

    [,0.8.2)