CVE-2019-16555: Build failure analyzer Inefficient Regular Expression Complexity Vulnerability

MODERATE
Advisory Identifier: GHSA-2hhc-f86x-x74f
CVSS 6.5
CWE-400 CWE-1333
Published
Advisory Summary

CVE-2019-16555 is a MODERATE (CVSS 6.5) inefficient regular expression complexity vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Build failure analyzer libraries in the Maven ecosystem. The issue involves inefficient regular expression complexity in jenkins build failure analyzer plugin. Remediation is available by upgrading affected packages to version 1.24.2.

CVE-2019-16555 at a Glance

CVE Identifier CVE-2019-16555
GHSA Identifier GHSA-2hhc-f86x-x74f
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Build failure analyzer
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

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:H).

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 High (A:H)

How to Fix CVE-2019-16555

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-16555, 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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 user-supplied regular expression in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier was processed in a way that wasn't interruptible, allowing attackers to have Jenkins evaluate a regular expression without the ability to interrupt this process.

CVE-2019-16555 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-16555?
CVE-2019-16555 is a security vulnerability in Build failure analyzer involving Inefficient Regular Expression Complexity in Jenkins Build Failure Analyzer Plugin under CWE-400: Uncontrolled Resource Consumption.
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-16555?
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-16555?
CVE-2019-16555 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2019-16555?
CVE-2019-16555 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2019-16555?
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-2hhc-f86x-x74f",
  "modified" : "2023-10-26T20:49:01Z",
  "published" : "2022-05-24T17:03:47Z",
  "aliases" : [ "CVE-2019-16555" ],
  "summary" : "Inefficient Regular Expression Complexity in Jenkins Build Failure Analyzer Plugin",
  "details" : "A user-supplied regular expression in Jenkins Build Failure Analyzer Plugin 1.24.1 and earlier was processed in a way that wasn't interruptible, allowing attackers to have Jenkins evaluate a regular expression without the ability to interrupt this process.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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-16555"
  }, {
    "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-1333", "CWE-400" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-01T22:49:28Z",
    "nvd_published_at" : "2019-12-17T15:15:00Z"
  }
}