CVE-2022-3715 Memory corruption in bash
A heap-buffer overflow in Bash parameter transformation allows attackers to cause memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-3715?
CVE-2022-3715 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 5 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems.
Which versions are affected by CVE-2022-3715?
It affects 2 products.
Linux distribution packages (9)
bash AlmaLinux:9 | All versions | 5.1.8-6.el9_1 |
bash-devel AlmaLinux:9 | All versions | 5.1.8-6.el9_1 |
bash Red Hat:enterprise_linux:9::baseos | All versions | 0:5.1.8-6.el9_1 |
bash-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:5.1.8-6.el9_1 |
bash-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:5.1.8-6.el9_1 |
bash-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:5.1.8-6.el9_1 |
bash-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:5.1.8-6.el9_1 |
bash-devel Red Hat:enterprise_linux:9::crb | All versions | 0:5.1.8-6.el9_1 |
bash Rocky Linux:9 | All versions | 0:5.1.8-6.el9_1 |
Products include Gnu Bash, Redhat Enterprise Linux.
How do I fix CVE-2022-3715?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-3715 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3715 exists.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as ALSA-2023:0340, DEBIAN-CVE-2022-3715, GHSA-cr4j-fv7c-759c, OESA-2022-2100, RHSA-2023:0340, RLSA-2023:0340 and 3 more.