CVE-2017-14170

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-14170
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14170.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14170
Downstream
Related
Published
2017-09-07T06:29:00Z
Modified
2025-11-13T14:53:05.272101Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In libavformat/mxfdec.c in FFmpeg 3.3.3 -> 2.4, a DoS in mxfreadindexentryarray() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted MXF file, which claims a large "nbindexentries" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.

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

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
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
n2.4-dev
n2.4.1
n2.4.10
n2.4.11
n2.4.12
n2.4.13
n2.4.2
n2.4.3
n2.4.4
n2.4.5
n2.4.6
n2.4.7
n2.4.8
n2.4.9
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

Database specific

vanir_signatures

[
    {
        "deprecated": false,
        "id": "CVE-2017-14170-402f6c8d",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210",
        "signature_version": "v1",
        "target": {
            "function": "mxf_read_index_entry_array",
            "file": "libavformat/mxfdec.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "7350275477220121909179389923599280712",
            "length": 859.0
        }
    },
    {
        "deprecated": false,
        "id": "CVE-2017-14170-6acf6e83",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
        "signature_version": "v1",
        "target": {
            "function": "mxf_read_index_entry_array",
            "file": "libavformat/mxfdec.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "156836032280374510452835169681765921076",
            "length": 952.0
        }
    },
    {
        "deprecated": false,
        "id": "CVE-2017-14170-84f8077f",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210",
        "signature_version": "v1",
        "target": {
            "file": "libavformat/mxfdec.c"
        },
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "306447737840415232004597201826736368124",
                "126996753266323376184933011454295211259",
                "255825946303932223054138375241430705080",
                "302315235321539513036531029877255123150",
                "101333621089334800209449894233315020167",
                "24011609171819150529542193019128301368",
                "164457422022711662989096906510131072276",
                "230785548486680002557736998808488608342"
            ],
            "threshold": 0.9
        }
    },
    {
        "deprecated": false,
        "id": "CVE-2017-14170-effeca0e",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
        "signature_version": "v1",
        "target": {
            "file": "libavformat/mxfdec.c"
        },
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "306447737840415232004597201826736368124",
                "126996753266323376184933011454295211259",
                "255825946303932223054138375241430705080",
                "6987597824515003265516096991385634914",
                "232128033444275761819789608406448936451",
                "63962582659685061407823855668702644844",
                "147794275574851851876074214455005715057",
                "230785548486680002557736998808488608342"
            ],
            "threshold": 0.9
        }
    }
]