{"answers":{"affected":"It affects 28 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2068 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2022-2068 is a critical command injection vulnerability in Debian Debian Linux, published on 21 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2068 and fix it if it is affected.\n\nWhat it is: CVE-2022-2068 is a critical command injection vulnerability in Debian Debian Linux, published on 21 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2068 exists.\n\nAffected product: Debian Debian 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-2068/ (Markdown: https://insights.sbomify.com/CVE-2022-2068/index.md)","id":"CVE-2022-2068","markdown":"https://insights.sbomify.com/CVE-2022-2068/index.md","name":"CVE-2022-2068","record":{"aliases":["AZL-9967","DEBIAN-CVE-2022-2068","DSA-5169-1","GHSA-xjxr-x4h8-946x","JLSEC-2026-229","MGASA-2022-0246","OESA-2022-1737","SUSE-SU-2022:2179-1","SUSE-SU-2022:2180-1","SUSE-SU-2022:2181-1","UBUNTU-CVE-2022-2068","USN-5488-1","USN-5488-2","openSUSE-SU-2024:12159-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL c_rehash script","requires_auth":"none","summary":"Attackers can execute arbitrary commands via the c_rehash script due to improper sanitization of shell metacharacters in certificate filenames.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[{"product":"sannav","vendor":"broadcom"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"aff_8300_firmware","vendor":"netapp"},{"product":"aff_8700_firmware","vendor":"netapp"},{"product":"aff_a400_firmware","vendor":"netapp"},{"product":"bootstrap_os","vendor":"netapp"},{"product":"element_software","vendor":"netapp"},{"product":"fas_8300_firmware","vendor":"netapp"},{"product":"fas_8700_firmware","vendor":"netapp"},{"product":"fas_a400_firmware","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h610c_firmware","vendor":"netapp"},{"product":"h610s_firmware","vendor":"netapp"},{"product":"h615c_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"hci_management_node","vendor":"netapp"},{"product":"ontap_antivirus_connector","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"santricity_smi-s_provider","vendor":"netapp"},{"product":"smi-s_provider","vendor":"netapp"},{"product":"snapmanager","vendor":"netapp"},{"product":"solidfire","vendor":"netapp"},{"product":"openssl","vendor":"openssl"},{"product":"sinec_ins","vendor":"siemens"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze).","ecosystems":["SUSE:Enterprise Storage 6","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"The c_rehash script allows command injection","id":"CVE-2022-2068","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","netapp:bootstrap_os","netapp:element_software","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h610s_firmware","netapp:h700s_firmware","netapp:hci_management_node","netapp:ontap_select_deploy_administration_utility","netapp:snapmanager","netapp:solidfire","openssl:openssl"],"type":"command_injection","year":"2022"},"n_packages":21,"n_references":9,"next":{"headline":"Datalogics APDFL library Heap-based Buffer Overflow","id":"CVE-2022-2069"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.1.0i-150100.14.33.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/suse/openssl-1_1\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:2179-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["1.0.2j-60.83.1"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/suse/openssl\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2022:2180-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["1.0.2p-3.56.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_0_0","purl":"pkg:rpm/suse/openssl-1_0_0\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2022:2181-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.1.1p-1.1"],"introduced":["0"],"last_affected":[],"package":"openssl-1_1","purl":"pkg:rpm/opensuse/openssl-1_1\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12159-1"}],"prev":{"headline":"SQL Injection in francoisjacquet/rosariosis","id":"CVE-2022-2067"},"products":["OpenSSL"],"published":"2022-06-21","related":[{"cvss_score":9.8,"headline":"SQL injection in Brocade SANNav","id":"CVE-2022-28163","kev_date_added":null,"published":"2022-05-06"},{"cvss_score":9.8,"headline":"Server-side request forgery in Brocade SANnav","id":"CVE-2020-15377","kev_date_added":null,"published":"2021-06-09"},{"cvss_score":8.8,"headline":"Missing authorization in Brocade SANNav","id":"CVE-2022-28165","kev_date_added":null,"published":"2022-05-06"},{"cvss_score":8.5,"headline":"Plaintext Switch admin login password is seen in Brocade SANnav support save","id":"CVE-2025-12772","kev_date_added":null,"published":"2026-02-02"},{"cvss_score":7.5,"headline":"Weak cryptography in Brocade SANnav","id":"CVE-2022-28166","kev_date_added":null,"published":"2022-06-27"},{"cvss_score":7.5,"headline":"Information disclosure in Brocade SANnav","id":"CVE-2022-28168","kev_date_added":null,"published":"2022-06-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["OpenSSL"]},"summary":"Attackers can execute arbitrary commands via the c_rehash script due to improper sanitization of shell metacharacters in certificate filenames.","url":"https://insights.sbomify.com/CVE-2022-2068/"}