CVE-2019-16554: Build failure analyzer Missing Permission Check Vulnerability

MODERATE
Advisory Identifier: GHSA-x9gc-p2qp-4p7v
CVSS 4.3
CWE-284 CWE-276
Published
Advisory Summary

CVE-2019-16554 is a MODERATE (CVSS 4.3) missing permission check vulnerability (CWE-284: Improper Access Control) affecting Build failure analyzer libraries in the Maven ecosystem. The issue involves missing permission check in jenkins build failure analyzer plugin. Remediation is available by upgrading affected packages to version 1.24.2.

CVE-2019-16554 at a Glance

CVE Identifier CVE-2019-16554
GHSA Identifier GHSA-x9gc-p2qp-4p7v
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-284: Improper Access Control
Affected Product Build failure analyzer
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2019-16554

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-16554, 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource 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 missing permission check in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier allows attackers with Overall/Read permission to have Jenkins evaluate a computationally expensive regular expression.

CVE-2019-16554 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-16554?
CVE-2019-16554 is a security vulnerability in Build failure analyzer involving Missing permission check in Jenkins Build Failure Analyzer Plugin under CWE-284: Improper Access Control.
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-16554?
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-16554?
CVE-2019-16554 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2019-16554?
CVE-2019-16554 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2019-16554?
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-x9gc-p2qp-4p7v",
  "modified" : "2023-10-26T20:49:03Z",
  "published" : "2022-05-24T17:03:47Z",
  "aliases" : [ "CVE-2019-16554" ],
  "summary" : "Missing permission check in Jenkins Build Failure Analyzer Plugin",
  "details" : "A missing permission check in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier allows attackers with Overall/Read permission to have Jenkins evaluate a computationally expensive regular expression.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "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-16554"
  }, {
    "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-276", "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-01T22:48:53Z",
    "nvd_published_at" : "2019-12-17T15:15:00Z"
  }
}