PT-2022-6564 · Ffjpeg · Ffjpeg
Cem Onat Karagun
·
Published
2022-02-08
·
Updated
2023-08-17
·
CVE-2021-44957
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
ffjpeg versions prior to 01.01.2021
Description
The issue is a global buffer overflow that could cause a Denial of Service by using a crafted jpeg file. It is similar to a previously known issue. The problem lies in the
jfif encode function at ffjpeg/src/jfif.c (line 708), which is related to the copying of a buffer without checking the size of the input data. This could allow a remote attacker to cause a service disruption.Recommendations
For versions prior to 01.01.2021, as a temporary workaround, consider disabling the
jfif encode function until a patch is available. Restrict access to the jfif.c module to minimize the risk of exploitation. Avoid using the jfif encode function in the affected ffjpeg library until the issue is resolved.Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ffjpeg