{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3715 exists.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-3715 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3715 exists.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3715/ (Markdown: https://insights.sbomify.com/CVE-2022-3715/index.md)","id":"CVE-2022-3715","markdown":"https://insights.sbomify.com/CVE-2022-3715/index.md","name":"CVE-2022-3715","record":{"aliases":["ALSA-2023:0340","DEBIAN-CVE-2022-3715","GHSA-cr4j-fv7c-759c","OESA-2022-2100","RHSA-2023:0340","RLSA-2023:0340","ROOT-OS-DEBIAN-11-CVE-2022-3715","UBUNTU-CVE-2022-3715","USN-6697-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Bash shell","requires_auth":"low_privilege","summary":"A heap-buffer overflow in Bash parameter transformation allows attackers to cause memory corruption, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"bash","vendor":"gnu"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in bash","id":"CVE-2022-3715","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"memory_corruption","year":"2022"},"n_packages":9,"n_references":1,"next":{"headline":"SourceCodester Online Medicine Ordering System cross site scripting","id":"CVE-2022-3716"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/almalinux/bash","source":"ALSA-2023:0340"},{"ecosystem":"AlmaLinux:9","fixed":["5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-devel","purl":"pkg:rpm/almalinux/bash-devel","source":"ALSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/redhat/bash","source":"RHSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-debugsource","purl":"pkg:rpm/redhat/bash-debugsource","source":"RHSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-debuginfo","purl":"pkg:rpm/redhat/bash-debuginfo","source":"RHSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-debugsource","purl":"pkg:rpm/redhat/bash-debugsource","source":"RHSA-2023:0340"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash-devel","purl":"pkg:rpm/redhat/bash-devel","source":"RHSA-2023:0340"},{"ecosystem":"Rocky Linux:9","fixed":["0:5.1.8-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"bash","purl":"pkg:rpm/rocky-linux/bash?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2023:0340"}],"prev":{"headline":"SourceCodester Online Medicine Ordering System sql injection","id":"CVE-2022-3714"},"products":["bash"],"published":"2023-01-05","related":[{"cvss_score":8.8,"headline":"GNU Bash OS Command Injection","id":"CVE-2014-6278","kev_date_added":"2025-10-02","published":"2014-09-30"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-7186","kev_date_added":null,"published":"2014-09-28"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-7187","kev_date_added":null,"published":"2014-09-28"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2014-6277","kev_date_added":null,"published":"2014-09-27"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-18276","kev_date_added":null,"published":"2019-11-28"},{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2017-5932","kev_date_added":null,"published":"2017-03-27"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A heap-buffer overflow in Bash parameter transformation allows attackers to cause memory corruption, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2022-3715/"}