CVE-2021-22910CWE-75

A sanitization vulnerability exists in Rocket.Chat server versions <3.13.2, <3.12.4, <3.11.4 that allowed queries to an endpoint which could result in a NoSQL…

published August 9, 2021

CVSS
—
EPSS
2%
Percentile
82.9
In the wild
Unconfirmed
What it is

⚠️ A sneaky sanitization gap in Rocket.Chat could open the door for NoSQL injection! This vulnerability affects server versions <3.13.2, <3.12.4, and <3.11.4.🔥 Think of this vulnerability as a restaurant with a menu that doesn't properly check what ingredients can be added to a dish — if anyone can sneak in anything they want, you might end up with some unexpected surprises on your plate! An attacker could potentially exploit this flaw to execute malicious queries on your server, which might lead to remote code execution (RCE). Imagine someone slipping in a secret sauce that can change your entire recipe — without you even knowing!

Put simply

Think of this vulnerability as a restaurant with a menu that doesn't properly check what ingredients can be added to a dish — if anyone can sneak in anything they want, you might end up with some unexpected surprises on your plate! This NoSQL injection vulnerability allows attackers to send specially crafted queries to the Rocket.Chat backend, bypassing sanitization processes. If successful, this could lead to unauthorized access or control of the server.

What to do

An attacker could potentially exploit this flaw to execute malicious queries on your server, which might lead to remote code execution (RCE). Imagine someone slipping in a secret sauce that can change your entire recipe — without you even knowing! Update your Rocket.Chat server to version 3.13.2 or higher, or to 3.12.4 or 3.11.4 if you're using those versions. Regularly review your input sanitization practices to prevent such vulnerabilities in the future! You've got this! Take action now and you'll keep your chat server secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02265 · 82.9th percentile
Weakness
CWE-75 · Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
Published
2021-08-09T12:27Z
EPSS history
Timeline
  • 09 AUG 12:27Z
    A sanitization vulnerability exists in Rocket.Chat server versions <3.13.2, <3.12.4, <3.11.4 that allowed queries to an endpoint which could result in a NoSQL…
    cvelistv5