CVE-2022-3751 SQL Injection in owncast/owncast

High 8.8 Published Updated

Attackers can execute arbitrary SQL commands in Owncast, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3751?

CVE-2022-3751 is a high-severity SQL injection vulnerability in owncast/owncast, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL Injection in GitHub repository owncast/owncast prior to 0.0.13.

Weakness: CWE-89

Which versions are affected by CVE-2022-3751?

3 open source packages ship an affected version, including github.com/owncast/owncast. It affects 1 product.

PackageAffectedFixed in
github.com/owncast/owncast GoAll versions0.0.13
github.com/owncast/owncast GoAll versions0.0.13
github.com/owncast/owncast GoAll versions0.0.13

Products include Owncast Project Owncast.

How do I fix CVE-2022-3751?

Upgrade github.com/owncast/owncast to 0.0.13 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-2022-3751 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3751 exists.

Sources

Also known as GHSA-cvh4-cjc9-84qm, GO-2022-1138.

Is CVE-2022-3751 in your software?

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

Check your SBOMs for free