CVE-2017-5661
Improper Restriction of XML External Entity Reference in Apache FOP
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.xmlgraphics » fop | < 2.2 | 2.2 |
Blast radius
48% of the dependent artifacts (1,308) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,785 |
| 2 hops | 19,627 |
| 3 hops | 26,174 |
| 4 hops | 16,624 |
| 5 hops | 8,666 |
| 6 hops | 5,324 |
Most used dependents
- com.jetbrains.intellij.platform » ide-impl753 usages
- com.atlassian.confluence » confluence724 usages
- com.jetbrains.intellij.platform » core-ui691 usages
- com.jetbrains.intellij.platform » project-model666 usages
- com.jetbrains.intellij.platform » analysis624 usages
- com.jetbrains.intellij.platform » core-impl619 usages
- com.atlassian.jira » jira-core554 usages
- com.jetbrains.intellij.platform » lang-impl536 usages
- com.jetbrains.intellij.platform » util-ui528 usages
- org.apache.xmlgraphics » batik-transcoder471 usages
- com.jetbrains.intellij.platform » lang462 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- com.jetbrains.intellij.platform » ide402 usages
- org.jboss.maven.plugins » maven-jdocbook-plugin383 usages
- org.apache.xmlgraphics » batik-codec373 usages
Computed from the dependency graph of build 20261124.0621 (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
| Advisory | NVD CVE-2017-5661 | nvd.nist.gov |
| Web | security/tns-2021-14 | tenable.com |
| Web | security.html | xmlgraphics.apache.org |
| Web | security/2017/dsa-3864 | debian.org |
| Web | bid/97947 | securityfocus.com |
