Skip to content

Update the public registry to fix pre-authentication JWK parsing DoS and include it in image scans #543

Backlog

Description

@samuelmbabhazi

Problem and impact

The public registry image contains go-jose v4.1.4, affected by CVE-2026-116587 / GHSA-mgcc-cww5-fp2q. Its Bearer-token parser can process an untrusted RSA JWK before verifying the token. Crafted RSA parameters can consume excessive CPU even when the request has no valid credentials, disrupting image pulls, pushes and new deployments.

Priority: P1. Audited main: deff5f611308aa538cd3981c3e66ca8dd22cced7 (2026-11-27). Related: #215 and the earlier image-triage issue #480. This is a specific exposure in the newly added registry, not a claim that every dependency alert is remotely exploitable.

Evidence

Evidence level: exact-image dependency scan plus source tracing of the pre-authentication path. No malicious load or saturation test was run. Token forgery, unauthorized image reads, host compromise and interruption of already-running application containers were not demonstrated. Other CVEs need their own applicability review.

Proposed correction and acceptance criteria

  • Pin a supported registry image whose binary contains go-jose >= 4.1.6 and corrected applicable dependencies; verify the contents, rather than relying only on its tag.
  • Add registry to the image-security matrix for amd64 and arm64, and scan the exact replacement digest on both platforms.
  • Review each remaining HIGH/CRITICAL alert with component/path scope; do not broaden unrelated exceptions to suppress the registry findings.
  • Verify unauthenticated rejection, valid scoped pull/push, cross-application denial and compatibility with existing registry data.
  • Add a bounded regression test for rejection of oversized RSA JWK parameters before expensive processing, using an isolated test service without a load attack.
  • Record the scan date, digest and advisory disposition with the fix.

Publication check (2026-11-27): main advanced to 817f6ac3b00fdb0e81331e519abc5668a1560aee through #539. The affected production paths cited above are unchanged; the source links retain the audited revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P1securitytrack:cross-cutting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions