Skip to content

Deserialization of Untrusted Data in org.jboss.resteasy:resteasy-yaml-provider

High severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 30, 2023

Package

maven org.jboss.resteasy:resteasy-yaml-provider (Maven)

Affected versions

< 3.0.26.Final
>= 3.1.0, < 3.6.0.Final

Patched versions

3.0.26.Final
3.6.0.Final

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.

References

Published by the National Vulnerability Database Jan 25, 2018
Published to the GitHub Advisory Database May 13, 2022
Reviewed Nov 1, 2022
Last updated Jan 30, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-1051

GHSA ID

GHSA-m2fv-3rqm-g7p5

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.