{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-31425 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-31425 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31425 is a high-severity vulnerability in Broadcom Fabric Operating System, published on 1 Aug 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-2023-31425 and fix it if it is affected.\n\nWhat it is: CVE-2023-31425 is a high-severity vulnerability in Broadcom Fabric Operating System, published on 1 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-31425 in the wild and no public exploit code.\n\nAffected product: Broadcom Fabric Operating System. 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-31425/ (Markdown: https://insights.sbomify.com/CVE-2023-31425/index.md)","id":"CVE-2023-31425","markdown":"https://insights.sbomify.com/CVE-2023-31425/index.md","name":"CVE-2023-31425","record":{"aliases":["GHSA-q587-8249-rxpr"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Brocade Fabric OS","requires_auth":"low_privilege","summary":"A local authenticated user can escalate privileges to root by breaking the rbash shell via the fosexec command in Brocade Fabric OS.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"brocade","cpe":[{"product":"fabric_operating_system","vendor":"broadcom"}],"cvss":{"score":7.8,"severity":"high","source":"cna","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability in the fosexec command of Brocade Fabric OS after Brocade Fabric OS v9.1.0 and, before Brocade Fabric OS v9.1.1 could allow a local authenticated user to perform privilege escalation to root by breaking the rbash shell. Starting with Fabric OS v9.1.0, “root” account access is disabled.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Privilege escalation via the fosexec command","id":"CVE-2023-31425","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"broadcom:fabric_operating_system","products":["broadcom:fabric_operating_system"],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"scp, sftp, ftp servers passwords in supportsave","id":"CVE-2023-31426"},"packages":[],"prev":{"headline":"Web authentication and authorization bypass","id":"CVE-2023-31424"},"products":["Fabric OS"],"published":"2023-08-01","related":[{"cvss_score":8.6,"headline":"Broadcom Brocade Fabric OS Code Injection","id":"CVE-2025-1976","kev_date_added":"2025-04-28","published":"2025-04-24"},{"cvss_score":8.3,"headline":"Linux Kernel Heap Out-of-Bounds Write","id":"CVE-2021-22555","kev_date_added":"2025-10-06","published":"2021-07-07"},{"cvss_score":9.8,"headline":"Command injection in Brocade Fabric OS","id":"CVE-2022-33186","kev_date_added":null,"published":"2022-12-08"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Brocade Fabric OS","id":"CVE-2021-27797","kev_date_added":null,"published":"2022-02-21"},{"cvss_score":9.8,"headline":"Code injection in Brocade Fabric OS","id":"CVE-2020-15371","kev_date_added":null,"published":"2020-09-25"},{"cvss_score":9.8,"headline":"Memory corruption in Brocade Fabric OS","id":"CVE-2020-15373","kev_date_added":null,"published":"2020-09-25"},{"cvss_score":9.8,"headline":"Cross-site scripting in Brocade Fabric OS","id":"CVE-2020-15374","kev_date_added":null,"published":"2020-09-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Brocade"]},"summary":"A local authenticated user can escalate privileges to root by breaking the rbash shell via the fosexec command in Brocade Fabric OS.","url":"https://insights.sbomify.com/CVE-2023-31425/"}