Skip to content

CVE-2023-39018: Assumed code injection vulnerability of net.bramp.ffmpeg.FFmpeg.<constructor> #291

@LetianYuan

Description

@LetianYuan

Affected Version
The latest version 0.7.0 and below.

Describe the vulnerability
net.bramp.ffmpeg.FFmpeg.<constructor> is designed to create an FFmpeg object. However, passing an unchecked argument to this API can lead to the execution of arbitrary codes. For instance, following codes can lead to the execution of malicious program:

new FFmpeg("C:/Windows/System32/calc.exe");

To Reproduce
Just execute above codes would reproduce it.

Fix Suggestion
Check the parameter of FFmpeg.<constructor> strictly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions