CVE-2015-7558: Librsvg Denial of Service Vulnerability
HIGHCVE-2015-7558 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Librsvg libraries in the crates.io ecosystem. The issue involves librsvg dos via cyclic references. Remediation is available by upgrading affected packages to version 2.40.12.
CVE-2015-7558 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2015-7558
To remediate this vulnerability, upgrade all affected Librsvg dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade librsvg to 2.40.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for librsvg
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-7558, inspect your project dependencies for Librsvg:
inspect dependencies for librsvg
Analyze the terminal output to locate any version of Librsvg in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.40.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Librsvg, 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
CVE-2015-7558 Affected Librsvg Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
librsvg
|
crates.io |
< 2.40.12
|
2.40.12
|
References
Frequently Asked Questions
What is CVE-2015-7558?
Which Librsvg versions are affected?
What version fixes CVE-2015-7558?
Is librsvg affected?
What is the CVSS score of CVE-2015-7558?
What CWE is associated with CVE-2015-7558?
How can I check crates.io dependencies for CVE-2015-7558?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j984-q4qc-6qxf",
"modified" : "2023-08-04T23:10:05Z",
"published" : "2022-05-17T03:50:02Z",
"aliases" : [ "CVE-2015-7558" ],
"summary" : "librsvg DoS via Cyclic References",
"details" : "librsvg before 2.40.12 allows context-dependent attackers to cause a denial of service (infinite loop, stack consumption, and application crash) via cyclic references in an SVG document.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "librsvg"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.40.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7558"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1268243"
}, {
"type" : "WEB",
"url" : "https://git.gnome.org/browse/librsvg/commit/?id=a51919f7e1ca9c535390a746fbf6e28c8402dc61"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/GNOME/librsvg"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2016/dsa-3584"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/12/21/5"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2016/04/30/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-04T23:10:05Z",
"nvd_published_at" : "2016-05-20T14:59:00Z"
}
}