CVE-2023-50718 NocoDB SQL Injection vulnerability

Medium 6.5 Published Updated

An authenticated attacker with create access can exploit SQL injection in NocoDB to leak sensitive database information.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-50718?

CVE-2023-50718 is a medium-severity SQL injection vulnerability in nocodb, published on 13 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

NocoDB is software for building databases as spreadsheets. Prior to version 0.202.10, an authenticated attacker with create access could conduct a SQL Injection attack on MySQL DB using unescaped `table_name`. This vulnerability may result in leakage of sensitive data in the database. Version 0.202.10 contains a patch for the issue.

Weakness: CWE-89

Which versions are affected by CVE-2023-50718?

2 open source packages ship an affected version, including nocodb. It affects 1 product.

PackageAffectedFixed in
nocodb npmAll versions0.202.10
nocodb npmAll versions0.202.10

Products include Nocodb Nocodb.

How do I fix CVE-2023-50718?

Upgrade nocodb to 0.202.10 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-50718 being exploited?

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

Sources

Also known as GHSA-8fxg-mr34-jqr8.

Is CVE-2023-50718 in your software?

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

Check your SBOMs for free