blob: 93bc874ab5bb5954124c3f24bbc6dadc9263a502 [file] [log] [blame]
{
"id": "GO-2022-0386",
"published": "2022-07-01T20:11:22Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2021-3127",
"GHSA-j756-f273-xhp4",
"GHSA-62mh-w5cv-p88c",
"GHSA-9r5x-fjv3-q6h4"
],
"details": "Import tokens valid for one account may be used for any other account.\n\nValidation of Import token bindings incorrectly warns on mismatches, rather than rejecting the Goken. This permits a token for one account to be used for any other account.",
"affected": [
{
"package": {
"name": "github.com/nats-io/jwt",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.3-0.20210314221642-a826c77dc9d2"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0386"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/nats-io/jwt",
"symbols": [
"Account.Validate",
"AccountClaims.Validate",
"ActivationClaims.Validate",
"Import.Validate",
"Imports.Validate"
]
}
]
}
},
{
"package": {
"name": "github.com/nats-io/jwt/v2",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0386"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/nats-io/jwt/v2",
"symbols": [
"Account.Validate",
"AccountClaims.Validate",
"Import.Validate",
"Imports.Validate"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://advisories.nats.io/CVE/CVE-2021-3127.txt"
},
{
"type": "FIX",
"url": "https://github.com/nats-io/jwt/pull/149"
}
],
"schema_version": "1.3.1"
}