CVE-2017-1000477: Desperado/xml bundle XXE Vulnerability Vulnerability
HIGHCVE-2017-1000477 is a HIGH (CVSS 7.5) xxe vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Desperado/xml bundle libraries in the Packagist ecosystem. The issue involves xxe vulnerability in xmlbundle 0.1.7. Remediation is available in the latest vendor maintenance releases.
CVE-2017-1000477 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-2017-1000477
To remediate this vulnerability, upgrade all affected Desperado/xml bundle 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 desperado/xml-bundle to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for desperado/xml-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-1000477, inspect your project dependencies for Desperado/xml bundle:
inspect dependencies for desperado/xml-bundle
Analyze the terminal output to locate any version of Desperado/xml bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Desperado/xml bundle, 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-2017-1000477 Affected Desperado/xml bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
desperado/xml-bundle
|
Packagist |
≤ 0.1.7
|
|
References
Frequently Asked Questions
What is CVE-2017-1000477?
Which Desperado/xml bundle versions are affected?
What version fixes CVE-2017-1000477?
Is desperado/xml-bundle affected?
What is the CVSS score of CVE-2017-1000477?
What CWE is associated with CVE-2017-1000477?
How can I check Packagist dependencies for CVE-2017-1000477?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qvwf-w35m-6r95",
"modified" : "2023-07-06T22:05:33Z",
"published" : "2022-05-14T03:49:52Z",
"aliases" : [ "CVE-2017-1000477" ],
"summary" : "XXE Vulnerability in XMLBundle 0.1.7",
"details" : "XMLBundle version 0.1.7 is vulnerable to XXE attacks which can result in denial of service attacks.",
"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" : "Packagist",
"name" : "desperado/xml-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000477"
}, {
"type" : "WEB",
"url" : "https://github.com/pravednik/xmlBundle/issues/2"
}, {
"type" : "WEB",
"url" : "https://github.com/pravednik/xmlBundle/pull/5/commits/803d8cb34b972e67c2144b8b36575f97d14ef1d6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-06T22:05:33Z",
"nvd_published_at" : "2018-01-03T18:29:00Z"
}
}