blob: 0ca36265894cafee3d060187e04166ef98858311 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0402",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-01T20:10:43Z",
"aliases": [
"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.",
"affected": [
{
"package": {
"name": "github.com/nats-io/jwt",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/nats-io/jwt",
"symbols": [
"Account.Validate",
"AccountClaims.Validate",
"Export.Validate",
"Exports.Validate",
"Import.Validate",
"Imports.Validate"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/nats-io/jwt/pull/107"
},
{
"type": "WEB",
"url": "https://advisories.nats.io/CVE/CVE-2020-26521.txt"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0402"
}
}