CVE-2020-13956 Cross-site scripting in Apache HttpClient

Medium 5.3 Published Updated

Apache HttpClient may route requests to unintended hosts due to malformed URI parsing, enabling potential SSRF or security bypass.

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-13956?

CVE-2020-13956 is a medium-severity server-side request forgery vulnerability in Netapp Active Iq Unified Manager, published on 2 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache HttpClient versions prior to version 4.5.13 and 5.0.3 can misinterpret malformed authority component in request URIs passed to the library as java.net.URI object and pick the wrong target host for request execution.

Weakness: CWE-20

Which versions are affected by CVE-2020-13956?

4 open source packages ship an affected version, including org.apache.httpcomponents:httpclient. It affects 17 products.

PackageAffectedFixed in
org.apache.httpcomponents:httpclient MavenAll versions4.5.13
org.apache.httpcomponents:httpclient MavenAll versions4.5.13
org.apache.httpcomponents:httpclient MavenFrom 5.0.05.0.3
org.apache.httpcomponents:httpclient MavenFrom 5.0.05.0.3
Linux distribution packages (36)
aopalliance AlmaLinux:8All versions1.0-17.module_el8.6.0+2752+f1f3449e
aopalliance AlmaLinux:8All versions1.0-20.module_el8.6.0+2786+d7c38b21
apache-commons-cli AlmaLinux:8All versions1.4-4.module_el8.6.0+2752+f1f3449e
apache-commons-cli AlmaLinux:8All versions1.4-7.module_el8.6.0+2786+d7c38b21
apache-commons-codec AlmaLinux:8All versions1.11-3.module_el8.6.0+2752+f1f3449e
apache-commons-codec AlmaLinux:8All versions1.13-3.module_el8.6.0+2786+d7c38b21
apache-commons-io AlmaLinux:8All versions1:2.6-3.module_el8.6.0+2752+f1f3449e
apache-commons-io AlmaLinux:8All versions1:2.6-6.module_el8.6.0+2786+d7c38b21
apache-commons-lang3 AlmaLinux:8All versions3.7-3.module_el8.6.0+2752+f1f3449e
apache-commons-lang3 AlmaLinux:8All versions3.9-4.module_el8.6.0+2786+d7c38b21
apache-commons-logging AlmaLinux:8All versions1.2-13.module_el8.6.0+2752+f1f3449e
atinject AlmaLinux:8All versions1-28.20100611svn86.module_el8.6.0+2752+f1f3449e
atinject AlmaLinux:8All versions1-31.20100611svn86.module_el8.6.0+2786+d7c38b21
cdi-api AlmaLinux:8All versions1.2-8.module_el8.6.0+2752+f1f3449e
cdi-api AlmaLinux:8All versions2.0.1-3.module_el8.6.0+2786+d7c38b21
geronimo-annotation AlmaLinux:8All versions1.0-23.module_el8.6.0+2752+f1f3449e
geronimo-annotation AlmaLinux:8All versions1.0-26.module_el8.6.0+2786+d7c38b21
glassfish-el-api AlmaLinux:8All versions3.0.1-0.7.b08.module_el8.6.0+2752+f1f3449e
google-guice AlmaLinux:8All versions4.1-11.module_el8.6.0+2752+f1f3449e
google-guice AlmaLinux:8All versions4.2.2-4.module_el8.6.0+2786+d7c38b21
guava AlmaLinux:8All versions28.1-3.module_el8.6.0+2786+d7c38b21
guava20 AlmaLinux:8All versions20.0-8.module_el8.6.0+2752+f1f3449e
hawtjni-runtime AlmaLinux:8All versions1.16-2.module_el8.6.0+2752+f1f3449e
httpcomponents-client AlmaLinux:8All versions4.5.10-4.module_el8.6.0+2786+d7c38b21
httpcomponents-client AlmaLinux:8All versions4.5.5-5.module_el8.6.0+2752+f1f3449e
httpcomponents-core AlmaLinux:8All versions4.4.10-3.module_el8.6.0+2752+f1f3449e
httpcomponents-core AlmaLinux:8All versions4.4.12-3.module_el8.6.0+2786+d7c38b21
jansi AlmaLinux:8All versions1.17.1-1.module_el8.0.0+6044+f3cbc35d
jansi AlmaLinux:8All versions1.17.1-1.module_el8.4.0+2250+516cbbff
jansi AlmaLinux:8All versions1.17.1-1.module_el8.6.0+2752+f1f3449e
jansi AlmaLinux:8All versions1.18-4.module_el8.6.0+2786+d7c38b21
jansi-native AlmaLinux:8All versions1.7-7.module_el8.6.0+2752+f1f3449e
jboss-interceptors-1.2-api AlmaLinux:8All versions1.0.0-8.module_el8.6.0+2752+f1f3449e
jcl-over-slf4j AlmaLinux:8All versions1.7.25-4.module_el8.6.0+2752+f1f3449e
jcl-over-slf4j AlmaLinux:8All versions1.7.28-3.module_el8.6.0+2786+d7c38b21
jsoup AlmaLinux:8All versions1.11.3-3.module_el8.6.0+2752+f1f3449e

Products include Apache Httpclient, Netapp Active Iq Unified Manager, Netapp Snapcenter, Oracle Commerce Guided Search, Oracle Communications Cloud Native Core Service Communication Proxy, Oracle Data Integrator and 11 more.

How do I fix CVE-2020-13956?

Upgrade org.apache.httpcomponents:httpclient to a fixed version for your release line: 4.5.13 or 5.0.3.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2020-13956 being exploited?

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

All Netapp Active Iq Unified Manager vulnerabilities

Sources

Also known as ALSA-2022:1860, ALSA-2022:1861, CLEANSTART-2025-XW98156, CLSA-2025-1765325275, CLSA-2026-1784682871, CLSA-2026-1785291356 and 31 more.

Is CVE-2020-13956 in your software?

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

Check your SBOMs for free