{"answers":{"affected":"2 open source packages ship an affected version, including cattown.","exploited":"There is no known exploitation of CVE-2025-58451 in the wild and no public exploit code.","fix":"Upgrade cattown to 1.0.2 or later.","what":"CVE-2025-58451 is a high-severity vulnerability in IEatUranium238 Cattown, published on 8 Sep 2025."},"fix_prompt":"Check this codebase for CVE-2025-58451 and fix it if it is affected.\n\nWhat it is: CVE-2025-58451 is a high-severity vulnerability in IEatUranium238 Cattown, published on 8 Sep 2025. \nExploitation: There is no known exploitation of CVE-2025-58451 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cattown (npm): affected all versions; fixed in 1.0.2\n- cattown (npm): affected all versions; fixed in 1.0.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-58451/ (Markdown: https://insights.sbomify.com/CVE-2025-58451/index.md)","id":"CVE-2025-58451","markdown":"https://insights.sbomify.com/CVE-2025-58451/index.md","name":"CVE-2025-58451","record":{"aliases":["GHSA-455v-w7r9-3vv9"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"Cattown is a JavaScript markdown parser. Versions prior to 1.0.2 used regular expressions with inefficient, potentially exponential worst-case complexity. This could cause excessive CPU usage due to excessive backtracking on crafted inputs. In turn, the excessive CPU usage could lead to resource exhaustion, where processing malicious inputs could cause high CPU or memory usage, potentially leading to denial of service. Version 1.0.2 contains a patch. Additionally, users should review and restrict input sources if untrusted inputs are processed.","ecosystems":["npm"],"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":"Cattown Vulnerable to Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption","id":"CVE-2025-58451","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"WeGIA vulnerable to Reflected Cross-Site Scripting (XSS) in endpoint 'listar_despachos.php' parameter 'id_memorando'","id":"CVE-2025-58452"},"packages":[{"ecosystem":"npm","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"cattown","purl":null,"source":"GHSA-455v-w7r9-3vv9"},{"ecosystem":"npm","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"cattown","purl":"pkg:npm/cattown","source":"GHSA-455v-w7r9-3vv9"}],"prev":{"headline":"pREST has Systemic SQL Injection Vulnerability","id":"CVE-2025-58450"},"products":["Cattown"],"published":"2025-09-08","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-09-09","vendors":["IEatUranium238"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-58451/"}