Skip to content
Noroxi
CVE-2012-0818· NVD / CVE Program· CNA redhat

RESTEasy before 2.3.1 allows remote attackers to read arbitrary files via an external entity reference in a DOM document, aka an XML externa

RESTEasy before 2.3.1 allows remote attackers to read arbitrary files via an external entity reference in a DOM document, aka an XML external entity (XXE) injection attack.

MediumCVSS 5.0 · v2.0—No exploit Fix available
Published
Nov 23, 2012
Updated
Jun 16, 2026
EPSS
3.2% · 88th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.2%

Affected systems

VendorProduct
redhatresteasy

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • redhat resteasyup to 2.3.0 inclusive
  • redhat resteasy1.0.0
  • redhat resteasy1.0.1
  • redhat resteasy1.0.2
  • redhat resteasy1.1
  • redhat resteasy1.2
  • redhat resteasy2.0.0
  • redhat resteasy2.0.1
  • redhat resteasy2.1.0
  • redhat resteasy2.2.0
  • redhat resteasy2.2.1
  • redhat resteasy2.2.2
  • redhat resteasy2.2.3

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.jboss.resteasy:resteasy-clientbefore 2.3.12.3.1
Red Hat:jboss_enterprise_application_platform:5::el4resteasybefore 0:1.2.1-10.CP02_patch01.1.ep5.el40:1.2.1-10.CP02_patch01.1.ep5.el4
Red Hat:jboss_enterprise_application_platform:5::el4resteasy-examplesbefore 0:1.2.1-10.CP02_patch01.1.ep5.el40:1.2.1-10.CP02_patch01.1.ep5.el4
Red Hat:jboss_enterprise_application_platform:5::el4resteasy-javadocbefore 0:1.2.1-10.CP02_patch01.1.ep5.el40:1.2.1-10.CP02_patch01.1.ep5.el4
Red Hat:jboss_enterprise_application_platform:5::el4resteasy-manualbefore 0:1.2.1-10.CP02_patch01.1.ep5.el40:1.2.1-10.CP02_patch01.1.ep5.el4
Red Hat:jboss_enterprise_web_platform:5::el5resteasybefore 0:1.2.1-10.CP02_patch01.1.ep5.el50:1.2.1-10.CP02_patch01.1.ep5.el5
Red Hat:jboss_enterprise_web_platform:5::el5resteasy-examplesbefore 0:1.2.1-10.CP02_patch01.1.ep5.el50:1.2.1-10.CP02_patch01.1.ep5.el5
Red Hat:jboss_enterprise_web_platform:5::el5resteasy-javadocbefore 0:1.2.1-10.CP02_patch01.1.ep5.el50:1.2.1-10.CP02_patch01.1.ep5.el5
Red Hat:jboss_enterprise_web_platform:5::el5resteasy-manualbefore 0:1.2.1-10.CP02_patch01.1.ep5.el50:1.2.1-10.CP02_patch01.1.ep5.el5
Red Hat:jboss_enterprise_web_platform:5::el6resteasybefore 0:1.2.1-10.CP02_patch01.1.ep5.el60:1.2.1-10.CP02_patch01.1.ep5.el6
Red Hat:jboss_enterprise_web_platform:5::el6resteasy-examplesbefore 0:1.2.1-10.CP02_patch01.1.ep5.el60:1.2.1-10.CP02_patch01.1.ep5.el6
Red Hat:jboss_enterprise_web_platform:5::el6resteasy-javadocbefore 0:1.2.1-10.CP02_patch01.1.ep5.el60:1.2.1-10.CP02_patch01.1.ep5.el6
Red Hat:jboss_enterprise_web_platform:5::el6resteasy-manualbefore 0:1.2.1-10.CP02_patch01.1.ep5.el60:1.2.1-10.CP02_patch01.1.ep5.el6
Red Hat:rhev_manager:3rhevmbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-backendbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-configbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-dbscriptsbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-debuginfobefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-genericapibefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-iso-uploaderbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-jboss-depsbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-log-collectorbefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-notification-servicebefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6
Red Hat:rhev_manager:3rhevm-restapibefore 0:3.0.3_0001-3.el60:3.0.3_0001-3.el6

+26

Other highest-scoring records for the same primary product.

  • CVE-2016-9606JBoss RESTEasy before version 3.1.2 could be forced into parsing a request with YamlProvider, resulting in unmarshalling of potentially untr
    34Monitor
  • CVE-2018-1051It 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
    32Monitor
  • CVE-2016-6346RESTEasy enables GZIPInterceptor, which allows remote attackers to cause a denial of service via unspecified vectors.
    32Monitor
  • CVE-2020-1695A flaw was found in all resteasy 3.x.x versions prior to 3.12.0.Final and all resteasy 4.x.x versions prior to 4.6.0.Final, where an imprope
    31Monitor
  • CVE-2016-6345RESTEasy allows remote authenticated users to obtain sensitive information by leveraging "insufficient use of random values" in async jobs.
    27Monitor
  • CVE-2014-7839DocumentProvider in RESTEasy 2.3.7 and 3.0.9 does not configure the (1) external-general-entities or (2) external-parameter-entities feature
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.jboss.resteasy:resteasy-client2.3.1Package registry (OSV)
red hat:rhevm0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-backend0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-config0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-dbscripts0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-debuginfo0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-genericapi0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-iso-uploader0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-jboss-deps0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-log-collector0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-notification-service0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-restapi0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)
red hat:rhevm-setup0:3.0.3_0001-3.el6 · Red Hat:rhev_manager:3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
none
Availability
none
Attack complexity
Low
Confidentiality impact
P
Integrity impact
None
Availability impact
None

CVSS vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records