CVE-2018-1051
Deserialization of Untrusted Data in org.jboss.resteasy:resteasy-yaml-provider
Description
It was found that the fix for CVE-2016-9606 in versions 3.0.22 and 3.1.2 was incomplete and Yaml unmarshalling in Resteasy is still possible via Yaml.load() in YamlProvider.
Mitigation:
If the YamlProvider is enabled it's recommended to add authentication, and authorization to the endpoint expecting Yaml content to prevent exploitation of this vulnerability.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jboss.resteasy » resteasy-yaml-provider | < 3.0.26.Final>= 3.1.0, < 3.6.0.Final | 3.0.26.Final, 3.6.0.Final |
Blast radius
53% of the dependent artifacts (119) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 250 |
| 2 hops | 2,016 |
| 3 hops | 1,396 |
| 4 hops | 412 |
| 5 hops | 223 |
| 6 hops | 82 |
Most used dependents
- org.wildfly » wildfly-feature-pack372 usages
- org.jboss.eap » wildfly-feature-pack88 usages
- org.wildfly » wildfly-dist31 usages
- org.wildfly » wildfly-galleon-pack31 usages
- org.teiid » teiid-client-feature-pack30 usages
- org.teiid.connectors » feature-pack-ws28 usages
- org.wildfly.camel » wildfly-camel-feature-pack25 usages
- org.teiid.connectors » feature-pack-jdbc23 usages
- org.jboss.teiid » teiid-client-feature-pack20 usages
- io.thorntail » microprofile-config-wildfly-feature-pack20 usages
- com.walmartlabs.concord.server » concord-server-impl15 usages
- com.redhat.rhevm.api » rhevm-api-mock-jaxrs14 usages
- org.wildfly » wildfly-testsuite-shared13 usages
- com.redhat.rhevm.api » rhevm-api-cli-base13 usages
- org.teiid » teiid-wildfly-integration-feature-pack13 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1051 | nvd.nist.gov |
| Web | resteasy/resteasy pull request #1555 | github.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
