Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.cloudstack/cloudstack
  4. ›
  5. CVE-2022-35741

CVE-2022-35741: Improper Restriction of XML External Entity Reference

July 18, 2022 (updated July 25, 2022)

Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found to be vulnerable to XML external entity (XXE) injection. This plugin is not enabled by default and the attacker would require that this plugin be enabled to exploit the vulnerability. When the SAML 2.0 plugin is enabled in affected versions of Apache CloudStack could potentially allow the exploitation of XXE vulnerabilities. The SAML 2.0 messages constructed during the authentication flow in Apache CloudStack are XML-based and the XML data is parsed by various standard libraries that are now understood to be vulnerable to XXE injection attacks such as arbitrary file reading, possible denial of service, server-side request forgery (SSRF) on the CloudStack management server.

References

  • www.openwall.com/lists/oss-security/2022/07/18/2
  • www.openwall.com/lists/oss-security/2022/07/20/1
  • lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f
  • nvd.nist.gov/vuln/detail/CVE-2022-35741

Code Behaviors & Features

Detect and mitigate CVE-2022-35741 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.5.0 before 4.16.1.1, version 4.17.0.0

Fixed versions

  • 4.16.1.1

Solution

Upgrade to version 4.16.1.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.apache.cloudstack/cloudstack/CVE-2022-35741.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.