CVE-2017-5617: Svg salamander Server Side Request Forgery Vulnerability

HIGH
Advisory Identifier: GHSA-h3wv-47xm-4mg6
CVSS 7.4
CWE-918
Published
Advisory Summary

CVE-2017-5617 is a HIGH (CVSS 7.4) server side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Svg salamander libraries in the Maven ecosystem. The issue involves server side request forgery in svgsalamander. Remediation is available by upgrading affected packages to version 1.1.2.

CVE-2017-5617 at a Glance

CVE Identifier CVE-2017-5617
GHSA Identifier GHSA-h3wv-47xm-4mg6
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Svg salamander
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2017-5617

To remediate this vulnerability, upgrade all affected Svg salamander dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.kitfox.svg:svg-salamander fixed: 1.1.2
<dependency>
    <groupId>com.kitfox.svg</groupId>
    <artifactId>svg-salamander</artifactId>
    <version>1.1.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.kitfox.svg

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2017-5617, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.kitfox.svg

Analyze the terminal output to locate any version of Svg salamander in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.kitfox.svg command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Svg salamander, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The SVG Salamander (aka svgSalamander) library, when used in a web application, allows remote attackers to conduct server-side request forgery (SSRF) attacks via an xlink:href attribute in an SVG file.

CVE-2017-5617 Affected Svg salamander Versions

1 component(s)
Fixed Versions:
1.1.2
Product / Package Ecosystem Affected Versions Fixed Version
com.kitfox.svg:svg-salamander
Maven
< 1.1.2
1.1.2

References

Frequently Asked Questions

What is CVE-2017-5617?
CVE-2017-5617 is a security vulnerability in Svg salamander involving Server Side Request Forgery in svgSalamander under CWE-918: Server-Side Request Forgery (SSRF).
Which Svg salamander versions are affected?
Affected versions include releases prior to 1.1.2 across affected packages: com.kitfox.svg:svg-salamander.
What version fixes CVE-2017-5617?
Upgrading to 1.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is svg-salamander affected?
Yes, com.kitfox.svg:svg-salamander is affected in releases prior to 1.1.2. Upgrade your dependency to 1.1.2 or later.
What is the CVSS score of CVE-2017-5617?
CVE-2017-5617 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
What CWE is associated with CVE-2017-5617?
CVE-2017-5617 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Maven dependencies for CVE-2017-5617?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.kitfox.svg'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h3wv-47xm-4mg6",
  "modified" : "2022-09-14T19:16:41Z",
  "published" : "2018-10-19T16:51:25Z",
  "aliases" : [ "CVE-2017-5617" ],
  "summary" : "Server Side Request Forgery in svgSalamander",
  "details" : "The SVG Salamander (aka svgSalamander) library, when used in a web application, allows remote attackers to conduct server-side request forgery (SSRF) attacks via an xlink:href attribute in an SVG file.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.kitfox.svg:svg-salamander"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5617"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blackears/svgSalamander/issues/11"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-h3wv-47xm-4mg6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blackears/svgSalamander"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3V7RIIO3HO4RNDBN2PARLIDAL3RPV2OX"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPUOI6NCEB6H6YHKN7M4V3CAQD63NXAU"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202003-11"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2017/dsa-3781"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2017/01/27/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2017/01/29/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/95871"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:38:36Z",
    "nvd_published_at" : null
  }
}