{
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:835a6d73-b4be-545b-b384-6b3b7e567838",
  "version": 1,
  "metadata": {
    "supplier": {
      "name": "TuxCare",
      "url": [
        "https://tuxcare.com"
      ]
    }
  },
  "components": [
    {
      "name": "jersey-common",
      "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.35-tuxcare.2",
      "type": "library",
      "group": "org.glassfish.jersey.core",
      "bom-ref": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.35-tuxcare.2",
      "version": "2.35-tuxcare.2",
      "licenses": [
        {
          "license": {
            "url": "https://tuxcare.com/legal/",
            "name": "TuxCare License"
          }
        }
      ],
      "pedigree": {
        "ancestors": [
          {
            "name": "jersey-common",
            "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.35",
            "type": "library",
            "group": "org.glassfish.jersey.core",
            "version": "2.35"
          }
        ]
      },
      "supplier": {
        "url": [
          "https://tuxcare.com"
        ],
        "name": "TuxCare"
      }
    }
  ],
  "vulnerabilities": [
    {
      "id": "CVE-2021-28168",
      "affects": [
        {
          "ref": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.35-tuxcare.2"
        }
      ],
      "bom-ref": "urn:uuid:0958c648-ae2c-5c14-8d5d-6f24042106ca",
      "analysis": {
        "state": "not_affected",
        "detail": "Vulnerability CVE-2021-28168 does not affect version 2.35-tuxcare.2 of org.glassfish.jersey.core:jersey-common. CVE-2021-28168 is a local information-disclosure flaw: Jersey 2.28-2.33 used File.createTempFile to buffer entity data to the shared system temp dir, creating files with -rw-r--r-- permissions readable by all local users. Upstream fixed it in 2.34 (commit f3cadb38, the patch URL in this task) by switching Utils.createTempFile to the NIO Files.createTempFile API, which produces owner-only temp files. The target is Jersey 2.35 (target_sha 2cdb4d32), which already contains this upstream fix. Verified: core-common/.../Utils.java:52-71 uses Files.createTempFile(\"rep\",\"tmp\").toFile() inside AccessController.doPrivileged \u2014 identical to the patch. Both CVE-listed callers (FileProvider.java:64 and FormDataParamValueParamProvider.java:203) delegate to the fixed Utils.createTempFile(). The vulnerable pre-fix pattern is absent. The sole remaining File.createTempFile (MultiPartReaderClientSide.java:119) is a writability probe that creates then immediately .delete()s the file with no content written \u2014 not a disclosure vector and not a CVE-listed location; upstream intentionally left it. The fix is upstream-authored (Maxim Nesen / senivam, non-TuxCare domain) and arrived via wholesale version onboarding, so this is not_affected (vendor fix already in shipped version), not a TuxCare backport (already_fixed).",
        "justification": "code_not_present"
      }
    }
  ],
  "dependencies": [
    {
      "ref": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.35-tuxcare.2"
    }
  ]
}