{"answers":{"affected":"2 open source packages ship an affected version, including com.powsybl:powsybl-commons.","exploited":"There is no known exploitation of CVE-2025-48058 in the wild and no public exploit code.","fix":"Upgrade com.powsybl:powsybl-commons to 6.7.2 or later.","what":"CVE-2025-48058 is a medium-severity vulnerability in powsybl-core, published on 20 Jun 2025."},"fix_prompt":"Check this codebase for CVE-2025-48058 and fix it if it is affected.\n\nWhat it is: CVE-2025-48058 is a medium-severity vulnerability in powsybl-core, published on 20 Jun 2025. \nExploitation: There is no known exploitation of CVE-2025-48058 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.powsybl:powsybl-commons (Maven): affected all versions; fixed in 6.7.2\n- com.powsybl:powsybl-commons (Maven): affected all versions; fixed in 6.7.2\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-48058/ (Markdown: https://insights.sbomify.com/CVE-2025-48058/index.md)","id":"CVE-2025-48058","markdown":"https://insights.sbomify.com/CVE-2025-48058/index.md","name":"CVE-2025-48058","record":{"aliases":["GHSA-rqpx-f6rc-7hm5"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"PowSyBl (Power System Blocks) is a framework to build power system oriented software. Prior to version 6.7.2, there is a potential polynomial Regular Expression Denial of Service (ReDoS) vulnerability in the PowSyBl's DataSource mechanism. If successfully exploited, a malicious actor can cause significant CPU consumption due to regex backtracking — even with polynomial patterns. This issue has been patched in com.powsybl:powsybl-commons: 6.7.2.","ecosystems":["Maven"],"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":"PowSyBl Core contains Polynomial REDoS’es","id":"CVE-2025-48058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion","id":"CVE-2025-48059"},"packages":[{"ecosystem":"Maven","fixed":["6.7.2"],"introduced":["0"],"last_affected":[],"package":"com.powsybl:powsybl-commons","purl":null,"source":"GHSA-rqpx-f6rc-7hm5"},{"ecosystem":"Maven","fixed":["6.7.2"],"introduced":["0"],"last_affected":[],"package":"com.powsybl:powsybl-commons","purl":"pkg:maven/com.powsybl/powsybl-commons","source":"GHSA-rqpx-f6rc-7hm5"}],"prev":{"headline":"Icinga 2 certificate renewal might incorrectly renew an invalid certificate","id":"CVE-2025-48057"},"products":["powsybl-core"],"published":"2025-06-20","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-20","vendors":["powsybl"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-48058/"}