Skip to content

Inconsistent results between SBOM generated by syft and direct trivy image scan #7850

Answered by DmitriyLewen
Sinderella asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Sinderella
Thanks for your report!

alpine uses source package name for CVEs - see https://security.alpinelinux.org/vuln/CVE-2024-9143

In this case source package name for libcrypto3 is openssl.

For CycloneDX format - Trivy keeps srcPkg into properties:

      "purl": "pkg:apk/alpine/[email protected]?arch=aarch64&distro=3.20.3",
      "properties": [
        {
          "name": "aquasecurity:trivy:LayerDiffID",
          "value": "sha256:16113d51b7181f20135f51e8ffbaead20a7671cd783017601f198748ce8a8ebf"
        },
        {
          "name": "aquasecurity:trivy:PkgID",
          "value": "[email protected]"
        },
        {
          "name": "aquasecurity:trivy:PkgType",
    …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sinderella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage/support Indicates an issue that is a support question. scan/vulnerability Issues relating to vulnerability scanning
2 participants