CVE-2016-6347 Improper Neutralization of Input During Web Page Generation in RESTEasy

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via the default exception handler in RESTEasy, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-6347?

CVE-2016-6347 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Apr 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the default exception handler in RESTEasy allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

Weakness: CWE-79

Which versions are affected by CVE-2016-6347?

4 open source packages ship an affected version, including org.jboss.resteasy:resteasy-client. It affects 1 product.

PackageAffectedFixed in
org.jboss.resteasy:resteasy-client MavenAll versions3.0.20.Final
org.jboss.resteasy:resteasy-client MavenAll versions3.0.20.Final
org.jboss.resteasy:resteasy-client MavenFrom 3.1.0.Beta13.1.0.CR1
org.jboss.resteasy:resteasy-client MavenFrom 3.1.0.Beta13.1.0.CR1

Products include Redhat Resteasy.

How do I fix CVE-2016-6347?

Upgrade org.jboss.resteasy:resteasy-client to a fixed version for your release line: 3.0.20.Final or 3.1.0.CR1.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2016-6347 being exploited?

There is no known exploitation of CVE-2016-6347 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-6347, GHSA-r346-rmrg-qpgh, UBUNTU-CVE-2016-6347.

Is CVE-2016-6347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free