HIGH 7.5

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)

ArtifactAffected versionsFixed in
com.squareup.retrofit2 » retrofit
>= 2.0.0, < 2.5.0
2.5.0

Blast radius

1affected artifacts
14affected versions
4,553dependent artifacts (est.)
79,865dependent versions

72% of the dependent artifacts (3,306) still pull an affected version in their latest release.

DepthDependent 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

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.