A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load(). When the size information in metadata of the bmp is out of range, it returns without assign memory buffer to `pb->pdata` and did not exit the program. So the program crashes when it tries to access the pb->data, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.
References
Link | Resource |
---|---|
https://github.com/rockcarry/ffjpeg/issues/47 | Exploit Issue Tracking Third Party Advisory |
https://github.com/rockcarry/ffjpeg/pull/48 | Issue Tracking Patch Third Party Advisory |
https://github.com/rockcarry/ffjpeg/issues/47 | Exploit Issue Tracking Third Party Advisory |
https://github.com/rockcarry/ffjpeg/pull/48 | Issue Tracking Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:32
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/rockcarry/ffjpeg/issues/47 - Exploit, Issue Tracking, Third Party Advisory | |
References | () https://github.com/rockcarry/ffjpeg/pull/48 - Issue Tracking, Patch, Third Party Advisory |
17 Aug 2023, 14:09
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:rockcarry:ffjpeg:2021-12-06:*:*:*:*:*:*:* |
18 Feb 2022, 18:36
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 6.5 |
CWE | CWE-476 | |
CPE | cpe:2.3:a:ffjpeg_project:ffjpeg:2021-12-06:*:*:*:*:*:*:* | |
References | (MISC) https://github.com/rockcarry/ffjpeg/pull/48 - Issue Tracking, Patch, Third Party Advisory | |
References | (MISC) https://github.com/rockcarry/ffjpeg/issues/47 - Exploit, Issue Tracking, Third Party Advisory |
11 Feb 2022, 16:48
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-02-11 16:15
Updated : 2024-11-21 06:32
NVD link : CVE-2021-45385
Mitre link : CVE-2021-45385
CVE.ORG link : CVE-2021-45385
JSON object : View
Products Affected
rockcarry
- ffjpeg
CWE
CWE-476
NULL Pointer Dereference