{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-49284 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-49284 is a low-severity vulnerability in fish-shell, published on 4 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-49284 and fix it if it is affected.\n\nWhat it is: CVE-2023-49284 is a low-severity vulnerability in fish-shell, published on 4 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-49284 in the wild and no public exploit code.\n\nAffected product: fish-shell. 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-2023-49284/ (Markdown: https://insights.sbomify.com/CVE-2023-49284/index.md)","id":"CVE-2023-49284","markdown":"https://insights.sbomify.com/CVE-2023-49284/index.md","name":"CVE-2023-49284","record":{"aliases":["AZL-32081","DEBIAN-CVE-2023-49284","GHSA-2j9r-pm96-wp4f","MGASA-2023-0344","OESA-2023-1933","OESA-2023-1938","OESA-2023-1939","OESA-2023-1940","ROOT-OS-ALPINE-317-CVE-2023-49284","ROOT-OS-ALPINE-318-CVE-2023-49284","UBUNTU-CVE-2023-49284","openSUSE-SU-2023:0404-1","openSUSE-SU-2023:0405-1","openSUSE-SU-2024:13501-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"fish shell","requires_auth":"low_privilege","summary":"Attackers can trigger shell expansion via command substitution output, potentially causing denial of service or information disclosure in fish shell.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fish","vendor":"fishshell"}],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish shell uses certain Unicode non-characters internally for marking wildcards and expansions. It will incorrectly allow these markers to be read on command substitution output, rather than transforming them into a safe internal representation. While this may cause unexpected behavior with direct input (for example, echo \\UFDD2HOME has the same output as echo $HOME), this may become a minor security problem if the output is being fed from an external program into a command substitution where this output may not be expected. This design flaw was introduced in very early versions of fish, predating the version control system, and is thought to be present in every version of fish released in the last 15 years or more, although with different characters. Code execution does not appear to be possible, but denial of service (through large brace expansion) or information disclosure (such as variable expansion) is potentially possible under certain circumstances. fish shell 3.6.2 has been released to correct this issue. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["SUSE:Package Hub 15 SP4","SUSE:Package Hub 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command substitution output can trigger shell expansion in fish shell","id":"CVE-2023-49284","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2023"},"n_packages":5,"n_references":3,"next":{"headline":"Denial of Service in HTTP Message Processing in Squid","id":"CVE-2023-49285"},"packages":[{"ecosystem":"SUSE:Package Hub 15 SP4","fixed":["3.3.1-bp154.3.3.1"],"introduced":["0"],"last_affected":[],"package":"fish","purl":"pkg:rpm/suse/fish\u0026distro=SUSE%20Package%20Hub%2015%20SP4","source":"openSUSE-SU-2023:0404-1"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["3.3.1-bp155.4.3.1"],"introduced":["0"],"last_affected":[],"package":"fish","purl":"pkg:rpm/suse/fish\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2023:0405-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.3.1-bp154.3.3.1"],"introduced":["0"],"last_affected":[],"package":"fish","purl":"pkg:rpm/opensuse/fish\u0026distro=openSUSE%20Leap%2015.4","source":"openSUSE-SU-2023:0404-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["3.3.1-bp155.4.3.1"],"introduced":["0"],"last_affected":[],"package":"fish","purl":"pkg:rpm/opensuse/fish\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2023:0405-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.6.4-1.1"],"introduced":["0"],"last_affected":[],"package":"fish","purl":"pkg:rpm/opensuse/fish\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13501-1"}],"prev":{"headline":"Test code in published microsoft-graph-core package exposes phpinfo()","id":"CVE-2023-49283"},"products":["fish-shell"],"published":"2023-12-04","related":[{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2014-2914","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2014-2906","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2014-3856","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":6.9,"headline":"Privilege escalation in n/a","id":"CVE-2014-2905","kev_date_added":null,"published":"2014-05-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["fish-shell"]},"summary":"Attackers can trigger shell expansion via command substitution output, potentially causing denial of service or information disclosure in fish shell.","url":"https://insights.sbomify.com/CVE-2023-49284/"}