Vulnerabilities in pkg:maven/org.picketlink/picketlink-tomcat-common

PACKAGE
Advisory Identifier: GHSA-9qhq-j4xm-cw48
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.picketlink/picketlink-tomcat-common

1 Known Advisory Record(s)

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

CVE Identifier CVE-2015-3158
GHSA Identifier GHSA-9qhq-j4xm-cw48
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Apache Tomcat
Package Ecosystem Maven
Published Date
Last Updated

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.

org.picketlink:picketlink-tomcat-common fixed: 2.7.1.Final
<dependency>
    <groupId>org.picketlink</groupId>
    <artifactId>picketlink-tomcat-common</artifactId>
    <version>2.7.1.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2015-3158 Affected Apache Tomcat Versions

1 component(s)
Fixed Versions:
2.7.1.Final
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?
CVE-2015-3158 is a security vulnerability in Apache Tomcat involving PicketLink does not properly check role based authorization under General Security Weakness.
Which Apache Tomcat versions are affected?
Affected versions include releases prior to 2.7.1.Final across affected packages: org.picketlink:picketlink-tomcat-common.
What version fixes CVE-2015-3158?
Upgrading to 2.7.1.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is picketlink-tomcat-common affected?
Yes, org.picketlink:picketlink-tomcat-common is affected in releases prior to 2.7.1.Final. Upgrade your dependency to 2.7.1.Final or later.
What CWE is associated with CVE-2015-3158?
CVE-2015-3158 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2015-3158?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.picketlink'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}