{"answers":{"affected":"8 open source packages ship an affected version, including brace-expansion.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5889 exists.","fix":"Upgrade brace-expansion to a fixed version for your release line: 1.1.12, 2.0.2, 3.0.1 or 4.0.1.","what":"CVE-2025-5889 is a low-severity denial of service vulnerability in juliangruber brace-expansion, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-5889 and fix it if it is affected.\n\nWhat it is: CVE-2025-5889 is a low-severity denial of service vulnerability in juliangruber brace-expansion, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5889 exists.\n\nAffected packages and fixed versions:\n- brace-expansion (npm): affected from 1.0.0; fixed in 1.1.12\n- brace-expansion (npm): affected from 1.0.0; fixed in 1.1.12\n- brace-expansion (npm): affected from 2.0.0; fixed in 2.0.2\n- brace-expansion (npm): affected from 2.0.0; fixed in 2.0.2\n- brace-expansion (npm): affected from 3.0.0; fixed in 3.0.1\n- brace-expansion (npm): affected from 3.0.0; fixed in 3.0.1\n- brace-expansion (npm): affected from 4.0.0; fixed in 4.0.1\n- brace-expansion (npm): affected from 4.0.0; fixed in 4.0.1\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-2025-5889/ (Markdown: https://insights.sbomify.com/CVE-2025-5889/index.md)","id":"CVE-2025-5889","markdown":"https://insights.sbomify.com/CVE-2025-5889/index.md","name":"CVE-2025-5889","record":{"aliases":["AZL-63689","AZL-63692","AZL-63704","AZL-63707","AZL-63881","CLEANSTART-2026-IZ17087","CLSA-2026-1772669618","DEBIAN-CVE-2025-5889","ECHO-0e6d-1718-0c34","GHSA-v6h2-p8h4-qcjw","MINI-625q-wjfj-fr46","MINI-8576-2xq6-h45v","MINI-8598-94rq-26j6","MINI-87r2-m294-7r9m","MINI-8gjv-q8gv-g55x","MINI-9fmj-4g6v-hjhw","MINI-c8hp-w2p3-ppcg","MINI-cf5m-v4c6-chgg","MINI-cvc4-gv7h-mcc2","MINI-fh5h-ff92-988m","MINI-hr2r-23m4-p79q","MINI-jhg8-3g7g-q6mp","MINI-jwfx-783j-pc8r","MINI-p333-c779-r3xx","MINI-pgvx-g3gc-xf38","MINI-pwvh-rchh-c3m8","MINI-rc4p-8wv8-m6hg","MINI-x97p-j2qh-c2mc","OESA-2025-1645","ROOT-APP-NPM-CVE-2025-5889","UBUNTU-CVE-2025-5889","openSUSE-SU-2025:15269-1","openSUSE-SU-2025:15270-1","openSUSE-SU-2025:15271-1","openSUSE-SU-2025:15273-1","openSUSE-SU-2025:15274-1","openSUSE-SU-2025:15275-1","openSUSE-SU-2025:15276-1","openSUSE-SU-2025:15277-1","openSUSE-SU-2025:15278-1","openSUSE-SU-2025:15279-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript brace expansion library","requires_auth":"low_privilege","summary":"Remote attackers can cause denial of service via inefficient regular expression complexity in the brace-expansion library, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.","ecosystems":["npm","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":"juliangruber brace-expansion index.js expand redos","id":"CVE-2025-5889","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":18,"n_references":6,"next":{"headline":"actions toolkit glob internal-pattern.ts globEscape redos","id":"CVE-2025-5890"},"packages":[{"ecosystem":"npm","fixed":["1.1.12"],"introduced":["1.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["1.1.12"],"introduced":["1.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"brace-expansion","purl":null,"source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"brace-expansion","purl":"pkg:npm/brace-expansion","source":"GHSA-v6h2-p8h4-qcjw"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.12.45-10.1"],"introduced":["0"],"last_affected":[],"package":"python-bqplot","purl":"pkg:rpm/opensuse/python-bqplot\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15269-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2024.8.6-3.1"],"introduced":["0"],"last_affected":[],"package":"python-furo","purl":"pkg:rpm/opensuse/python-furo\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15270-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.9.4-15.1"],"introduced":["0"],"last_affected":[],"package":"python-ipympl","purl":"pkg:rpm/opensuse/python-ipympl\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15271-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.1.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyter-ydoc","purl":"pkg:rpm/opensuse/python-jupyter-ydoc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15273-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.5.2-2.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab-templates","purl":"pkg:rpm/opensuse/python-jupyterlab-templates\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15274-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-nbclassic","purl":"pkg:rpm/opensuse/python-nbclassic\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15275-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.0.2-20.1"],"introduced":["0"],"last_affected":[],"package":"python-nbdime","purl":"pkg:rpm/opensuse/python-nbdime\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15276-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.7.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-panel","purl":"pkg:rpm/opensuse/python-panel\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15277-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.1.2-1.1"],"introduced":["0"],"last_affected":[],"package":"python-plotly","purl":"pkg:rpm/opensuse/python-plotly\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15278-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.16.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-pydata-sphinx-theme","purl":"pkg:rpm/opensuse/python-pydata-sphinx-theme\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15279-1"}],"prev":{"headline":"jsnjfz WebStack-Guns cross-site request forgery","id":"CVE-2025-5888"},"products":["brace-expansion"],"published":"2025-06-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-06-11","vendors":["juliangruber"]},"summary":"Remote attackers can cause denial of service via inefficient regular expression complexity in the brace-expansion library, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2025-5889/"}