amaybaum-dev / verademo

A deliberately insecure Java web application
MIT License
0 stars 3 forks source link

org.apache.sling.api-2.0.2-incubator.jar: 1 vulnerabilities (highest severity is: 3.7) non-reachable - autoclosed #19

Closed dev-mend-for-github-com[bot] closed 11 months ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - org.apache.sling.api-2.0.2-incubator.jar

The Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Sling API bundle does not include the Servlet API but instead requires the API to be provided by the Servlet container in which the Sling framework is running or by another bundle.

Library home page: http://incubator.apache.org/sling/org.apache.sling.api

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.2-incubator/org.apache.sling.api-2.0.2-incubator.jar,/WEB-INF/lib/org.apache.sling.api-2.0.2-incubator.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (org.apache.sling.api version) Remediation Possible** Reachability
CVE-2015-2944 Low 3.7 org.apache.sling.api-2.0.2-incubator.jar Direct 2.2.2

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2015-2944 ### Vulnerable Library - org.apache.sling.api-2.0.2-incubator.jar

The Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Sling API bundle does not include the Servlet API but instead requires the API to be provided by the Servlet container in which the Sling framework is running or by another bundle.

Library home page: http://incubator.apache.org/sling/org.apache.sling.api

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.2-incubator/org.apache.sling.api-2.0.2-incubator.jar,/WEB-INF/lib/org.apache.sling.api-2.0.2-incubator.jar

Dependency Hierarchy: - :x: **org.apache.sling.api-2.0.2-incubator.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

The vulnerable code is not reachable.

### Vulnerability Details

Multiple cross-site scripting (XSS) vulnerabilities in Apache Sling API before 2.2.2 and Apache Sling Servlets Post before 2.1.2 allow remote attackers to inject arbitrary web script or HTML via the URI, related to (1) org/apache/sling/api/servlets/HtmlResponse and (2) org/apache/sling/servlets/post/HtmlResponse.

Publish Date: 2015-06-02

URL: CVE-2015-2944

### CVSS 3 Score Details (3.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2015-2944

Release Date: 2015-06-02

Fix Resolution: 2.2.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

dev-mend-for-github-com[bot] commented 11 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.