CVE-2022-30331 Code injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary C++ code via unvalidated GSQL queries in TigerGraph's User-Defined Functions feature.

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

What is CVE-2022-30331?

CVE-2022-30331 is a high-severity code injection vulnerability in n/a, published on 5 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The User-Defined Functions (UDF) feature in TigerGraph 3.6.0 allows installation of a query (in the GSQL query language) without proper validation. Consequently, an attacker can execute arbitrary C++ code. NOTE: the vendor's position is "GSQL was behaving as expected."

Weakness: CWE-20

Which versions are affected by CVE-2022-30331?

1 open source package ship an affected version, including pytigergraph. It affects 1 product.

PackageAffectedFixed in
pytigergraph PyPIAll versionsNone

Products include Tigergraph Tigergraph.

How do I fix CVE-2022-30331?

No fix has been published for CVE-2022-30331 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-30331 being exploited?

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

Sources

Also known as GHSA-56x5-64f5-4m37, PYSEC-2022-43064.

Is CVE-2022-30331 in your software?

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

Check your SBOMs for free