CVE-2022-49078
Last modified
CVE-2022-49078 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: lz4: fix LZ4_decompress_safe_partial read out of bound When partialDecoding, it is EOF if we've either filled the output buffer or can't proceed with reading an offset for following match. In some extreme corner cases when compressed data is suitably corrupted, UAF will occur. As reported by KASAN [1], LZ4_decompress_safe_partial may lead to read out of bound problem during decoding. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: lz4: fix LZ4_decompress_safe_partial read out of bound When partialDecoding, it is EOF if we've either filled the output buffer or can't proceed with reading an offset for following match. In some extreme corner cases when compressed data is suitably corrupted, UAF will occur. As reported by KASAN [1], LZ4_decompress_safe_partial may lead to read out of bound problem during decoding. lz4 upstream has fixed it [2] and this issue has been disscussed here [3] before. current decompression routine was ported from lz4 v1.8.3, bumping lib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we'd better fix it first. [1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/ [2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad# [3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.20, < 5.4.189 |
| Linux | Linux Kernel | >= 5.5, < 5.10.111 |
| Linux | Linux Kernel | >= 5.11, < 5.15.34 |
| Linux | Linux Kernel | >= 5.16, < 5.16.20 |
| Linux | Linux Kernel | >= 5.17, < 5.17.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49078?
How severe is CVE-2022-49078?
How do I fix CVE-2022-49078?
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 2022
- CVE-2022-49072In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49073In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49074In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49075In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49076In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49077In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49079In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4908Inappropriate implementation in iFrame Sandbox in Google Chr…4.3
- CVE-2022-49080In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49081In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49082In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49083In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49078?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
