CVE-2017-14170

Source
https://cve.org/CVERecord?id=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:00.267Z
Modified
2026-03-14T09:24:57.063209Z
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 / 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
Last affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.3.3"
        }
    ]
}

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
n3.3-dev
n3.3.1
n3.3.2
n3.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14170.json"
vanir_signatures
[
    {
        "signature_type": "Function",
        "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"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "7350275477220121909179389923599280712",
            "length": 859.0
        }
    },
    {
        "signature_type": "Function",
        "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"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "156836032280374510452835169681765921076",
            "length": 952.0
        }
    },
    {
        "signature_type": "Line",
        "id": "CVE-2017-14170-84f8077f",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/f173cdfe669556aa92857adafe60cbe5f2aa1210",
        "signature_version": "v1",
        "target": {
            "file": "libavformat/mxfdec.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "306447737840415232004597201826736368124",
                "126996753266323376184933011454295211259",
                "255825946303932223054138375241430705080",
                "302315235321539513036531029877255123150",
                "101333621089334800209449894233315020167",
                "24011609171819150529542193019128301368",
                "164457422022711662989096906510131072276",
                "230785548486680002557736998808488608342"
            ]
        }
    },
    {
        "signature_type": "Line",
        "id": "CVE-2017-14170-effeca0e",
        "source": "https://github.com/ffmpeg/ffmpeg/commit/900f39692ca0337a98a7cf047e4e2611071810c2",
        "signature_version": "v1",
        "target": {
            "file": "libavformat/mxfdec.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "306447737840415232004597201826736368124",
                "126996753266323376184933011454295211259",
                "255825946303932223054138375241430705080",
                "6987597824515003265516096991385634914",
                "232128033444275761819789608406448936451",
                "63962582659685061407823855668702644844",
                "147794275574851851876074214455005715057",
                "230785548486680002557736998808488608342"
            ]
        }
    }
]