Uploaded image for project: 'Clair'
  1. Clair
  2. CLAIRDEV-6

Clair displays deleted Node.js package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • clair-4.7.3
    • indexer
    • None
    • 2

      When indexing image namloc2001/nodesem:a, Clair claims there is both the semver Node.js package with version 7.3.8 and another one with version 7.5.2. semver 7.3.8 was actually deleted in favor of 7.5.2.

      This is because the Node.js package was overwritten with the new contents, and ClairCore does not account for this possibility in the coalescer. This seems to affect all language coalescers.

      Note: I was unable to reproduce this locally, as I build the image with Docker, which opts to include an opaque directory to indicate the entire npm directory is changed.

      See https://github.com/stackrox/stackrox/issues/7033 for related information for how this affected StackRox Scanner V2.

              Unassigned Unassigned
              rtannenb@redhat.com Ross Tannenbaum (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: