WaratekVRT Sign in

CVE-2017-5661

Severity7.3 High CVSS 3.0 2 scores
Fixed in2.2
WeaknessXML external entity (XXE) (CWE-611)
Published18 Apr 2017
Updated17 Jun 2026

Description

In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.5% chance in 30 days

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.

How to mitigate CVE-2017-5661

Upgrade the affected software to 2.2 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

7.3 HIGH v3.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H 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 7.3 HIGH CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H NVD Primary published
CVSS 2.0 7.9 none AV:N/AC:M/Au:S/C:C/I:N/A:C NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.xmlgraphics:fop 0 2.2 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache formatting objects processor generic ≤ 2.1
osv org.apache.xmlgraphics fop generic < 2.2

References

URLTags
https://www.tenable.com/security/tns-2021-14 WEB
https://xmlgraphics.apache.org/security.html WEB
http://www.debian.org/security/2017/dsa-3864 WEB
http://www.securityfocus.com/bid/97947 WEB

Timeline

Published2017-04-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.