Advisory

GHSA-455v-w7r9-3vv9

Also known as: CVE-2025-58451

Summary

Cattown is Vulnerable to Uncontrolled Resource Consumption through Inefficient Regular Expression Complexity

Details

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.

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-09 20:44 UTC
Modified
2025-09-25 21:44 UTC

Affected packages and fixes

cattown

npm · All systems

Affected

  • introduced 0, fixed 1.0.2 (semver)

Fixed versions

1.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences