CVE-2019-10475: Jenkins build-metrics Plugin reflected cross-site scripting vulnerability

Summary

24/05/2022
No i
Moderate
6.1

CVE-2019-10475: Jenkins build-metrics Plugin reflected cross-site scripting vulnerability. Affects org.jenkins-ci.plugins:build-metrics versions < 1.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Jenkins build-metrics Plugin is an open-source plugin for the Jenkins automation server. It provides metrics and visualizations for build data, allowing users to analyze and monitor their Jenkins builds. The plugin is written in Java and follows the Maven ecosystem. The vulnerability in question is a reflected cross-site scripting (XSS) vulnerability that affects the plugin.

Vulnerability Detail

The Jenkins build-metrics Plugin is vulnerable to a reflected cross-site scripting (XSS) attack. This vulnerability arises due to improper escaping of the label query parameter. An attacker can exploit this vulnerability by injecting malicious code into the label parameter, which will then be executed in the context of the user's browser. This can lead to various security risks, including the theft of sensitive information, session hijacking, and unauthorized actions on behalf of the user. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there is no specific workaround provided for this vulnerability. However, users can consider implementing general security best practices to minimize the risk of XSS attacks. This includes input validation and sanitization, ensuring proper encoding of user-generated content, and implementing Content Security Policies (CSP) to restrict the execution of untrusted scripts.

Conclusion

The Jenkins build-metrics Plugin is vulnerable to a reflected cross-site scripting (XSS) attack, which can have serious security implications. It is important to stay informed about any updates or patches addressing this vulnerability and apply them as soon as they become available. Regularly monitoring official sources for security advisories and following best practices for securing Jenkins installations can help mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:build-metrics →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code in the context of a user's browser, potentially leading to sensitive information theft, session hijacking, and unauthorized actions.

As of the publication of this advisory, there is no fix available. It is recommended to monitor official sources for updates and apply any patches or updates as soon as they become available.

No, the vulnerability affects versions 0 to 1.3 of the Jenkins build-metrics Plugin.

There is no known exploit at the time of this advisory. However, it is important to address this vulnerability promptly once a fix is available to mitigate the risk of potential exploitation.

In addition to updating the Jenkins build-metrics Plugin once a fix is available, it is recommended to follow general security best practices, such as regularly updating Jenkins and its plugins, implementing strong authentication mechanisms, and monitoring for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:build-metrics.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback