Skip to content
Heist/ feed
Back to feed
Medium

matrix-appservice-irc allows IRC Command injection in provisioning API

Type: advisorySources: OSV

matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The provisioning API of the matrix-appservice-irc bridge up to version 3.0.2 contains a vulnerability which can lead to arbitrary IRC command execution as the bridge IRC bot. The vulnerability has been patched in matrix-appservice-irc version 3.0.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52505
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:31 UTC · Revision 1

Source evidence

matrix-appservice-irc allows IRC Command injection in provisioning API

core-osv · Original source

Published 14 Nov 2024, 15:29 UTC

matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The provisioning API of the matrix-appservice-irc bridge up to version 3.0.2 contains a vulnerability which can lead to arbitrary IRC command execution as the bridge IRC bot. The vulnerability has been patched in matrix-appservice-irc version 3.0.3.

osv:CVE-2024-52505
Complete source record
{
  "id": "604e83db7429f3c52108bbb59ee7b19635c272ec65d67c694f909850ae37c582",
  "url": "https://osv.dev/vulnerability/CVE-2024-52505",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "matrix-appservice-irc allows IRC Command injection in provisioning API",
    "summary": "matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The provisioning API of the matrix-appservice-irc bridge up to version 3.0.2 contains a vulnerability which can lead to arbitrary IRC command execution as the bridge IRC bot. The vulnerability has been patched in matrix-appservice-irc version 3.0.3.",
    "evidence": "osv:CVE-2024-52505",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-52505",
      "aliases": [
        "CVE-2024-52505",
        "GHSA-c3hj-hg7p-rrq5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/matrix-org/matrix-appservice-irc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b4377c3ebe408d6cbe6ec0308fdf0097f73f5dbf"
                },
                {
                  "fixed": "4a024eae1a992b1ea67e71a998e0b833b54221e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4a024eae1a992b1ea67e71a998e0b833b54221e2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "v3.0.0-rc1",
            "3.0.0-rc1",
            "2.0.1",
            "2.0.0",
            "1.0.1",
            "1.0.0",
            "1.0.0-rc1",
            "0.37.1",
            "0.36.0",
            "0.33.1",
            "0.33.0",
            "0.33.0-rc2",
            "0.32.0",
            "0.32.0-rc2",
            "0.32.0-rc1",
            "0.31.0",
            "0.31.0-rc1",
            "0.27.0",
            "0.27.0-rc3",
            "0.27.0-rc2",
            "0.27.0-rc1",
            "0.25.0-rc1",
            "0.24.0",
            "0.24.0-rc1",
            "0.23.0-fosdem",
            "0.23.0",
            "0.23.0-rc1",
            "0.22.0",
            "0.22.0-rc1",
            "0.21.0",
            "0.21.0-rc3",
            "0.20.2",
            "develop-2019-02-17",
            "0.15.2",
            "0.14.0-rc4",
            "0.14.0-rc3",
            "0.14.0-rc2",
            "0.14.0-rc1",
            "develop-2019-11-28",
            "develop-2019-11-26",
            "develop-2019-11-15",
            "develop-2019-11-12",
            "matrix-org-testing",
            "0.10.1",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-rc1",
            "0.7.1",
            "0.7.0",
            "0.5.0",
            "0.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52505.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.229826979Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52505.json",
        "https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-c3hj-hg7p-rrq5",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52505",
        "https://github.com/matrix-org/matrix-appservice-irc/commit/4a024eae1a992b1ea67e71a998e0b833b54221e2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-147"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52505.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52505",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504706,
  "published_at": "2024-11-14T15:29:20.132+00:00"
}