p PatchFirst

CVE-2022-23649

CVE-2022-23649 · Improper Certificate Validation in Cosign

CVSS 3.3 · Low · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • cosignNo fix published
  • cosign Alpine 3.16Update to 1.5.2-r0
  • cosign Alpine 3.17Update to 1.5.2-r0
  • cosign Alpine 3.18Update to 1.5.2-r0
  • and 6 more

Check the installed version:

apk list -I -o cosign

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Cosign provides container signing, verification, and storage in an OCI registry for the sigstore project. Prior to version 1.5.2, Cosign can be manipulated to claim that an entry for a signature exists in the Rekor transparency log even if it doesn't. This requires the attacker to have pull and push permissions for the signature in OCI. This can happen with both standard signing with a keypair and "keyless signing" with Fulcio. If an attacker has access to the signature in OCI, they can manipulate cosign into believing the entry was stored in Rekor even though it wasn't. The vulnerability has been patched in v1.5.2 of Cosign. The `signature` in the `signedEntryTimestamp` provided by Rekor is now compared to the `signature` that is being verified. If these don't match, then an error is returned. If a valid bundle is copied to a different signature, verification should fail. Cosign output now only informs the user that certificates were verified if a certificate was in fact verified. There is currently no known workaround.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • cosign

    Versions
    • < 1.5.2: Affected

    No fix published

  • cosign Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

  • cosign Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.5.2-r0

    Update to 1.5.2-r0

Original sources

Check your server →