Vulnerabilities in pkg:maven/org.picketlink/picketlink-tomcat-common
PACKAGECVE-2015-3158 is a MODERATE picketlink does not properly check vulnerability (General Security Weakness) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves picketlink does not properly check role based authorization. Remediation is available by upgrading affected packages to version 2.7.1.Final.
pkg:maven/org.picketlink/picketlink-tomcat-common
Vulnerability advisories affecting package pkg:maven/org.picketlink/picketlink-tomcat-common. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-9qhq-j4xm-cw48 | CVE-2015-3158 | MODERATE | PicketLink does not properly check role based authorization |
CVE-2015-3158 at a Glance
How to Fix CVE-2015-3158
To remediate this vulnerability, upgrade all affected Apache Tomcat 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>org.picketlink</groupId>
<artifactId>picketlink-tomcat-common</artifactId>
<version>2.7.1.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.picketlink
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2015-3158, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.picketlink
Analyze the terminal output to locate any version of Apache Tomcat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.1.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.picketlink 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 General Security Weakness. In Apache Tomcat, 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-2015-3158 Affected Apache Tomcat Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.picketlink:picketlink-tomcat-common
|
Maven |
< 2.7.1.Final
|
2.7.1.Final
|
References
Frequently Asked Questions
What is CVE-2015-3158?
Which Apache Tomcat versions are affected?
What version fixes CVE-2015-3158?
Is picketlink-tomcat-common affected?
What CWE is associated with CVE-2015-3158?
How can I check Maven dependencies for CVE-2015-3158?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qhq-j4xm-cw48",
"modified" : "2024-01-05T20:18:20Z",
"published" : "2022-05-17T04:09:07Z",
"aliases" : [ "CVE-2015-3158" ],
"summary" : "PicketLink does not properly check role based authorization",
"details" : "The `invokeNextValve` function in `identity/federation/bindings/tomcat/idp/AbstractIDPValve.java` in PicketLink before 2.7.1.Final does not properly check role based authorization, which allows remote authenticated users to gain access to restricted application resources via a (1) direct request or (2) request through an SP initiated flow.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.picketlink:picketlink-tomcat-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.1.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3158"
}, {
"type" : "WEB",
"url" : "https://github.com/picketlink/picketlink-bindings/pull/124"
}, {
"type" : "WEB",
"url" : "https://github.com/picketlink/picketlink-bindings/commit/ae6ff4adfc562880e714a089983054b47610ecec"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1216123"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/picketlink/picketlink-bindings"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/PLINK-708"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1669.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1670.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1671.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1672.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1673.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-05T20:18:20Z",
"nvd_published_at" : "2015-08-26T19:59:00Z"
}
}