Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | 4.4 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00012.htmlMailing ListThird Party Advisory
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971
- https://security.gentoo.org/glsa/202312-14
- https://www.debian.org/security/2021/dsa-4990Third Party Advisory
- https://www.debian.org/security/2021/dsa-4998Third Party Advisory
- https://github.com/FFmpeg/FFmpeg/commit/9ffa49496d1aae4cbbb387aac28a9e061a6ab0a6PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00012.htmlMailing ListThird Party Advisory
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/AS8P193MB12542A86E22F8207EC971
- https://security.gentoo.org/glsa/202312-14
- https://www.debian.org/security/2021/dsa-4990Third Party Advisory
- https://www.debian.org/security/2021/dsa-4998Third Party Advisory
FAQ
What is CVE-2021-38171?
CVE-2021-38171 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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.
How severe is CVE-2021-38171?
CVE-2021-38171 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-38171?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg, Debian Debian Linux.