CRITICAL 9.1

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)

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.

References

Advisorynvd.nist.gov
Advisorygithub.com
Packagegithub.com
Webgithub.com