Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88412

OpenSCAP crashes with segmentation fault when generating HTML report after libxslt update

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • libxslt
    • No
    • None
    • rhel-display-desktop-foundation
    • ssg_display
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      • Scanning the system for vulnerabilities, using oscap command-line utility

        What is the impact of this issue to you?

      • Unable to generate html report using oscap command-line utility

        Please provide the package NVR for which the bug is seen:

      libxslt-1.1.34-9.el9_5.2.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Install latest libxslt-1.1.34-9.el9_5.2.x86_64 package.
      2. Scan the system for vulnerabilities, using oscap command-line utility:
      # wget -O - https://www.redhat.com/security/data/oval/v2/RHEL9/rhel-9.oval.xml.bz2 | bzip2 --decompress > rhel-9.oval.xml
      # oscap oval eval --report vulnerability.html rhel-9.oval.xml
      realloc failed !
      Segmentation fault (core dumped)
      
      # oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis --report /tmp/report.html /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
      --- Starting Evaluation ---
      
      
      realloc failed !
      Segmentation fault (core dumped)
      1. The report flag is what’s causing the issue here. The commands did not segfault without the flag
      2. The workaround is to downgrade the package to libxslt-1.1.34-9.el9_5.1.x86_64

      Expected results:

      • The html report should be generated without any issues.

        Actual results:

      • The command segfaults:

       

      # oscap oval eval --report vulnerability.html rhel-9.oval.xml
      realloc failed ! Segmentation fault (core dumped)

       

              dking@redhat.com David King
              rhn-support-mkenjale Mahesh Kenjale
              David King David King
              Tomas Pelka Tomas Pelka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: