CVE-2022-22121 NocoDB - CSV Injection in User Management

High 8.0 Published Updated

A low-privileged attacker can inject malicious formulas into NocoDB tables, leading to code execution when an administrator exports and opens the data as CSV.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-22121?

CVE-2022-22121 is a high-severity code injection vulnerability in nocodb, published on 10 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In NocoDB, versions 0.81.0 through 0.83.8 are affected by CSV Injection vulnerability (Formula Injection). A low privileged attacker can create a new table to inject payloads in the table rows. When an administrator accesses the User Management endpoint and exports the data as a CSV file and opens it, the payload gets executed.

Weakness: CWE-1236

Which versions are affected by CVE-2022-22121?

It affects 1 product.

Products include Nocodb Nocodb.

How do I fix CVE-2022-22121?

No fix has been published for CVE-2022-22121 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-22121 being exploited?

There is no known exploitation of CVE-2022-22121 in the wild and no public exploit code.

Sources

Also known as GHSA-6gjq-vmwg-37pv.

Is CVE-2022-22121 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free