At Kong, we take security issues very seriously. If you believe you have found a security vulnerability in our project, we encourage you to disclose it responsibly. Please report any potential security vulnerabilities to us by creating a security advisory here.
- Do not publicly disclose the vulnerability: Please do not create a GitHub issue or post the vulnerability on public forums. Instead, create a security advisory here.
- Provide detailed information: When reporting a vulnerability, please include as much information as possible to help us understand and reproduce the issue. This may include:
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact
- Any relevant logs or screenshots
- Acknowledgment: We will acknowledge receipt of your vulnerability report within 48 hours.
- Investigation: Our security team will investigate the report and will keep you informed of the progress. We aim to resolve critical vulnerabilities within 30 days of confirmation.
- Disclosure: We prefer coordinated disclosure and will work with you to schedule the disclosure of the vulnerability in a way that minimizes the risk to users.
Kong Operator images are built, signed and attested by GitHub Actions with GitHub's OIDC identity, so a released image can be traced back to this repository, its commit and the workflow that produced it.
Every release attaches to its GitHub Release page:
- a source SBOM in SPDX (
source-sbom.spdx.json) and CycloneDX (source-sbom.cyclonedx.json) - an image SBOM per platform:
image-linux-amd64-sbom.*.jsonandimage-linux-arm64-sbom.*.json - a
SHA256SUMScovering all of the above
The same reports are also attached to the image as attestations (see Verify the SBOM, vulnerability and CIS attestations), so they do not depend on the Release assets staying around.
The signature and the build provenance describe the multi-arch index digest, never a
per-platform digest and never a tag. Collect it first (regctl
is one way):
IMAGE=kong/kong-operator
TAG=2.4.0
IMAGE_DIGEST=$(regctl manifest digest "${IMAGE}:${TAG}")The signature is an OCI 1.1 referrer of the image, attached in the image's own repository, so cosign finds it with no extra configuration:
cosign verify \
"${IMAGE}:${TAG}@${IMAGE_DIGEST}" \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
--certificate-identity-regexp='^https://github\.com/Kong/kong-operator/\.github/workflows/'The GitHub owner is case-sensitive (Kong/kong-operator, not kong/kong-operator).
With slsa-verifier:
slsa-verifier verify-image \
"${IMAGE}:${TAG}@${IMAGE_DIGEST}" \
--print-provenance \
--source-uri 'github.com/Kong/kong-operator'The provenance is signed by the generator and published in the same repository as the image, as the
sha256-<index digest>.att tag. cosign verify-attestation reads the referrers only and does not see
that tag, so slsa-verifier above is the supported command.
The reports behind the Release assets are also published as attestations on the image itself, one per
predicate type. cosign tree lists what is attached; the types are:
| Predicate type | Report |
|---|---|
cyclonedx, spdxjson |
source SBOM |
https://cyclonedx.org/bom/image/<arch>, https://spdx.dev/Document/image/<arch> |
image SBOM, per platform |
https://cosign.sigstore.dev/sarif/vuln/source, https://cosign.sigstore.dev/sarif/vuln/image/<arch> |
Grype vulnerability report |
https://cisecurity.org/docker/<arch> |
CIS Docker benchmark report |
https://konghq.com/build-metadata |
workflow and runner context of the build |
cosign verify-attestation \
"${IMAGE}:${TAG}@${IMAGE_DIGEST}" \
--type='cyclonedx' \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
--certificate-identity-regexp='^https://github\.com/Kong/kong-operator/\.github/workflows/'Download the SBOMs and SHA256SUMS from the Release page, then check them:
sha256sum -c SHA256SUMSSHA256SUMS proves the files were not corrupted in transit; it is not signed, so it does not prove who
produced them. Authorship is carried by the image: the signature, the provenance and the SBOM
attestations all cover the index digest, and the CycloneDX image SBOM names the platform digest it
describes (metadata.component.version).
For any questions or further assistance, please contact us at team-kubernetes@konghq.com.