github cert-manager/istio-csr v0.20.0

one hour ago

istio-csr integrates cert-manager into Istio, allowing you to issue workload certificates using the power of cert-manager.

This is a security release and all users should upgrade. It is published in tandem with an istio security advisory which is related.

See istio-csr's own advisory for further details.

Stricter SAN validation on incoming CSRs

See (#990). A CSR could carry a second identity in its raw SAN extension encoded so that Go's x509 parser skips it (e.g. tag number 6 in the application class rather than context-specific). Authorization only compares against the parsed csr.URIs, so the smuggled name was never checked, but a signer copying the extension through verbatim would emit it in the certificate.

istio-csr now rejects such CSRs: URI SANs must be context-specific primitive values with valid IA5String contents, the names decoded from the raw extension must exactly match those the parser surfaced, and requests with multiple or empty SAN extensions are refused.

Bug fixes

  • commonLabels are now merged as a map instead of concatenated as text, so a key shared with the chart's own labels (or with deploymentLabels/podLabels) no longer produces a duplicate label key (#951). deploymentLabels and podLabels win on collision; the app label on the istio-csr Pods and the metrics Service cannot be overridden, as selectors match it.

What's Changed

  • ❗fix(extensions): adding san validations for csrs by @hjoshi123 in #990

  • fix(deps): update kubernetes go patches to v0.37.2 by @renovate[bot] in #963
  • fix(deps): update module k8s.io/cli-runtime to v0.37.2 by @renovate[bot] in #964
  • chore(deps): update module github.com/go-jose/go-jose/v4 to v4.1.6 [security] by @renovate[bot] in #960
  • chore(deps): update module golang.org/x/net to v0.62.0 [security] by @renovate[bot] in #961
  • chore(deps): update makefile modules to a120e6b by @renovate[bot] in #965
  • chore(deps): update makefile modules to f0372c4 by @renovate[bot] in #966
  • fix(deps): update module github.com/onsi/ginkgo/v2 to v2.34.0 by @renovate[bot] in #967
  • fix(deps): update module google.golang.org/grpc to v1.85.0 by @renovate[bot] in #962
  • chore(deps): update docker/login-action action to v4.8.0 by @renovate[bot] in #969
  • chore(deps): update makefile modules to 6006d2e by @renovate[bot] in #970
  • fix(deps): update misc go deps by @renovate[bot] in #971
  • chore(deps): update makefile modules to 6659cfe by @renovate[bot] in #973
  • chore(deps): update module golang.org/x/crypto to v0.59.0 [security] by @renovate[bot] in #972
  • fix(deps): update module istio.io/api to v1.32.0 by @renovate[bot] in #974
  • chore(deps): update module go.opentelemetry.io/otel/sdk to v1.47.0 [security] by @renovate[bot] in #975
  • chore(deps): update makefile modules to 7d5f6d8 by @renovate[bot] in #977
  • chore(deps): update makefile modules to 5511e8d by @renovate[bot] in #978
  • fix(deps): update module sigs.k8s.io/controller-runtime to v0.25.3 by @renovate[bot] in #980
  • fix: merge commonLabels as a map to avoid duplicate label keys by @pgmpofu in #951
  • chore(deps): update actions/setup-go action to v7.1.0 by @renovate[bot] in #981
  • chore(deps): update makefile modules to a43f001 by @renovate[bot] in #983
  • chore(deps): update makefile modules to 37f3841 by @renovate[bot] in #984
  • chore(deps): update makefile modules to 0c305f1 by @renovate[bot] in #986
  • fix(deps): update kubernetes go patches to v0.37.3 by @renovate[bot] in #987
  • chore(deps): update makefile modules to 23a1a54 by @renovate[bot] in #988
  • fix(deps): update module k8s.io/cli-runtime to v0.37.3 by @renovate[bot] in #989

New Contributors

Full Changelog: v0.19.1...v0.20.0

Don't miss a new istio-csr release

NewReleases is sending notifications on new releases.