CVE-2020-2244: XSS vulnerability in Jenkins Build Failure Analyzer Plugin

Summary

24/05/2022
Yes i
High
8.0

CVE-2020-2244: XSS vulnerability in Jenkins Build Failure Analyzer Plugin. Affects com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer versions < 1.27.1. Fixed in 1.27.1. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Jenkins Build Failure Analyzer Plugin is a Maven ecosystem package developed by com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer. It is used in Jenkins to analyze build failures and provide insights into the causes of failures. The plugin allows users to define patterns in the build log that indicate failures and provides diagnostic information to help troubleshoot and fix issues. However, versions 1.27.0 and earlier of the plugin are vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The XSS vulnerability in Jenkins Build Failure Analyzer Plugin (CVE-2020-2244) arises from a failure to properly escape matching text in a form validation response. Attackers who can provide console output for builds used to test build log indications can exploit this vulnerability. By injecting malicious scripts into the console output, an attacker can execute arbitrary code in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities. The vulnerability has a CVSS score of 8.0, indicating a high severity level.

How To Fix

Minimum fixed version

1.27.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of the plugin.

Conclusion

The Jenkins Build Failure Analyzer Plugin version 1.27.0 and earlier are vulnerable to a cross-site scripting (XSS) attack. It is crucial to upgrade to version 1.27.1 or later to fix the vulnerability. Regularly updating software components and following secure coding practices are essential to maintain a secure environment. For additional support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary code in the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.

You can use Vulert Playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file.

There are no known public exploits for this vulnerability at the time of this report. However, it is important to promptly update to the fixed version to mitigate the risk.

In addition to updating to the fixed version of the plugin, it is recommended to follow secure coding practices and regularly update all software components to minimize the risk of vulnerabilities.

For further support on vulnerability remediation, you can reach out to info@devnack.com. They can provide guidance and assistance in addressing this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer.

How To Fix

Minimum fixed version

1.27.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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