com.squareup.retrofit2:converter-jaxb@2.4.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.squareup.retrofit2:converter-jaxb package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
XML External Entity (XXE) Injection

com.squareup.retrofit2:converter-jaxb is a Converter which uses JAXB for serialization to and from XML.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. JAXB can be exploited and an attacker could use this to remotely read files from the file system or to perform SSRF.

How to fix XML External Entity (XXE) Injection?

Upgrade com.squareup.retrofit2:converter-jaxb to version 2.5.0 or higher.

[,2.5.0)