Vulnerabilities in pkg:maven/postgresql/pljava-public
PACKAGECVE-2016-0767 is a MODERATE (CVSS 6.5) postgresql pl/java improper privilege management vulnerability (CWE-269: Improper Privilege Management) affecting Pljava public libraries in the Maven ecosystem. The issue involves postgresql pl/java improper privilege management. Remediation is available by upgrading affected packages to version 1.5.0.
pkg:maven/postgresql/pljava-public
Vulnerability advisories affecting package pkg:maven/postgresql/pljava-public. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-837x-xww6-7jqm | CVE-2016-0767 | MODERATE | PostgreSQL PL/Java Improper Privilege Management |
CVE-2016-0767 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2016-0767
To remediate this vulnerability, upgrade all affected Pljava public dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>postgresql</groupId>
<artifactId>pljava-public</artifactId>
<version>1.5.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=postgresql
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2016-0767, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=postgresql
Analyze the terminal output to locate any version of Pljava public in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=postgresql command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Pljava public, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-0767 Affected Pljava public Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
postgresql:pljava-public
|
Maven |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2016-0767?
Which Pljava public versions are affected?
What version fixes CVE-2016-0767?
Is pljava-public affected?
What is the CVSS score of CVE-2016-0767?
What CWE is associated with CVE-2016-0767?
How can I check Maven dependencies for CVE-2016-0767?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-837x-xww6-7jqm",
"modified" : "2023-07-28T18:44:32Z",
"published" : "2022-05-13T01:06:11Z",
"aliases" : [ "CVE-2016-0767" ],
"summary" : "PostgreSQL PL/Java Improper Privilege Management",
"details" : "PostgreSQL PL/Java before 1.5.0 allows remote authenticated users with USAGE permission on the public schema to alter the public schema classpath.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "postgresql:pljava-public"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0767"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tada/pljava"
}, {
"type" : "WEB",
"url" : "https://tada.github.io/pljava/releasenotes-pre1_6.html#PL.2FJava_1.5.0_.2829_March_2016.29"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-28T18:44:32Z",
"nvd_published_at" : "2017-06-06T18:29:00Z"
}
}