SQL Injection Affecting vanna package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-VANNA-7430235
  • published8 Jul 2024
  • disclosed5 Jul 2024
  • creditPeng Zhou

Introduced: 5 Jul 2024

CVE-2024-5753  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for vanna.

Overview

vanna is a Generate SQL queries from natural language

Affected versions of this package are vulnerable to SQL Injection through the pg_read_file function. An attacker can read arbitrary local files on the server by exploiting exposed SQL queries.

Note

By default pg_read_file() is restricted to superusers, but other users can be granted the EXECUTE permission to run this function.

References

CVSS Scores

version 4.0
version 3.1