Repository navigation
[main] Update osv-vulnerability-alerts [SECURITY] (main) - #2173
ospk8s-renovate[bot] wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ospk8s-renovate[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @ospk8s-renovate[bot]. Thanks for your PR. I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Important Review skippedBot user detected. Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.
|
OpenStackControlPlane CRD Size Report
Threshold reference
|
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 54m 07s |
17e74eb to
698c679
Compare
ℹ️ Artifact update noticeFile name: api/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
698c679 to
a2415fe
Compare
a2415fe to
f72fe34
Compare
fa2e971 to
83a19aa
Compare
cdd2341 to
cf4020f
Compare
048e22f to
4bb84b5
Compare
4bb84b5 to
de214c6
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
v1.18.6→v1.19.6v1.45.0→v1.47.0v1.45.0→v1.47.0v1.83.1→v1.83.2cert-manager: Direct ACME Challenge resources can bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials
CVE-2026-62290 / GHSA-8rvj-mm4h-c258
More information
Details
Summary
Challengeresources underacme.cert-manager.iocan be created directly by namespace users. On create, cert-manager performs no admission validation tying the Challenge to anOrder, an owner reference, or an Issuer-selected solver. The ACME Challenge controller then reconciles the direct resource and usesChallenge.spec.solveras the DNS01 provider configuration.When the direct Challenge references a
ClusterIssuer, cert-manager derives the DNS provider secret namespace and ambient-credential policy from theClusterIssuerreference, but the DNS provider configuration itself is attacker-controlled throughChallenge.spec.solver. This lets a namespace user bypassIssuer/ClusterIssuersolver selectors such asdnsZones,dnsNames, andmatchLabels, and make the cert-manager controller use ClusterIssuer DNS credentials for attacker-selected provider settings and DNS names.In the acme-dns case, this becomes credential disclosure because the attacker-controlled solver host receives the
X-Api-UserandX-Api-Keyheaders loaded by cert-manager from the ClusterIssuer resource namespace.Attack preconditions
challenges.acme.cert-manager.ioresources in at least one namespace.Challengeresources cluster-wide.ClusterIssuerexists in the cluster.ClusterIssuerhas a DNS01 solver that uses a Secret in the cluster resource namespace, or relies on ambient credentials enabled forClusterIssuer.Severity
Rationale: a tenant with namespace-level ACME Challenge create permissions, including permissions granted by cert-manager's aggregate edit role, can cause a cluster-scoped controller to use DNS credentials or ambient cloud credentials outside the Issuer's intended solver policy. With acme-dns specifically, this can disclose the referenced acme-dns account credential to an attacker-controlled endpoint. With other DNS providers, the impact is credential use, Issuer policy bypass, and unauthorized DNS mutation risk unless a provider-specific credential disclosure path is separately demonstrated.
Why this is not just RBAC misconfiguration
cert-manager's documented end-user workflow does not require users to manually create
Challengeresources. Challenges are internal ACME workflow objects generated from Orders after cert-manager has selected a solver from the referenced Issuer or ClusterIssuer. If default or aggregate roles grant namespace users permission to create these resources, the controller still should not treat a user-controlledChallenge.spec.solveras authoritative for a referencedClusterIssuer.The security boundary is the Issuer/ClusterIssuer solver policy and credential configuration. Direct Challenge creation bypasses that boundary because the controller derives credential namespace and ambient credential permission from
issuerRef, while accepting the DNS provider configuration from the untrusted Challenge object.Affected components
challenges.acme.cert-manager.ioAffected versions tested
The issue was reproduced on:
mastercommit2c0f1a6a4v1.20.2commite5b7b1845v1.19.5commitcda7b7896v1.18.6commit4699caabbSee
VERSION_TEST_MATRIX.mdfor the command matrix and outputs.Technical details
Relevant code paths:
internal/apis/acme/validation/challenge.go:44-45:ValidateChallengereturns no errors on create.deploy/crds/acme.cert-manager.io_challenges.yaml:spec.solveris a required user-controlled field onChallenge.pkg/controller/acmechallenges/scheduler/scheduler.go:51-58: scheduler lists all Challenges.pkg/controller/acmechallenges/controller.go:180-197: scheduler setsstatus.processing=true.pkg/controller/acmechallenges/sync.go:139-183: controller loads the referenced Issuer and then presents the Challenge.pkg/issuer/acme/dns/dns.go:81: DNS solverPresentignores the issuer object argument.pkg/issuer/acme/dns/dns.go:180-187: DNS provider config and resource namespace are derived fromChallenge.spec.pkg/controller/helper.go:39-44:ClusterIssuerreferences use the cluster resource namespace.pkg/controller/helper.go:66-72: ambient credentials are allowed based onissuerRef.kind.internal/apis/config/controller/v1alpha1/defaults.go:68-69: ClusterIssuer ambient credentials default to enabled.deploy/charts/cert-manager/templates/rbac.yaml:517-519: the aggregate edit role can create/updatechallengesandorders.The normal
Orderflow selects a solver from the Issuer:pkg/util/solverpicker/solverpicker.go: solver selectors are evaluated.pkg/controller/acmeorders/util.go:94-106: solvers are fetched from the Issuer and selected.pkg/controller/acmeorders/util.go:131-142: the selected solver is copied into the generated Challenge.The direct
Challengeflow skips that selection entirely because the direct object already contains a solver.Proof of concept
PoC A: low-privileged namespace user can persist a direct ClusterIssuer Challenge
The following script starts k3s in Docker, installs only the relevant CRDs, creates a platform-owned ClusterIssuer, creates a namespace user with Challenge create permission but no secret or ClusterIssuer read permission, and creates a direct DNS01 Challenge referencing that ClusterIssuer and a cluster resource namespace secret.
The ClusterIssuer is configured to use a legitimate acme-dns host for
victim.example.com. The direct Challenge uses that same DNS name, but replaces the acme-dns host with an attacker-controlled endpoint. This demonstrates credential disclosure without relying on an out-of-policy DNS name.A broader DNS policy-bypass variant is also possible when the referenced credential or ambient provider can operate on the attacker-selected DNS name. In that case, the same direct Challenge path bypasses the Issuer/ClusterIssuer solver selectors and provider configuration.
Run from the cert-manager repository root:
Expected output:
This proves that the API accepts the direct object from a user who cannot read the target secret or ClusterIssuer.
PoC B: acme-dns provider sends referenced credentials to the configured host
This self-contained unit PoC demonstrates the concrete acme-dns impact: the acme-dns provider uses the configured host and sends credentials from account JSON as HTTP headers.
Run from repository root:
Expected output:
Combined with PoC A and the code path in
pkg/issuer/acme/dns/dns.go, this shows that a direct Challenge can select an attacker-controlled acme-dns host while causing cert-manager to load account JSON from the ClusterIssuer resource namespace.Credential impact scope
The concrete credential-disclosure proof in this report is for the acme-dns provider: the attacker-controlled
hostreceives theX-Api-UserandX-Api-Keyvalues loaded from the referenced account JSON.For other DNS01 providers, this report should be read as credential use, policy bypass, and DNS mutation risk. The controller may use platform-owned secrets or ambient cloud credentials to perform DNS operations selected by the attacker-controlled Challenge. Provider-specific credential disclosure should not be assumed without a separate provider-level PoC.
Expected behavior
Users should not be able to create standalone
Challengeresources that cause cert-manager to use arbitrary solver configuration under the authority of a referenced Issuer or ClusterIssuer. If directChallengeresources are intentionally exposed, the controller should only reconcile Challenges that are owned by cert-manager-created Orders and whose solver config was selected from the referenced Issuer.Actual behavior
A user with namespace-level Challenge create permission can create a direct Challenge with arbitrary solver configuration. The controller reconciles it, derives credential namespace and ambient credential permission from
issuerRef, and uses attacker-controlled provider settings.Suggested remediation
Possible mitigations:
Challengeresources unless the controller or admission layer can confirm an existing cert-manager-createdOrderthat owns the Challenge.ChallengeandOrdercreation permissions out of aggregateeditunless direct use is a supported security boundary.Severity
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
cert-manager: Direct ACME Challenge resources can bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials
BIT-cert-manager-2026-62290 / CVE-2026-62290 / GHSA-8rvj-mm4h-c258 / GO-2026-6889
More information
Details
Summary
Challengeresources underacme.cert-manager.iocan be created directly by namespace users. On create, cert-manager performs no admission validation tying the Challenge to anOrder, an owner reference, or an Issuer-selected solver. The ACME Challenge controller then reconciles the direct resource and usesChallenge.spec.solveras the DNS01 provider configuration.When the direct Challenge references a
ClusterIssuer, cert-manager derives the DNS provider secret namespace and ambient-credential policy from theClusterIssuerreference, but the DNS provider configuration itself is attacker-controlled throughChallenge.spec.solver. This lets a namespace user bypassIssuer/ClusterIssuersolver selectors such asdnsZones,dnsNames, andmatchLabels, and make the cert-manager controller use ClusterIssuer DNS credentials for attacker-selected provider settings and DNS names.In the acme-dns case, this becomes credential disclosure because the attacker-controlled solver host receives the
X-Api-UserandX-Api-Keyheaders loaded by cert-manager from the ClusterIssuer resource namespace.Attack preconditions
challenges.acme.cert-manager.ioresources in at least one namespace.Challengeresources cluster-wide.ClusterIssuerexists in the cluster.ClusterIssuerhas a DNS01 solver that uses a Secret in the cluster resource namespace, or relies on ambient credentials enabled forClusterIssuer.Severity
Rationale: a tenant with namespace-level ACME Challenge create permissions, including permissions granted by cert-manager's aggregate edit role, can cause a cluster-scoped controller to use DNS credentials or ambient cloud credentials outside the Issuer's intended solver policy. With acme-dns specifically, this can disclose the referenced acme-dns account credential to an attacker-controlled endpoint. With other DNS providers, the impact is credential use, Issuer policy bypass, and unauthorized DNS mutation risk unless a provider-specific credential disclosure path is separately demonstrated.
Why this is not just RBAC misconfiguration
cert-manager's documented end-user workflow does not require users to manually create
Challengeresources. Challenges are internal ACME workflow objects generated from Orders after cert-manager has selected a solver from the referenced Issuer or ClusterIssuer. If default or aggregate roles grant namespace users permission to create these resources, the controller still should not treat a user-controlledChallenge.spec.solveras authoritative for a referencedClusterIssuer.The security boundary is the Issuer/ClusterIssuer solver policy and credential configuration. Direct Challenge creation bypasses that boundary because the controller derives credential namespace and ambient credential permission from
issuerRef, while accepting the DNS provider configuration from the untrusted Challenge object.Affected components
challenges.acme.cert-manager.ioAffected versions tested
The issue was reproduced on:
mastercommit2c0f1a6a4v1.20.2commite5b7b1845v1.19.5commitcda7b7896v1.18.6commit4699caabbSee
VERSION_TEST_MATRIX.mdfor the command matrix and outputs.Technical details
Relevant code paths:
internal/apis/acme/validation/challenge.go:44-45:ValidateChallengereturns no errors on create.deploy/crds/acme.cert-manager.io_challenges.yaml:spec.solveris a required user-controlled field onChallenge.pkg/controller/acmechallenges/scheduler/scheduler.go:51-58: scheduler lists all Challenges.pkg/controller/acmechallenges/controller.go:180-197: scheduler setsstatus.processing=true.pkg/controller/acmechallenges/sync.go:139-183: controller loads the referenced Issuer and then presents the Challenge.pkg/issuer/acme/dns/dns.go:81: DNS solverPresentignores the issuer object argument.pkg/issuer/acme/dns/dns.go:180-187: DNS provider config and resource namespace are derived fromChallenge.spec.pkg/controller/helper.go:39-44:ClusterIssuerreferences use the cluster resource namespace.pkg/controller/helper.go:66-72: ambient credentials are allowed based onissuerRef.kind.internal/apis/config/controller/v1alpha1/defaults.go:68-69: ClusterIssuer ambient credentials default to enabled.deploy/charts/cert-manager/templates/rbac.yaml:517-519: the aggregate edit role can create/updatechallengesandorders.The normal
Orderflow selects a solver from the Issuer:pkg/util/solverpicker/solverpicker.go: solver selectors are evaluated.pkg/controller/acmeorders/util.go:94-106: solvers are fetched from the Issuer and selected.pkg/controller/acmeorders/util.go:131-142: the selected solver is copied into the generated Challenge.The direct
Challengeflow skips that selection entirely because the direct object already contains a solver.Proof of concept
PoC A: low-privileged namespace user can persist a direct ClusterIssuer Challenge
The following script starts k3s in Docker, installs only the relevant CRDs, creates a platform-owned ClusterIssuer, creates a namespace user with Challenge create permission but no secret or ClusterIssuer read permission, and creates a direct DNS01 Challenge referencing that ClusterIssuer and a cluster resource namespace secret.
The ClusterIssuer is configured to use a legitimate acme-dns host for
victim.example.com. The direct Challenge uses that same DNS name, but replaces the acme-dns host with an attacker-controlled endpoint. This demonstrates credential disclosure without relying on an out-of-policy DNS name.A broader DNS policy-bypass variant is also possible when the referenced credential or ambient provider can operate on the attacker-selected DNS name. In that case, the same direct Challenge path bypasses the Issuer/ClusterIssuer solver selectors and provider configuration.
Run from the cert-manager repository root:
Expected output:
This proves that the API accepts the direct object from a user who cannot read the target secret or ClusterIssuer.
PoC B: acme-dns provider sends referenced credentials to the configured host
This self-contained unit PoC demonstrates the concrete acme-dns impact: the acme-dns provider uses the configured host and sends credentials from account JSON as HTTP headers.
Run from repository root:
Expected output:
Combined with PoC A and the code path in
pkg/issuer/acme/dns/dns.go, this shows that a direct Challenge can select an attacker-controlled acme-dns host while causing cert-manager to load account JSON from the ClusterIssuer resource namespace.Credential impact scope
The concrete credential-disclosure proof in this report is for the acme-dns provider: the attacker-controlled
hostreceives theX-Api-UserandX-Api-Keyvalues loaded from the referenced account JSON.For other DNS01 providers, this report should be read as credential use, policy bypass, and DNS mutation risk. The controller may use platform-owned secrets or ambient cloud credentials to perform DNS operations selected by the attacker-controlled Challenge. Provider-specific credential disclosure should not be assumed without a separate provider-level PoC.
Expected behavior
Users should not be able to create standalone
Challengeresources that cause cert-manager to use arbitrary solver configuration under the authority of a referenced Issuer or ClusterIssuer. If directChallengeresources are intentionally exposed, the controller should only reconcile Challenges that are owned by cert-manager-created Orders and whose solver config was selected from the referenced Issuer.Actual behavior
A user with namespace-level Challenge create permission can create a direct Challenge with arbitrary solver configuration. The controller reconciles it, derives credential namespace and ambient credential permission from
issuerRef, and uses attacker-controlled provider settings.Suggested remediation
Possible mitigations:
Challengeresources unless the controller or admission layer can confirm an existing cert-manager-createdOrderthat owns the Challenge.ChallengeandOrdercreation permissions out of aggregateeditunless direct use is a supported security boundary.Severity
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
cert-manager: Direct ACME Challenge resources can bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials in github.com/cert-manager/cert-manager
BIT-cert-manager-2026-62290 / CVE-2026-62290 / GHSA-8rvj-mm4h-c258 / GO-2026-6889
More information
Details
cert-manager: Direct ACME Challenge resources can bypass Issuer DNS01 solver policy and use ClusterIssuer DNS credentials in github.com/cert-manager/cert-manager
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes
CVE-2026-128085 / GHSA-q7gw-24fr-5p69
More information
Details
Summary
The
AttributeValueLengthLimitspan/log-record limit can be bypassed entirely with attribute values that consist of valid U+FFFD (REPLACEMENT CHARACTER) runes. The counting-based truncation introduced by the fix for GHSA-p9f8-wvj8-2fg8 (commite016a78c9, first released in v1.33.0) has an "optimistic" fast path that skips every U+FFFD without counting it and without falling back to the correct slow path. A value of 1000 U+FFFD runes (3000 bytes) is stored verbatim even with a limit of 5 characters (15 bytes). The same defect affects the attribute truncation paths ingo.opentelemetry.io/otel/sdk/trace(sdk/internal/attrnorm),go.opentelemetry.io/otel/sdk/log(sdk/log/internal/attrnorm), and the auto-instrumentation tracer ingo.opentelemetry.io/otel/trace(trace/auto.go, introduced inv1.35.0).This is an incomplete-fix issue: it is a distinct defect in the replacement code that GHSA-p9f8-wvj8-2fg8 introduced, affecting exactly the versions that advisory says are fixed (>= v1.33.0). The original advisory covers only the pre-v1.33.0 code.
Details
The shared truncation helper is generated from
internal/shared/attrnorm/truncate.go.tmpl. In the v1.46.0 release, the generated copies aresdk/internal/attrnorm/truncate.goandsdk/log/internal/attrnorm/truncate.go(identical logic, different package names). The optimistic path (v1.46.0,sdk/internal/attrnorm/truncate.go:175-199) is:rangeover a string yieldsutf8.RuneErrorboth for invalid bytes (size 1) and for a legitimately encoded U+FFFD (size 3). Only the size-1 case enters the slow path. A valid U+FFFD rune is therefore neither counted nor truncating: the loop slides over it. Consequences:count, so no truncation ever triggers and the value is returned unchanged, whatever its length.return s[:i]keeps all previously skipped U+FFFD runes, so the retained size grows linearly with the number of U+FFFD runes and is not bounded bylimit.The OpenTelemetry specification states that truncation applies "counting any character in it as 1". A valid U+FFFD is one character and must count as 1; here it counts as 0. The regression test suite of the repository contains no U+FFFD case, which is why this went unnoticed.
Call chains (v1.46.0):
span.SetAttributes->sdk/trace/span.go(normAttr) ->attrnorm.Truncate->sdk/internal/attrnorm/truncate.go(truncate)Record.AddAttributes/SetAttributes->sdk/log/record.go(attrnorm.TruncateValue) ->sdk/log/internal/attrnorm/truncate.go(truncate)Deduplication: GHSA-p9f8-wvj8-2fg8 describes the pre-v1.33.0 helper (
safeTruncateValidUTF8), which gave up truncating entirely for strings containing RuneError. The rewrite ine016a78c9replaced that code; this report concerns the rewritten code, is present only in versions that the advisory lists as fixed, and no public issue or advisory describes it.PoC
Minimal reproduction with the published release (no repository checkout needed). Go 1.25+ is required (the release declares
go 1.25.0; any recent toolchain auto-selects one).Create a directory with these files.
go.mod(then rungo mod tidyonce to fillgo.sum):otelgo_truncate_test.go:(The
-runpattern above selects the three truncation cases plus the control; the fourth test function is included because it is part of the exact file that produced the output below - it compiles but is not selected by the pattern, and its output does not appear.)otelgo_log_truncate_test.go: