Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1011

Dismiss false positive about Woodstox/Stax2-api (Magnolia 5.7.x)

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • BOM 5.7.25
    • None

    Description

      Woodstox is "the gold standard Stax XML "pull" API (javax.xml.stream) implementation", see https://github.com/FasterXML/woodstox

      Looks like this is a false positive according to https://nvd.nist.gov/vuln/detail/CVE-2022-40152, as it affects versions up to (excluding) 6.4.0, the latter being the version present in Magnolia 5.7.x webapps.
      Apparently it is a mismatch with stax2-api version 4.2.1 having the woodstox name in the artifact's group id.

      The library is pulled in transitively via an older Tika-parsers and ultimately JackRabbit version. We couldn't update to a major JackRabbit/Tika version in a EEoL maintenance branch anyway.

      One or more dependencies were identified with known vulnerabilities in magnolia-enterprise-pro-webapp: 
      ...
      magnolia-empty-webapp-5.7.27-SNAPSHOT.war: stax2-api-4.2.1.jar (pkg:maven/org.codehaus.woodstox/stax2-api@4.2.1, cpe:2.3:a:fasterxml:woodstox:4.2.1:*:*:*:*:*:*:*) : CVE-2022-40152 
      

      inherited via

      [INFO] |  |  |  +- org.apache.tika:tika-parsers:jar:1.28.4:compile
      [INFO] |  |  |  |  +- xerces:xercesImpl:jar:2.8.1:test
      [INFO] |  |  |  |  +- com.fasterxml.woodstox:woodstox-core:jar:6.4.0:compile
      [INFO] |  |  |  |  |  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Foundation
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoR