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

After upgrading libxslt to 1.1.34-9.el9_5.2 observed segfalt

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • CentOS Stream 9
    • libxslt
    • None
    • Yes
    • Important
    • rhel-display-desktop-foundation
    • ssg_display
    • None
    • None
    • None
    • None
    • None
    • x86_64
    • None

       

      On CentOS 9 while running oscap to generate test report, libxslt is crashing after upgrade.

      Steps to reproduce:

      Before upgrade:

      ```

      $ rpm -qa | grep libxslt
      libxslt-1.1.34-9.el9.x86_64

      $ echo '<TestResult/>' > test.xml
      $ oscap xccdf generate report test.xml > test.html
      No cdf:TestResult ID specified and no suitable candidate was autodetected.
      OpenSCAP Error:: Could not apply XSLT /usr/share/openscap/xsl/xccdf-report.xsl to XML file: test.xml [/builddir/build/BUILD/openscap-1.3.10/src/source/xslt.c:182]

      ```

      Update libxslt package.

      ```

      $ dnf update libxslt
      .
      .
      Upgraded:
        libxslt-1.1.34-9.el9_5.2.x86_64

      ```

      Run same command to generate reports.

      ```

      $ oscap xccdf generate report test.xml > test.html
      realloc failed !
      Segmentation fault (core dumped)

      ```

              dking@redhat.com David King
              linswap Swapnil N (Inactive)
              David King David King
              Tomas Pelka Tomas Pelka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: