{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-31431 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-31431 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31431 is a medium-severity memory corruption vulnerability in Brocade Fabric OS, 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-31431 and fix it if it is affected.\n\nWhat it is: CVE-2023-31431 is a medium-severity memory corruption vulnerability in Brocade Fabric OS, 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-31431 in the wild and no public exploit code.\n\nAffected product: Brocade Fabric OS. 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-31431/ (Markdown: https://insights.sbomify.com/CVE-2023-31431/index.md)","id":"CVE-2023-31431","markdown":"https://insights.sbomify.com/CVE-2023-31431/index.md","name":"CVE-2023-31431","record":{"aliases":["GHSA-fqh6-rrfj-3w82"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Brocade Fabric OS","requires_auth":"low_privilege","summary":"An authenticated user can trigger a buffer overflow in the diagstatus command, crashing the Brocade Fabric OS switch and causing denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"brocade","cpe":[{"product":"brocade_fabric_operating_system","vendor":"broadcom"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"A buffer overflow vulnerability in “diagstatus” command in Brocade Fabric OS before Brocade Fabric v9.2.0 and v9.1.1c could allow an authenticated user to crash the Brocade Fabric OS switch leading to a denial of service.","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":"A buffer overflow vulnerability in “diagstatus” command","id":"CVE-2023-31431","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege issues in multiple commands","id":"CVE-2023-31432"},"packages":[],"prev":{"headline":"buffer overflow vulnerability in “secpolicydelete” command","id":"CVE-2023-31430"},"products":["Fabric OS"],"published":"2023-08-01","related":[{"cvss_score":7.8,"headline":"Privilege issues in multiple commands","id":"CVE-2023-31432","kev_date_added":null,"published":"2023-08-01"},{"cvss_score":7.1,"headline":"Arbitrary File Overwrite using less command","id":"CVE-2023-31926","kev_date_added":null,"published":"2023-08-02"},{"cvss_score":6.7,"headline":"Linux Kernel sctp_destroy_sock race condition","id":"CVE-2021-23133","kev_date_added":null,"published":"2021-04-22"},{"cvss_score":6.3,"headline":"XSS vulnerability in Brocade Webtools","id":"CVE-2023-31928","kev_date_added":null,"published":"2023-08-01"},{"cvss_score":5.5,"headline":"CLI allows upload or transfer files of dangerous types","id":"CVE-2023-31428","kev_date_added":null,"published":"2023-08-01"},{"cvss_score":5.5,"headline":"buffer overflow vulnerability in “secpolicydelete” command","id":"CVE-2023-31430","kev_date_added":null,"published":"2023-08-01"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Brocade"]},"summary":"An authenticated user can trigger a buffer overflow in the diagstatus command, crashing the Brocade Fabric OS switch and causing denial of service.","url":"https://insights.sbomify.com/CVE-2023-31431/"}