CVE-2017-1000477: Desperado/xml bundle XXE Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-qvwf-w35m-6r95
CVSS 7.5
CWE-611
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2017-1000477
GHSA Identifier GHSA-qvwf-w35m-6r95
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Desperado/xml bundle
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

desperado/xml-bundle fixed: Latest secure release
Upgrade desperado/xml-bundle to Latest secure release
Verify Direct and Transitive Dependencies

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

XMLBundle version 0.1.7 is vulnerable to XXE attacks which can result in denial of service attacks.

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?
CVE-2017-1000477 is a security vulnerability in Desperado/xml bundle involving XXE Vulnerability in XMLBundle 0.1.7 under CWE-611: Improper Restriction of XML External Entity Reference.
Which Desperado/xml bundle versions are affected?
Affected versions include releases prior to current release patches across affected packages: desperado/xml-bundle.
What version fixes CVE-2017-1000477?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is desperado/xml-bundle affected?
Yes, desperado/xml-bundle is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2017-1000477?
CVE-2017-1000477 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-1000477?
CVE-2017-1000477 is classified under CWE-611: Improper Restriction of XML External Entity Reference (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.).
How can I check Packagist dependencies for CVE-2017-1000477?
Run the dependency tree command: 'inspect dependencies for desperado/xml-bundle'. 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-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"
  }
}