OpenSCAP Error: Unable to parse XML from user memory buffer

Solution Verified - Updated -

Issue

  • xccdf scan using the common profile requires remote content from RedHat. When this is enabled by --fetch-remote-resources, an XML parse error appears and scan is aborted
# oscap xccdf eval --fetch-remote-resources --profile pci-dss /usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml
Downloading: http://www.redhat.com/security/data/oval/Red_Hat_Enterprise_Linux_7.xml ... ok
OpenSCAP Error: Unable to parse XML from user memory buffer [oscap_source.c:254]

Environment

  • Red Hat Enterprise Linux 7, below minor release 7.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.