CVE-2022-29166 json
Improper handling of multiline messages in matrix-appservice-irc
published 4y ago modified 4mo ago also GHSA-37hr-348p-rmf4 , EUVD-2022-2126
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.
Patch / fix
- npm matrix-appservice-irc 0.33.2
- matrix matrix_irc_bridge 0.33.2
Is CVE-2022-29166 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | matrix-appservice-irc | <0.33.2 |
0.33.2 |
Affected products
- matrix-org matrix-appservice-irc
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
matrix.org
/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity
web, release-notes, vendor-advisory
-
github.com
/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4
web, third-party-advisory
-
github.com
/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-29166
advisory
-
github.com
/matrix-org/matrix-appservice-irc
package
Sources
- CVE List CVE-2022-29166
- GitHub Advisory GHSA-37hr-348p-rmf4
- NVD CVE-2022-29166
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.