
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-38171 is a vulnerability discovered in FFmpeg 4.4, specifically in the adts_decode_extradata function within libavformat/adtsenc.c. The vulnerability was disclosed on August 21, 2021, and affects the FFmpeg multimedia framework. The issue stems from the function not checking the init_get_bits return value, which is critical because the second argument to init_get_bits can be crafted (NVD, FFmpeg Patch).
The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-252 (Unchecked Return Value). The technical flaw lies in the adts_decode_extradata function's failure to validate the return value from init_get_bits, where the second argument (buf) can be manipulated (NVD).
The vulnerability could potentially lead to denial of service or the execution of arbitrary code if malformed files or streams are processed. Given the CVSS score of 9.8, the impact is considered critical with potential high impacts on confidentiality, integrity, and availability (Debian Security).
A fix has been released through a patch that implements proper return value checking for init_get_bits and replaces it with init_get_bits8. Various Linux distributions have released security updates: Debian has fixed the issue in version 7:4.1.8-0+deb10u1 for buster and 7:4.3.3-0+deb11u1 for bullseye, Ubuntu has provided fixes for multiple versions, and Gentoo has addressed it in versions >= 4.4.3 and >= 6.0 (Debian Security, Ubuntu Security, Gentoo Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."