GHSA-52rh-5rpj-c3w6

Suggest an improvement
Source
https://github.com/advisories/GHSA-52rh-5rpj-c3w6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-52rh-5rpj-c3w6/GHSA-52rh-5rpj-c3w6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-52rh-5rpj-c3w6
Published
2022-05-05T16:00:50Z
Modified
2026-02-11T22:03:06.197377Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper handling of multiline messages in node-irc
Details

node-irc is a socket wrapper for the IRC protocol that extends Node.js' EventEmitter. The vulnerability allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. Incorrect handling of a CR character allowed for making part of the message be sent to the IRC server verbatim rather than as a message to the channel. The vulnerability has been patched in node-irc version 1.2.1.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-05T16:00:50Z",
    "cwe_ids": [
        "CWE-74",
        "CWE-93"
    ],
    "severity": "HIGH",
    "nvd_published_at": null
}
References

Affected packages

npm / matrix-org-irc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-52rh-5rpj-c3w6/GHSA-52rh-5rpj-c3w6.json"
last_known_affected_version_range
"<= 1.2.0"