GitHub Advisory Database
GHSA-m2fv-3rqm-g7p5
Deserialization of Untrusted Data in org.jboss.resteasy:resteasy-yaml-provider
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jboss.resteasy:resteasy-yaml-provider | All versions before 3.0.26.Final (fixed in 3.0.26.Final) |
| Maven | org.jboss.resteasy:resteasy-yaml-provider | From 3.1.0 before 3.6.0.Final (fixed in 3.6.0.Final) |