Vulnerabilities in pkg:maven/org.jboss.resteasy/resteasy-bom

PACKAGE
Advisory Identifier: GHSA-hgjr-xwj3-jfvw
Advisory Summary

CVE-2016-9606 is a HIGH (CVSS 8.1) jboss resteasy vulnerable to improper vulnerability (CWE-20: Improper Input Validation) affecting Resteasy bom libraries in the Maven ecosystem. The issue involves jboss resteasy vulnerable to improper input validation. Remediation is available by upgrading affected packages to version 3.1.2.Final.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jboss.resteasy/resteasy-bom

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jboss.resteasy/resteasy-bom. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hgjr-xwj3-jfvw CVE-2016-9606 HIGH JBoss RESTEasy vulnerable to Improper Input Validation
GHSA-37g7-8vjj-pjpj CVE-2020-14326 HIGH RESTEasy 4.5.5.Final in hash flooding
GHSA-5h26-c766-g93v CVE-2021-20293 HIGH Cross-Site Scripting
GHSA-9699-gm7f-cmjv CVE-2020-25724 MODERATE Unsynchronized Access to Shared Data in a Multithreaded Context in RESTEasy
GHSA-29qj-rvv6-qrmv CVE-2020-10688 MODERATE Cross-site scripting in RESTEasy

CVE-2016-9606 at a Glance

CVE Identifier CVE-2016-9606
GHSA Identifier GHSA-hgjr-xwj3-jfvw
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-20: Improper Input Validation
Affected Product Resteasy bom
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

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

How to Fix CVE-2016-9606

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

org.jboss.resteasy:resteasy-bom fixed: 3.1.2.Final
<dependency>
    <groupId>org.jboss.resteasy</groupId>
    <artifactId>resteasy-bom</artifactId>
    <version>3.1.2.Final</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=org.jboss.resteasy

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.jboss.resteasy

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

Note: The mvn dependency:tree -Dincludes=org.jboss.resteasy 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Resteasy bom, 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

JBoss RESTEasy before version 3.1.2 could be forced into parsing a request with YamlProvider, resulting in unmarshalling of potentially untrusted data which could allow an attacker to execute arbitrary code with RESTEasy application permissions.

CVE-2016-9606 Affected Resteasy bom Versions

1 component(s)
Fixed Versions:
3.1.2.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.jboss.resteasy:resteasy-bom
Maven
< 3.1.2.Final
3.1.2.Final

References

NVD — CVE-2016-9606 NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-9606
access.redhat.com/errata/rhsa-2017:12... WEB
https://access.redhat.com/errata/RHSA-2017:1253
access.redhat.com/errata/rhsa-2017:12... WEB
https://access.redhat.com/errata/RHSA-2017:1254
access.redhat.com/errata/rhsa-2017:12... WEB
https://access.redhat.com/errata/RHSA-2017:1256
access.redhat.com/errata/rhsa-2017:12... WEB
https://access.redhat.com/errata/RHSA-2017:1260
access.redhat.com/errata/rhsa-2017:14... WEB
https://access.redhat.com/errata/RHSA-2017:1410
access.redhat.com/errata/rhsa-2017:14... WEB
https://access.redhat.com/errata/RHSA-2017:1411
access.redhat.com/errata/rhsa-2017:14... WEB
https://access.redhat.com/errata/RHSA-2017:1412
access.redhat.com/errata/rhsa-2017:16... WEB
https://access.redhat.com/errata/RHSA-2017:1675
access.redhat.com/errata/rhsa-2017:16... WEB
https://access.redhat.com/errata/RHSA-2017:1676
access.redhat.com/errata/rhsa-2018:29... WEB
https://access.redhat.com/errata/RHSA-2018:2909
access.redhat.com/errata/rhsa-2018:29... WEB
https://access.redhat.com/errata/RHSA-2018:2913
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1400644
Resteasy bom Source Repository REPOSITORY
https://github.com/resteasy/Resteasy
rhn.redhat.com/errata/rhsa-2017-12... WEB
http://rhn.redhat.com/errata/RHSA-2017-1255.html
rhn.redhat.com/errata/rhsa-2017-14... WEB
http://rhn.redhat.com/errata/RHSA-2017-1409.html
Resteasy bom Security Information SECURITY
http://www.securityfocus.com/bid/94940
Resteasy bom Security Information SECURITY
http://www.securitytracker.com/id/1038524

Frequently Asked Questions

What is CVE-2016-9606?
CVE-2016-9606 is a security vulnerability in Resteasy bom involving JBoss RESTEasy vulnerable to Improper Input Validation under CWE-20: Improper Input Validation.
Which Resteasy bom versions are affected?
Affected versions include releases prior to 3.1.2.Final across affected packages: org.jboss.resteasy:resteasy-bom.
What version fixes CVE-2016-9606?
Upgrading to 3.1.2.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is resteasy-bom affected?
Yes, org.jboss.resteasy:resteasy-bom is affected in releases prior to 3.1.2.Final. Upgrade your dependency to 3.1.2.Final or later.
What is the CVSS score of CVE-2016-9606?
CVE-2016-9606 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2016-9606?
CVE-2016-9606 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2016-9606?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jboss.resteasy'. 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-hgjr-xwj3-jfvw",
  "modified" : "2022-11-22T19:37:58Z",
  "published" : "2022-05-14T02:37:13Z",
  "aliases" : [ "CVE-2016-9606" ],
  "summary" : "JBoss RESTEasy vulnerable to Improper Input Validation",
  "details" : "JBoss RESTEasy before version 3.1.2 could be forced into parsing a request with YamlProvider, resulting in unmarshalling of potentially untrusted data which could allow an attacker to execute arbitrary code with RESTEasy application permissions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jboss.resteasy:resteasy-bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.2.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-9606"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1253"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1254"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1256"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1260"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1410"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1411"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1412"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1675"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:1676"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2909"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2018:2913"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1400644"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/resteasy/Resteasy"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2017-1255.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2017-1409.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/94940"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1038524"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-22T19:37:58Z",
    "nvd_published_at" : "2018-03-09T20:29:00Z"
  }
}