CVE-2020-1695 Improper Input Validation in RESTEasy

High 7.5 Published Updated

Improper input validation in RESTEasy allows illegal header injection into HTTP responses, potentially causing unexpected behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-1695?

CVE-2020-1695 is a high-severity vulnerability in Fedoraproject Fedora, published on 19 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A 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 improper input validation results in returning an illegal header that integrates into the server's response. This flaw may result in an injection, which leads to unexpected behavior when the HTTP response is constructed.

Weakness: CWE-20

Which versions are affected by CVE-2020-1695?

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

PackageAffectedFixed in
org.jboss.resteasy:resteasy-client MavenFrom 3.0.03.12.0
org.jboss.resteasy:resteasy-client MavenFrom 3.0.03.12.0
org.jboss.resteasy:resteasy-client MavenFrom 4.0.04.6.0
org.jboss.resteasy:resteasy-client MavenFrom 4.0.04.6.0
Linux distribution packages (36)
apache-commons-collections Red Hat:enterprise_linux:8::appstreamAll versions0:3.2.2-10.module+el8.1.0+3366+6dfb954c
apache-commons-lang Red Hat:enterprise_linux:8::appstreamAll versions0:2.6-21.module+el8.1.0+3366+6dfb954c
apache-commons-net Red Hat:enterprise_linux:8::appstreamAll versions0:3.6-3.module+el8.3.0+6805+72837426
bea-stax Red Hat:enterprise_linux:8::appstreamAll versions0:1.2.0-16.module+el8.1.0+3366+6dfb954c
bea-stax-api Red Hat:enterprise_linux:8::appstreamAll versions0:1.2.0-16.module+el8.1.0+3366+6dfb954c
glassfish-fastinfoset Red Hat:enterprise_linux:8::appstreamAll versions0:1.2.13-9.module+el8.1.0+3366+6dfb954c
glassfish-jaxb Red Hat:enterprise_linux:8::appstreamAll versions0:2.2.11-11.module+el8.1.0+3366+6dfb954c
glassfish-jaxb-api Red Hat:enterprise_linux:8::appstreamAll versions0:2.2.12-8.module+el8.1.0+3366+6dfb954c
glassfish-jaxb-core Red Hat:enterprise_linux:8::appstreamAll versions0:2.2.11-11.module+el8.1.0+3366+6dfb954c
glassfish-jaxb-runtime Red Hat:enterprise_linux:8::appstreamAll versions0:2.2.11-11.module+el8.1.0+3366+6dfb954c
glassfish-jaxb-txw2 Red Hat:enterprise_linux:8::appstreamAll versions0:2.2.11-11.module+el8.1.0+3366+6dfb954c
jackson-annotations Red Hat:enterprise_linux:8::appstreamAll versions0:2.10.0-1.module+el8.2.0+5059+3eb3af25
jackson-core Red Hat:enterprise_linux:8::appstreamAll versions0:2.10.0-1.module+el8.2.0+5059+3eb3af25
jackson-databind Red Hat:enterprise_linux:8::appstreamAll versions0:2.10.0-1.module+el8.2.0+5059+3eb3af25
jackson-jaxrs-json-provider Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.9-1.module+el8.1.0+3832+9784644d
jackson-jaxrs-providers Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.9-1.module+el8.1.0+3832+9784644d
jackson-module-jaxb-annotations Red Hat:enterprise_linux:8::appstreamAll versions0:2.7.6-4.module+el8.1.0+3366+6dfb954c
jakarta-commons-httpclient Red Hat:enterprise_linux:8::appstreamAll versions1:3.1-28.module+el8.1.0+3366+6dfb954c
javassist Red Hat:enterprise_linux:8::appstreamAll versions0:3.18.1-8.module+el8.1.0+3366+6dfb954c
javassist-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:3.18.1-8.module+el8.1.0+3366+6dfb954c
jss Red Hat:enterprise_linux:8::appstreamAll versions0:4.8.1-2.module+el8.4.0+10451+3e5b5448
jss-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.8.1-2.module+el8.4.0+10451+3e5b5448
jss-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.8.1-2.module+el8.4.0+10451+3e5b5448
jss-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:4.8.1-2.module+el8.4.0+10451+3e5b5448
ldapjdk Red Hat:enterprise_linux:8::appstreamAll versions0:4.22.0-1.module+el8.3.0+6784+6e1e4c62
ldapjdk-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:4.22.0-1.module+el8.3.0+6784+6e1e4c62
pki-acme Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-base Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-base-java Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-ca Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-core Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-core-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-core-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-kra Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-server Red Hat:enterprise_linux:8::appstreamAll versions0:10.10.5-2.module+el8.4.0+10466+9830f79e
pki-servlet-4.0-api Red Hat:enterprise_linux:8::appstreamAll versions1:9.0.30-1.module+el8.3.0+6730+8f9c6254

Products include Fedoraproject Fedora, Redhat Resteasy.

How do I fix CVE-2020-1695?

Upgrade org.jboss.resteasy:resteasy-client to a fixed version for your release line: 3.12.0 or 4.6.0.

Is CVE-2020-1695 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-1695, GHSA-63cq-ppq8-cw6g, MGASA-2021-0039, OESA-2022-1483, RHSA-2021:1775, RLSA-2021:1775 and 1 more.

Is CVE-2020-1695 in your software?

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

Check your SBOMs for free