CVE-2018-1000850
Directory Traversal vulnerability in Square Retrofit
Description
Square Retrofit versions from (including) 2.0 to 2.5.0 (excluding) contain a Directory Traversal vulnerability in RequestBuilder class, method addPathParameter. By manipulating the URL an attacker could add or delete resources otherwise unavailable to her. This attack appears to be exploitable via an encoded path parameter on POST, PUT or DELETE request. This vulnerability appears to have been fixed in 2.5.0 and later.
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-1000850 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-8p8g-f9vg-r7xr | github.com |
| Package | square/retrofit | github.com |
| Web | square/retrofit commit b9a7f6a | github.com |
| Web | errata/RHSA-2019:3892 | access.redhat.com |
| Web | square/retrofit CHANGELOG.md | github.com |
| Web | post/retrofit-path-traversal | ihacktoprotect.com |
| Web | thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@<dev.drill.apache.org ... | lists.apache.org |
| Web | thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@<dev.drill.apache.org ... | lists.apache.org |
| Web | thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@<issues.drill.apache. ... | lists.apache.org |
