WaratekVRT Sign in

CVE-2018-1000844 Retrofit

Affected softwareRetrofit
Severity9.1 Critical CVSS 3.0 2 scores
Fixed in2.5.0
WeaknessXML external entity (XXE) (CWE-611)
Published20 Dec 2018
Updated17 Jun 2026

Description

Square Open Source Retrofit version Prior to commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437 contains a XML External Entity (XXE) vulnerability in JAXB that can result in 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 After commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.2% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC retrofit with CVE-2018-1000844 2024-05-31

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/square/retrofit/pull/2735 : a pull request: the change under review

How to mitigate CVE-2018-1000844

Upgrade Retrofit to 2.5.0 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.1 CRITICAL v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 9.1 CRITICAL CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N NVD Primary published
CVSS 2.0 6.4 none AV:N/AC:L/Au:N/C:P/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.squareup.retrofit2:retrofit 2.0.0 2.5.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.squareup.retrofit2 retrofit generic ≥ 2.0.0 and < 2.5.0
nvd squareup retrofit generic ≥ 2.4.0 and < 2.5.0

References

URLTags
https://github.com/square/retrofit/pull/2735 pr
https://github.com/advisories/GHSA-j379-9jr9-w5cq ADVISORY
https://github.com/square/retrofit PACKAGE

Timeline

Published2018-12-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.