Skip to content

← Public intelligence

Go package

github.com/Luzifer/ots

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.3GoPublished

    ots has a negative expire override that can bypass its secret retention policy

    GHSA-h5fq-653g-gxrm

    Affected
    • Go github.com/Luzifer/ots <= 1.21.4
    Fixed in
    1.21.5· Vendor fix available
    Issue
    The /api/create endpoint accepted negative expire query values. For the memory storage backend, negative values were passed to secret creation as a negative duration and treated as no expiry, allowing callers to create secrets that persisted longer than intended. Impact Unauthenticated users could bypass configured retention expectations for secrets they create by sending POST /api/create?expire=-1. This does not allow reading or modifying secrets created by other users. Secrets remain one-time-read and, in the normal web flow, client-side encrypted. Affected versions Versions up to and including v1.21.4 are affected. Patched versions Fixed in v1.21.5. Workarounds Disable expiry overrides via disableExpiryOverride: true until upgrading. Credit Reported by Chai Cheng Xun via email.

    Recommended action: Upgrade to 1.21.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →