Advisory

GO-2022-0402

Also known as: CVE-2020-26521, GHSA-h2fg-54x9-5qhq, GHSA-hmm9-r2m2-qg9w

Summary

Panic in NATS JWT decoding in github.com/nats-io/jwt

Details

A malicious account can create and sign a User JWT which causes a panic when decoded by the NATS JWT library.

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:10 UTC
Modified
2026-02-04 03:01 UTC

Affected packages and fixes

github.com/nats-io/jwt

Go · All systems

Affected

  • introduced 0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences