CVE-2018-1000844
XML External Entity (XXE) vulnerability in Square Retrofit
Description
Square Open Source Retrofit versions prior to commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437 contain a XML External Entity (XXE) vulnerability in JAXB. An attacker could use this to remotely read files from the file system or to perform SSRF. This vulnerability appears to have been fixed in commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.squareup.retrofit2 » retrofit | >= 2.0.0, < 2.5.0 | 2.5.0 |
Blast radius
72% of the dependent artifacts (3,306) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 45,143 |
| 2 hops | 17,335 |
| 3 hops | 7,936 |
| 4 hops | 4,716 |
| 5 hops | 3,649 |
| 6 hops | 1,086 |
Most used dependents
- com.squareup.retrofit2 » converter-gson4,852 usages
- com.squareup.retrofit2 » adapter-rxjava21,308 usages
- com.squareup.retrofit2 » converter-jackson834 usages
- com.squareup.retrofit2 » converter-scalars824 usages
- com.squareup.retrofit2 » converter-moshi655 usages
- com.squareup.retrofit2 » adapter-rxjava602 usages
- com.microsoft.azure » azure-client-runtime383 usages
- com.microsoft.azure » azure-client-authentication364 usages
- com.microsoft.azure » azure-mgmt-resources342 usages
- com.jakewharton.retrofit » retrofit2-kotlinx-serialization-converter324 usages
- com.microsoft.azure » azure-arm-client-runtime288 usages
- org.influxdb » influxdb-java218 usages
- com.jakewharton.retrofit » retrofit2-rxjava2-adapter145 usages
- org.apache.hadoop » hadoop-azure130 usages
- com.jakewharton.retrofit » retrofit2-kotlin-coroutines-adapter123 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1000844 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-j379-9jr9-w5cq | github.com |
| Package | square/retrofit | github.com |
| Web | square/retrofit pull request #2735 | github.com |
