Vulnerabilities in pkg:npm/cattown

PACKAGE
Advisory Identifier: GHSA-455v-w7r9-3vv9
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/cattown

1 Known Advisory Record(s)

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

CVE Identifier CVE-2025-58451
GHSA Identifier GHSA-455v-w7r9-3vv9
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Cattown
Package Ecosystem npm
Published Date
Last Updated

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.

cattown fixed: 1.0.2
npm install cattown@1.0.2
Verify Direct and Transitive Dependencies

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

### Overview A security review of the Cattown identified multiple weaknesses that could potentially impact its stability and security. ### Affected Versions - All versions below 1.0.2 ### Description of Vulnerabilities 1. CWE-1333: Inefficient Regular Expression Complexity The 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. 2. CWE-400: Uncontrolled Resource Consumption (Resource Exhaustion) The package was vulnerable to resource exhaustion, where processing malicious inputs could cause high CPU or memory usage, potentially leading to denial of service. ### Impact - Trigger excessive CPU consumption leading to denial of service - Cause resource exhaustion affecting service availability - Bypass protection mechanisms causing unexpected or insecure behavior ### Resolution These 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. ### Recommendations - Upgrade to Cattown version 1.0.2 or later as soon as possible. - Review and restrict input sources if untrusted inputs are processed. ### Acknowledgments The issues were proactively identified through CodeQL static analysis.

CVE-2025-58451 Affected Cattown Versions

1 component(s)
Fixed Versions:
1.0.2
Product / Package Ecosystem Affected Versions Fixed Version
cattown
npm
< 1.0.2
1.0.2

References

Frequently Asked Questions

What is CVE-2025-58451?
CVE-2025-58451 is a security vulnerability in Cattown involving Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity under CWE-400: Uncontrolled Resource Consumption.
Which Cattown versions are affected?
Affected versions include releases prior to 1.0.2 across affected packages: cattown.
What version fixes CVE-2025-58451?
Upgrading to 1.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cattown affected?
Yes, cattown is affected in releases prior to 1.0.2. Upgrade your dependency to 1.0.2 or later.
What CWE is associated with CVE-2025-58451?
CVE-2025-58451 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for CVE-2025-58451?
Run the dependency tree command: 'npm ls cattown'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}