cve.bz

CVE-2018-1051 redhat resteasy: Deserialization of Untrusted Data

8.1 highEPSS 1.3%Fix available

High (8.1) in redhat resteasy. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.jboss.resteasy:resteasy-yaml-provider 3.0.26.Final, 3.6.0.Final.

On this page
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.

Severity

CVSS 3.0

8.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1051 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1051?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1051?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1051 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:resteasy3.0.22
redhat:resteasy3.1.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m2fv-3rqm-g7p5Mavenorg.jboss.resteasy:resteasy-yaml-provider<3.0.26.Final3.0.26.Final
GHSA-m2fv-3rqm-g7p5Mavenorg.jboss.resteasy:resteasy-yaml-provider>=3.1.0 <3.6.0.Final3.6.0.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
UbuntuPro:16.04:LTSresteasyno fix listedUBUNTU-CVE-2018-1051

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue only affects applications which have the YamlProvider explicitly enabled by adding or appending a file with the name 'META-INF/services/javax.ws.rs.ext.Providers' to your WAR, or JAR with the contents 'org.jboss.resteasy.plugins.providers.YamlProvider'

resteasy-base as shipped in Red Hat Enterprise Linux 7 does not include YamlProvider.

Red Hat Subscription Asset Manager version 1 is now in a reduced support phase receiving only Critical impact security fixes. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates.

This issue affects the versions of resteasy as shipped with Red Hat Satellite version 6, however Satellite version 6 does not use the affected functionality. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue.

For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat BPM Suite 6resteasyNot affected
Red Hat Enterprise Linux 7resteasy-baseNot affected
Red Hat Enterprise Linux 8resteasyNot affected
Red Hat JBoss BRMS 6resteasyNot affected
Red Hat JBoss Data Grid 6resteasyOut of support scope
Red Hat JBoss Data Virtualization 6resteasyOut of support scope
Red Hat JBoss Enterprise Application Platform 5resteasyWill not fix
Red Hat JBoss Enterprise Application Platform 6resteasyWill not fix
Red Hat JBoss Enterprise Application Platform 7resteasyWill not fix
Red Hat JBoss Fuse 6resteasyNot affected
Red Hat JBoss Fuse Service Works 6resteasyOut of support scope
Red Hat JBoss Operations Network 3resteasyNot affected
Red Hat JBoss Portal 6resteasyOut of support scope
Red Hat JBoss SOA Platform 5resteasyOut of support scope
Red Hat Mobile Application Platform 4millicoreNot affected
Red Hat Satellite 6resteasyWill not fix
Red Hat Single Sign-On 7resteasyWill not fix
Red Hat Subscription Asset ManagerresteasyWill not fix
Red Hat Virtualization 4eap7-resteasy-yaml-providerWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1051.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON