CVE-2019-16553: Build failure analyzer Cross-Site Request Forgery Vulnerability

HIGH
Advisory Identifier: GHSA-543w-gq76-pw7g
CVSS 8.8
CWE-352
Published
Advisory Summary

CVE-2019-16553 is a HIGH (CVSS 8.8) cross-site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Build failure analyzer libraries in the Maven ecosystem. The issue involves cross-site request forgery in jenkins build failure analyzer plugin. Remediation is available by upgrading affected packages to version 1.24.2.

CVE-2019-16553 at a Glance

CVE Identifier CVE-2019-16553
GHSA Identifier GHSA-543w-gq76-pw7g
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Build failure analyzer
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-16553

To remediate this vulnerability, upgrade all affected Build failure analyzer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer fixed: 1.24.2
<dependency>
    <groupId>com.sonyericsson.jenkins.plugins.bfa</groupId>
    <artifactId>build-failure-analyzer</artifactId>
    <version>1.24.2</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=com.sonyericsson.jenkins.plugins.bfa

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-16553, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.sonyericsson.jenkins.plugins.bfa

Analyze the terminal output to locate any version of Build failure analyzer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.24.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.sonyericsson.jenkins.plugins.bfa 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 CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Build failure analyzer, 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

A cross-site request forgery vulnerability in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier allows attackers to have Jenkins evaluate a computationally expensive regular expression.

CVE-2019-16553 Affected Build failure analyzer Versions

1 component(s)
Fixed Versions:
1.24.2
Product / Package Ecosystem Affected Versions Fixed Version
com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer
Maven
< 1.24.2
1.24.2

References

Frequently Asked Questions

What is CVE-2019-16553?
CVE-2019-16553 is a security vulnerability in Build failure analyzer involving Cross-Site Request Forgery in Jenkins Build Failure Analyzer Plugin under CWE-352: Cross-Site Request Forgery (CSRF).
Which Build failure analyzer versions are affected?
Affected versions include releases prior to 1.24.2 across affected packages: com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer.
What version fixes CVE-2019-16553?
Upgrading to 1.24.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is build-failure-analyzer affected?
Yes, com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer is affected in releases prior to 1.24.2. Upgrade your dependency to 1.24.2 or later.
What is the CVSS score of CVE-2019-16553?
CVE-2019-16553 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-16553?
CVE-2019-16553 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2019-16553?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.sonyericsson.jenkins.plugins.bfa'. 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-543w-gq76-pw7g",
  "modified" : "2022-11-01T22:48:41Z",
  "published" : "2022-05-24T17:03:46Z",
  "aliases" : [ "CVE-2019-16553" ],
  "summary" : "Cross-Site Request Forgery in Jenkins Build Failure Analyzer Plugin",
  "details" : "A cross-site request forgery vulnerability in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier allows attackers to have Jenkins evaluate a computationally expensive regular expression.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.24.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-16553"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/build-failure-analyzer-plugin/commit/f316c885552ac75289cbb11b2af5757f18784bcb"
  }, {
    "type" : "WEB",
    "url" : "https://jenkins.io/security/advisory/2019-12-17/#SECURITY-1651"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/12/17/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-01T22:48:41Z",
    "nvd_published_at" : "2019-12-17T15:15:00Z"
  }
}