Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple status not displayed correctly #51

Open
tschmidtb51 opened this issue Aug 20, 2024 · 0 comments
Open

Multiple status not displayed correctly #51

tschmidtb51 opened this issue Aug 20, 2024 · 0 comments
Labels
defect Something isn't working service+dev

Comments

@tschmidtb51
Copy link

If a product has both, a fixed status and the remediation, no symbol is shown in the table:
grafik

Please display both.

Example:

{
  "document": {
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "publisher": {
      "category": "vendor",
      "name": "Example Company 01 ProductCERT",
      "namespace": "https://psirt.example01.test"
    },
    "title": "Example Security Advisory 001",
    "tracking": {
      "current_release_date": "2022-02-01T12:00:00.000Z",
      "generator": {
        "date": "2023-01-26T11:55:55.932Z",
        "engine": {
          "name": "Secvisogram",
          "version": "2.0.0"
        }
      },
      "id": "2021-ESA-001",
      "initial_release_date": "2021-01-01T11:00:00.000Z",
      "revision_history": [
        {
          "date": "2021-01-01T11:00:00.000Z",
          "number": "1",
          "summary": "Initial version."
        },
        {
          "date": "2021-02-01T11:00:00.000Z",
          "number": "2",
          "summary": "Patch added for product ABC."
        },
        {
          "date": "2022-02-01T11:00:00.000Z",
          "number": "3",
          "summary": "Additional patch added for product ABC, added example CVE."
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "branches": [
                  {
                    "category": "patch_level",
                    "name": "0",
                    "product": {
                      "name": "Example Company 01 ABC 4.2.0",
                      "product_id": "CSAFPID-0001"
                    }
                  },
                  {
                    "category": "patch_level",
                    "name": "1",
                    "product": {
                      "name": "Example Company 01 ABC 4.2.1",
                      "product_id": "CSAFPID-0002"
                    }
                  },
                  {
                    "category": "patch_level",
                    "name": "1",
                    "product": {
                      "name": "Example Company 01 ABC 4.2.2",
                      "product_id": "CSAFPID-0003"
                    }
                  }
                ],
                "category": "product_version",
                "name": "4.2"
              }
            ],
            "category": "product_name",
            "name": "ABC"
          }
        ],
        "category": "vendor",
        "name": "Example Company 01"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-1900-2723",
      "cwe": {
        "id": "CWE-321",
        "name": "Use of Hard-coded Cryptographic Key"
      },
      "notes": [
        {
          "category": "summary",
          "text": "An attacker with local network access can obtain a fixed cryptography key which may allow for further compromise of ABC outside of local network access."
        }
      ],
      "product_status": {
        "fixed": [
          "CSAFPID-0002",
          "CSAFPID-0003"
        ],
        "known_affected": [
          "CSAFPID-0001"
        ],
        "recommended": [
          "CSAFPID-0003"
        ]
      },
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "Update to the latest firmware.",
          "product_ids": [
            "CSAFPID-0001"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "CSAFPID-0001"
          ]
        }
      ]
    }
  ]
}
``
@tschmidtb51 tschmidtb51 added defect Something isn't working service+dev labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working service+dev
Projects
None yet
Development

No branches or pull requests

1 participant