opensearch-project / opensearch-build

🧰 OpenSearch / OpenSearch-Dashboards Build Systems
Apache License 2.0
141 stars 275 forks source link

CVE-2022-29036 (Medium) detected in credentials-2.6.2.jar - autoclosed #1961

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-29036 - Medium Severity Vulnerability

Vulnerable Library - credentials-2.6.2.jar

This plugin allows you to store credentials in Jenkins.

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.plugins/credentials/2.6.2/3a583f5593fb33681b9eb195f69d8d11d9a47dc7/credentials-2.6.2.jar,/ches/modules-2/files-2.1/org.jenkins-ci.plugins/credentials/2.6.2/3a583f5593fb33681b9eb195f69d8d11d9a47dc7/credentials-2.6.2.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.plugins/credentials/2.6.2/3a583f5593fb33681b9eb195f69d8d11d9a47dc7/credentials-2.6.2.jar,/ches/modules-2/files-2.1/org.jenkins-ci.plugins/credentials/2.6.2/3a583f5593fb33681b9eb195f69d8d11d9a47dc7/credentials-2.6.2.jar

Dependency Hierarchy: - :x: **credentials-2.6.2.jar** (Vulnerable Library)

Found in HEAD commit: b439dcbcaec85cb505ff1870eaac296568ab9261

Found in base branch: main

Vulnerability Details

Jenkins Credentials Plugin 1111.v35a_307992395 and earlier, except 1087.1089.v2f1b_9a_b_040e4, 1074.1076.v39c30cecb_0e2, and 2.6.1.1, does not escape the name and description of Credentials parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Publish Date: 2022-04-12

URL: CVE-2022-29036

CVSS 3 Score Details (5.4)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.jenkins.io/security/advisory/2022-04-12/

Release Date: 2022-04-12

Fix Resolution: org.jenkins-ci.plugins:credentials:1112.vc87b_7a_3597f6


mend-for-github-com[bot] commented 2 years ago

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