{ "id": "CVE-2022-2566", "sourceIdentifier": "cve-coordination@google.com", "published": "2022-09-23T12:15:10.103", "lastModified": "2023-06-27T20:44:29.407", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in `build_open_gop_key_points()` goes through all entries in the loop and adds `sc->ctts_data[i].count` to `sc->sample_offsets_count`. This can lead to an integer overflow resulting in a small allocation with `av_calloc()`. An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05" }, { "lang": "es", "value": "Existe una escritura de memoria fuera de los l\u00edmites del mont\u00f3n en FFMPEG desde la versi\u00f3n 5.1. El c\u00e1lculo del tama\u00f1o en `build_open_gop_key_points()` recorre todas las entradas del bucle y a\u00f1ade `sc->ctts_data[i].count` a `sc->sample_offsets_count`. Esto puede conducir a un desbordamiento de enteros que resulta en una peque\u00f1a asignaci\u00f3n con `av_calloc()`. Un atacante puede provocar la ejecuci\u00f3n remota de c\u00f3digo a trav\u00e9s de un archivo mp4 malicioso. Recomendamos actualizar el commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.8, "impactScore": 5.9 }, { "source": "cve-coordination@google.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.0, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 2.2, "impactScore": 6.0 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-190" } ] }, { "source": "cve-coordination@google.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-122" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:ffmpeg:ffmpeg:5.1:*:*:*:*:*:*:*", "matchCriteriaId": "B9105334-E041-4B8A-8EF2-79FBC94391F1" } ] } ] } ], "references": [ { "url": "https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05", "source": "cve-coordination@google.com", "tags": [ "Patch", "Third Party Advisory" ] } ] }