Command Injection Affecting matrix-appservice-irc package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.16% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-MATRIXAPPSERVICEIRC-5821376
  • published 6 Aug 2023
  • disclosed 4 Aug 2023
  • credit Val Lorentz

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

matrix-appservice-irc is an An IRC Bridge for Matrix

Affected versions of this package are vulnerable to Command Injection when crafting a command with newlines which would then be run by the IRC bridge bot. This is because it is not properly parsed.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

9.8 critical