CVE-2021-3566

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3566
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3566.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3566
Downstream
Related
Published
2021-08-05T21:15:12Z
Modified
2025-10-25T04:14:21.720757Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

Prior to ffmpeg version 4.3, the tty demuxer did not have a 'read_probe' function assigned to it. By crafting a legitimate "ffconcat" file that references an image, followed by a file the triggers the tty demuxer, the contents of the second file will be copied into the output file verbatim (as long as the -vcodec copy option is passed to ffmpeg).

References

Affected packages

Git / git.ffmpeg.org/ffmpeg.git

Affected ranges

Type
GIT
Repo
https://git.ffmpeg.org/ffmpeg.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

N

n0.*

n0.11-dev
n0.12-dev
n0.8

n1.*

n1.1-dev
n1.2-dev
n1.3-dev

n2.*

n2.0
n2.1-dev
n2.2-dev
n2.3-dev
n2.4-dev
n2.5-dev
n2.6-dev
n2.7-dev
n2.8-dev
n2.9-dev

n3.*

n3.1-dev
n3.2-dev
n3.3-dev
n3.4-dev
n3.5-dev

n4.*

n4.1-dev
n4.2-dev

Git / github.com/ffmpeg/ffmpeg

Affected ranges

Type
GIT
Repo
https://github.com/ffmpeg/ffmpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

N

n0.*

n0.11-dev
n0.12-dev
n0.8

n1.*

n1.1-dev
n1.2-dev
n1.3-dev

n2.*

n2.0
n2.1-dev
n2.2-dev
n2.3-dev
n2.4-dev
n2.5-dev
n2.6-dev
n2.7-dev
n2.8-dev
n2.9-dev

n3.*

n3.1-dev
n3.2-dev
n3.3-dev
n3.4-dev
n3.5-dev

n4.*

n4.1-dev
n4.2-dev
n4.3-dev

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "87847563956555810086109357068916520368",
                "179033659746351296284011130959867098470",
                "29912285464798826292798173282494127710",
                "149942135119221602751422759954712516314",
                "122614738720108430322534464033586885784",
                "264754942809671600674997705643627881480",
                "46529893056919444838326796542476614873",
                "232657199141909422124284627650612937300",
                "176347224354873379396459371193661897034",
                "324250718937501476783835246937268406065",
                "230021871174800559649899559161600728586",
                "71857368728975087535349751898191175066"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "libavformat/tty.c"
        },
        "deprecated": false,
        "source": "https://github.com/ffmpeg/ffmpeg/commit/3bce9e9b3ea35c54bacccc793d7da99ea5157532",
        "signature_version": "v1",
        "id": "CVE-2021-3566-b3a97196"
    }
]