CVE-2021-38171
9.8critical
adtsdecodeextradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the initgetbits return value, which is a necessary step because t…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.41% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a necessary step because the second argument to init_get_bits can be crafted.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ffmpeg ffmpeg | 4.4 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a necessary step because the second argument to init_get_bits can be crafted.
NVD (es)
La función adts_decode_extradata en el archivo libavformat/adtsenc.c en Ffmpeg versión 4.4, no comprueba el valor de retorno de init_get_bits, que es un paso necesario porque el segundo argumento de init_get_bits puede ser diseñado.
References
| https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971930B6F19%40AS8P193MB1254.EURP193.PROD.OUTLOOK.COM/ | ||
| https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6 | patch, third-party-advisory | |
| https://www.debian.org/security/2021/dsa-4990 | third-party-advisory, vendor-advisory | |
| https://www.debian.org/security/2021/dsa-4998 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/11/msg00012.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202312-14 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-38171 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-38171 changed 2026-06-17 | Public domain |