CVE-2021-45385
Last modified
CVE-2021-45385 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.88% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rockcarry | Ffjpeg | 2021-12-06 |
References
- https://github.com/rockcarry/ffjpeg/issues/47Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/pull/48Issue Tracking, Patch, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/issues/47Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/pull/48Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-45385?
How severe is CVE-2021-45385?
How do I fix CVE-2021-45385?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45348An Arbitrary File Deletion vulnerability exists in SourceCod…7.5
- CVE-2021-45357Cross Site Scripting (XSS) vulnerability exists in Piwigo 12…6.1
- CVE-2021-45364A Code Execution vulnerability exists in Statamic Version th…9.8
- CVE-2021-45379Glewlwyd 2.0.0, fixed in 2.6.1 is affected by an incorrect a…8.8
- CVE-2021-45380AppCMS 2.0.101 has a XSS injection vulnerability in \templat…6.1
- CVE-2021-45382A Remote Command Execution (RCE) vulnerability exists in all…9.8
- CVE-2021-45386tcpreplay 4.3.4 has a Reachable Assertion in add_tree_ipv6()…5.5
- CVE-2021-45387tcpreplay 4.3.4 has a Reachable Assertion in add_tree_ipv4()…5.5
- CVE-2021-45388Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-45389A flaw was found with the JWT token. A self-signed JWT token…9.8
- CVE-2021-45391A Buffer Overflow vulnerability exists in Tenda Router AX12 …7.5
- CVE-2021-45392A Buffer Overflow vulnerability exists in Tenda Router AX12 …7.5
Are you affected by CVE-2021-45385?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
