原始 OSV JSON{
"id": "GHSA-9r5x-fjv3-q6h4",
"aliases": [],
"details": "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-62mh-w5cv-p88c (for github.com/nats-io/jwt) and GHSA-j756-f273-xhp4 (for github.com/nats-io/nats-server). This link is maintained to preserve external references.\n\n## Original Description\nNATS Server (github.com/nats-io/nats-server/v2/server) 2.x before 2.2.0 and JWT library (github.com/nats-io/jwt/v2) before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.",
"summary": "Duplicate Advisory: Incorrect Access Control in github.com/nats-io/jwt and github.com/nats-io/nats-server/v2",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
]
}
],
"package": {
"name": "github.com/nats-io/jwt/v2",
"ecosystem": "Go"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0"
}
]
}
],
"package": {
"name": "github.com/nats-io/nats-server/v2",
"ecosystem": "Go"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.3-0.20210314221642-a826c77dc9d2"
}
]
}
],
"package": {
"name": "github.com/nats-io/jwt",
"ecosystem": "Go"
}
}
],
"modified": "2024-05-21T14:35:21Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"published": "2022-02-15T01:57:18Z",
"withdrawn": "2024-05-21T14:35:21Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3127",
"type": "ADVISORY"
},
{
"url": "https://github.com/nats-io/jwt/pull/149",
"type": "WEB"
},
{
"url": "https://github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866",
"type": "WEB"
},
{
"url": "https://github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403",
"type": "WEB"
},
{
"url": "https://advisories.nats.io/CVE/CVE-2021-3127.txt",
"type": "WEB"
},
{
"url": "https://github.com/nats-io/jwt",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-284",
"CWE-863"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-03-16T20:15:00Z",
"github_reviewed_at": "2021-05-12T20:34:10Z"
}
}