Vulnerabilities in pkg:npm/cattown
PACKAGECVE-2025-58451 is a HIGH remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Cattown libraries in the npm ecosystem. The issue involves cattown is vulnerable to uncontrolled resource consumption through inefficient regular expression complexity. Remediation is available by upgrading affected packages to version 1.0.2.
pkg:npm/cattown
Vulnerability advisories affecting package pkg:npm/cattown. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-455v-w7r9-3vv9 | CVE-2025-58451 | HIGH | Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity |
CVE-2025-58451 at a Glance
How to Fix CVE-2025-58451
To remediate this vulnerability, upgrade all affected Cattown dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install cattown@1.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls cattown
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-58451, inspect your project dependencies using npm:
npm ls cattown
Analyze the terminal output to locate any version of Cattown in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2), your application is affected.
Note: The npm ls cattown command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Cattown, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-58451 Affected Cattown Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cattown
|
npm |
< 1.0.2
|
1.0.2
|
References
Frequently Asked Questions
What is CVE-2025-58451?
Which Cattown versions are affected?
What version fixes CVE-2025-58451?
Is cattown affected?
What CWE is associated with CVE-2025-58451?
How can I check npm dependencies for CVE-2025-58451?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-455v-w7r9-3vv9",
"modified" : "2025-09-25T21:44:20Z",
"published" : "2025-09-09T20:44:25Z",
"aliases" : [ "CVE-2025-58451" ],
"summary" : "Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity",
"details" : "### Overview\nA security review of the Cattown identified multiple weaknesses that could potentially impact its stability and security.\n\n### Affected Versions\n- All versions below 1.0.2\n\n### Description of Vulnerabilities\n1. CWE-1333: Inefficient Regular Expression Complexity\nThe package used regular expressions with inefficient, potentially exponential worst-case complexity. This can cause excessive CPU usage due to excessive backtracking on crafted inputs, potentially leading to denial of service.\n2. CWE-400: Uncontrolled Resource Consumption (Resource Exhaustion)\nThe package was vulnerable to resource exhaustion, where processing malicious inputs could cause high CPU or memory usage, potentially leading to denial of service.\n\n### Impact\n- Trigger excessive CPU consumption leading to denial of service\n- Cause resource exhaustion affecting service availability\n- Bypass protection mechanisms causing unexpected or insecure behavior\n\n### Resolution\nThese vulnerabilities have been fixed in version 1.0.2 of the Cattown. Users are strongly encouraged to upgrade to this version to mitigate the risks.\n\n### Recommendations\n- Upgrade to Cattown version 1.0.2 or later as soon as possible.\n- Review and restrict input sources if untrusted inputs are processed.\n\n### Acknowledgments\nThe issues were proactively identified through CodeQL static analysis.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "cattown"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/IEatUranium238/Cattown/security/advisories/GHSA-455v-w7r9-3vv9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58451"
}, {
"type" : "WEB",
"url" : "https://github.com/IEatUranium238/Cattown/commit/70c2a28fb7dc520cfb7e401e0e141bff3dd26ead"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/IEatUranium238/Cattown"
}, {
"type" : "WEB",
"url" : "https://github.com/IEatUranium238/Cattown/releases/tag/security"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/cattown"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333", "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-09T20:44:25Z",
"nvd_published_at" : "2025-09-08T22:15:34Z"
}
}