Skip to content

Security: Command Injection Vulnerability #151

@schirrmacher

Description

@schirrmacher

Hey there!

During security reviews I discovered an issue in audioread/ffdec.py

The code uses subprocess.Popen to execute external commands (ffmpeg or avconv) with a user-provided filename as part of the command arguments. This creates a significant command injection vulnerability, as a malicious filename could contain arbitrary shell commands, leading to remote code execution on the system.

['-i', filename, '-f', 's16le', '-'],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions