Vulnerabilities

6 via 12 paths

Dependencies

198

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 5
Status
  • 6
  • 0
  • 0

high severity

Infinite loop

  • Vulnerable module: uri-js
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › ajv@6.15.0 › uri-js@4.4.1
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › @eslint/eslintrc@2.1.4 › ajv@6.15.0 › uri-js@4.4.1

Overview

uri-js is a RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.

Affected versions of this package are vulnerable to Infinite loop via the removeDotSegments function, which loops infinitely when a path segment begins with Unicode line separators (U+2028) or paragraph separators (U+2029). An attacker can trigger this by passing such a path to removeDotSegments directly, or through the normalize or resolve functions with IRI handling enabled, blocking the Node.js event loop indefinitely until heap exhaustion.

Remediation

There is no fixed version for uri-js.

References

medium severity
new

Asymmetric Resource Consumption (Amplification)

  • Vulnerable module: minimatch
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › minimatch@3.1.5
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › @eslint/eslintrc@2.1.4 › minimatch@3.1.5
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › @humanwhocodes/config-array@0.13.0 › minimatch@3.1.5
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › file-entry-cache@6.0.1 › flat-cache@3.2.0 › rimraf@3.0.2 › glob@7.2.3 › minimatch@3.1.5
    Remediation: Upgrade to @getbrevo/brevo@4.0.1.

Overview

minimatch is a minimal matching utility.

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the firstPhasePreProcess method, where the **/.. transform clones a globParts entry and pushes the clone back onto the same array inside a do...while (didSomething) fixpoint loop. An attacker can exhaust CPU and memory by supplying a glob pattern whose **/.. sequences regenerate entries during preprocessing, which secondPhasePreProcess then compares in an O(n^2) pairwise partsMatch pass over the expanded set. Exploitation requires the pattern to be parsed with optimizationLevel set to 2 or higher.

Remediation

Upgrade minimatch to version 11.0.1 or higher.

References

medium severity

Improper Encoding or Escaping of Output

  • Vulnerable module: uri-js
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › ajv@6.15.0 › uri-js@4.4.1
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › @eslint/eslintrc@2.1.4 › ajv@6.15.0 › uri-js@4.4.1

Overview

uri-js is a RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via pctDecChars(), which decodes invalid and overlong percent-encoded sequences into ASCII metacharacters. An attacker can craft percent-encoded payloads to bypass platform decoder validation and inject path traversal or CRLF sequences that downstream consumers process without filtering.

Remediation

There is no fixed version for uri-js.

References

medium severity

Missing Release of Resource after Effective Lifetime

  • Vulnerable module: inflight
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › file-entry-cache@6.0.1 › flat-cache@3.2.0 › rimraf@3.0.2 › glob@7.2.3 › inflight@1.0.6

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the makeres function due to improperly deleting keys from the reqs object after execution of callbacks. This behavior causes the keys to remain in the reqs object, which leads to resource exhaustion.

Exploiting this vulnerability results in crashing the node process or in the application crash.

Note: This library is not maintained, and currently, there is no fix for this issue. To overcome this vulnerability, several dependent packages have eliminated the use of this library.

To trigger the memory leak, an attacker would need to have the ability to execute or influence the asynchronous operations that use the inflight module within the application. This typically requires access to the internal workings of the server or application, which is not commonly exposed to remote users. Therefore, “Attack vector” is marked as “Local”.

PoC

const inflight = require('inflight');

function testInflight() {
  let i = 0;
  function scheduleNext() {
    let key = `key-${i++}`;
    const callback = () => {
    };
    for (let j = 0; j < 1000000; j++) {
      inflight(key, callback);
    }

    setImmediate(scheduleNext);
  }


  if (i % 100 === 0) {
    console.log(process.memoryUsage());
  }

  scheduleNext();
}

testInflight();

Remediation

There is no fixed version for inflight.

References

medium severity

Uncaught Exception

  • Vulnerable module: uri-js
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › ajv@6.15.0 › uri-js@4.4.1
  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1 › @eslint/eslintrc@2.1.4 › ajv@6.15.0 › uri-js@4.4.1

Overview

uri-js is a RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.

Affected versions of this package are vulnerable to Uncaught Exception in the parse() function of src/schemes/mailto.ts, whose to branch calls hfield[1].split(",") directly, while the subject, body, and default branches all route through unescapeComponent(), which short-circuits on a missing value. An attacker can crash the process by supplying a mailto URI whose query carries a bare to token with no =value, such as mailto:?to, so splitting on = yields a one element array and the undefined second element is dereferenced. This requires the application to pass an attacker-influenced string to URI.parse(), URI.resolve(), URI.normalize(), or URI.equal(), none of which wrap the scheme handler in a try/catch, and whether the throw terminates the process or only fails the one request depends on the host's own error handling.

Remediation

There is no fixed version for uri-js.

References

medium severity

Uncontrolled Recursion

  • Vulnerable module: eslint
  • Introduced through: @getbrevo/brevo@3.0.4

Detailed paths

  • Introduced through: @houtini/brevo-mcp@houtini-ai/brevo-mcp › @getbrevo/brevo@3.0.4 › rewire@7.0.0 › eslint@8.57.1
    Remediation: Upgrade to @getbrevo/brevo@4.0.1.

Overview

eslint is a pluggable linting utility for JavaScript and JSX

Affected versions of this package are vulnerable to Uncontrolled Recursion in the isSerializable function when handling objects with circular references during the serialization process. An attacker can cause the application to crash or become unresponsive by supplying specially crafted input that triggers infinite recursion.

Remediation

Upgrade eslint to version 9.26.0 or higher.

References