Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsUpgrade org.postgresql:postgresql to version 42.7.15 or higher.
org.postgresql:postgresql is a Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database.
Affected versions of this package are vulnerable to Uncontrolled Search Path Element in the TypeInfoCache, PgDatabaseMetaData and PgResultSetMetaData classes, whose catalog queries use unqualified operators and functions, and whose type lookups rank an unqualified type name by current_schemas(false), which leaves out pg_catalog. A user with CREATE on a schema of the application's search_path can execute SQL with the application role's privileges by defining an operator with an exact type match that pg_catalog lacks (such as oid = int4 or name = varchar), which runs when the application calls metadata methods such as getTableName() or getTables(). A user with only the default TEMP privilege can do the same by creating a domain with a built-in type name such as interval in their temporary schema, whose CHECK then runs in the application's session when the application binds a value of that type, for example a PGInterval parameter. This requires the application to call the affected metadata methods or to bind such typed values.
This vulnerability can be avoided, for the operator case, by ensuring no schema on the application role's search_path is writable by other roles.