Vulnerabilities in pkg:maven/org.jboss.resteasy/resteasy-jaxrs
PACKAGECVE-2017-7561 is a HIGH (CVSS 7.5) inconsistent interpretation of http requests vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Resteasy jaxrs libraries in the Maven ecosystem. The issue involves inconsistent interpretation of http requests in red hat jboss eap. Remediation is available by upgrading affected packages to version 3.0.25.Final, 3.5.0.CR1.
pkg:maven/org.jboss.resteasy/resteasy-jaxrs
Vulnerability advisories affecting package pkg:maven/org.jboss.resteasy/resteasy-jaxrs. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-57q5-x8jf-g7h8 | CVE-2017-7561 | HIGH | Inconsistent Interpretation of HTTP Requests in Red Hat JBoss EAP |
| GHSA-wxvr-vqfp-9cqw | CVE-2016-6346 | HIGH | Denial of service in JBoss resteasy |
| GHSA-pc54-pchm-xcw6 | CVE-2014-7839 | MODERATE | XML External Entity Reference in RESTEasy |
CVE-2017-7561 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2017-7561
To remediate this vulnerability, upgrade all affected Resteasy jaxrs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.0.25.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.5.0.CR1</version>
</dependency>
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-2017-7561, 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 jaxrs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.25.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-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Resteasy jaxrs, 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
CVE-2017-7561 Affected Resteasy jaxrs Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jboss.resteasy:resteasy-jaxrs
|
Maven |
≥ 3.0.7.Final
< 3.0.25.Final
|
3.0.25.Final
|
|
org.jboss.resteasy:resteasy-jaxrs
|
Maven |
≥ 3.1.4.Final
< 3.5.0.CR1
All 1 versions
3.1.4.Final
|
3.5.0.CR1
|
References
Frequently Asked Questions
What is CVE-2017-7561?
Which Resteasy jaxrs versions are affected?
What version fixes CVE-2017-7561?
Is resteasy-jaxrs affected?
What is the CVSS score of CVE-2017-7561?
What CWE is associated with CVE-2017-7561?
How can I check Maven dependencies for CVE-2017-7561?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-57q5-x8jf-g7h8",
"modified" : "2025-01-15T15:05:52Z",
"published" : "2022-05-13T01:47:01Z",
"aliases" : [ "CVE-2017-7561" ],
"summary" : "Inconsistent Interpretation of HTTP Requests in Red Hat JBoss EAP",
"details" : "Red Hat JBoss EAP version 3.0.7.Final until 3.0.25.Final, 3.5.0.CR1, and 4.0.0.Beta1 is vulnerable to a server-side cache poisoning or CORS requests in the JAX-RS component resulting in a moderate impact.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.resteasy:resteasy-jaxrs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.7.Final"
}, {
"fixed" : "3.0.25.Final"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.24.Final"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.resteasy:resteasy-jaxrs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.4.Final"
}, {
"fixed" : "3.5.0.CR1"
} ]
} ],
"versions" : [ "3.1.4.Final" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7561"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0002"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0003"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0004"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0005"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0478"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0479"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0480"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0481"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/resteasy/Resteasy"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/RESTEASY-1704"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-444" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-01T11:43:57Z",
"nvd_published_at" : "2017-09-13T17:29:00Z"
}
}