CVE-2017-5661 json
Improper Restriction of XML External Entity Reference in Apache FOP
published 2017-04-18 9 y ago modified 2026-06-17 4 mo ago also GHSA-5hg8-r9vq-gjqp , EUVD-2022-2596
- cvss
- 7.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.xmlgraphics:fop 2.2
- fop Debian 14, Debian 13, Debian 12 1:2.1-6
debian advisories DEBIAN-CVE-2017-5661
- fop Ubuntu 14.04 LTS 1:1.1.dfsg-2ubuntu1.1
ubuntu advisories UBUNTU-CVE-2017-5661
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- fop Arch Linux 2.2-1
arch linux advisories AVG-254
- xmlgraphics.apache.org/security.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-5661 updated cvss 7.5
fop: XML external entity processing vulnerability
-
Red Hat Enterprise Linux 6 fop, fop-javadoc Red Hat Enterprise Linux 7 fop, fop-javadoc Red Hat JBoss Fuse 6 camel Red Hat JBoss Fuse Service Works 6 fop Red Hat Software Collections rh-maven33-fop, rh-maven33-fop-javadocaffected: no fix planned “Will not fix”
-
Red Hat Virtualization 4 fop, fop-javadocaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 7.9 | AV:N/AC:M/Au:S/C:C/I:N/A:C |
| GitHub | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.xmlgraphics:fop | <2.2 |
2.2 |
Affected products
- Apache Software Foundation Apache FOP
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
xmlgraphics.apache.org
/security.html
web, patch, vendor-advisory
-
debian.org
/security/2017/dsa-3864
vendor-advisory, web
-
securityfocus.com
/bid/97947
vdb-entry, web
-
tenable.com
/security/tns-2021-14
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-5661
advisory
Sources
- CVE List CVE-2017-5661
- GitHub Advisory GHSA-5hg8-r9vq-gjqp
- NVD CVE-2017-5661
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.