GSD-2021-3127
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-3127",
"description": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.",
"id": "GSD-2021-3127"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-3127"
],
"details": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.",
"id": "GSD-2021-3127",
"modified": "2023-12-13T01:23:34.806356Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-3127",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://advisories.nats.io/CVE/CVE-2021-3127.txt",
"refsource": "MISC",
"url": "https://advisories.nats.io/CVE/CVE-2021-3127.txt"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=v2.0.0 \u003cv2.0.1",
"affected_versions": "All versions starting from 2.0.0 before 2.0.1",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-863",
"CWE-937"
],
"date": "2022-04-12",
"description": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.",
"fixed_versions": [
"v2.0.1"
],
"identifier": "CVE-2021-3127",
"identifiers": [
"GHSA-9r5x-fjv3-q6h4",
"CVE-2021-3127"
],
"not_impacted": "All versions before 2.0.0, all versions starting from 2.0.1",
"package_slug": "go/github.com/nats-io/jwt",
"pubdate": "2022-02-15",
"solution": "Upgrade to version 2.0.1 or above.",
"title": "Incorrect Authorization",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3127",
"https://github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866",
"https://github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403",
"https://advisories.nats.io/CVE/CVE-2021-3127.txt",
"https://github.com/advisories/GHSA-9r5x-fjv3-q6h4"
],
"uuid": "acf092c6-f156-4cf9-bcfc-e2997316b592",
"versions": [
{
"commit": {
"sha": "f183abe98b5bd231ff36362ea5230325ac5c9815",
"tags": [
"v2.0.0"
],
"timestamp": "20210314194501"
},
"number": "v2.0.0"
},
{
"commit": {
"sha": "8ca1dd115eef060c4232d9a27d58353641bae017",
"tags": [
"v2.0.1"
],
"timestamp": "20210314230523"
},
"number": "v2.0.1"
}
]
},
{
"affected_range": "\u003cv2.2.0",
"affected_versions": "All versions before 2.2.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-863",
"CWE-937"
],
"date": "2022-04-12",
"description": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.",
"fixed_versions": [
"v2.2.0"
],
"identifier": "CVE-2021-3127",
"identifiers": [
"GHSA-9r5x-fjv3-q6h4",
"CVE-2021-3127"
],
"not_impacted": "All versions starting from 2.2.0",
"package_slug": "go/github.com/nats-io/nats-server/v2/server",
"pubdate": "2022-02-15",
"solution": "Upgrade to version 2.2.0 or above.",
"title": "Incorrect Authorization",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3127",
"https://github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866",
"https://github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403",
"https://advisories.nats.io/CVE/CVE-2021-3127.txt",
"https://github.com/advisories/GHSA-9r5x-fjv3-q6h4"
],
"uuid": "2d07caca-6816-4388-8f36-255d57116338",
"versions": [
{
"commit": {
"sha": "9931302e29d5b9abe7d3f05f7c170a66c299f59d",
"tags": [
"v2.2.0"
],
"timestamp": "20210315022129"
},
"number": "v2.2.0"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.0.1",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:nats:nats_server:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.2.0",
"versionStartIncluding": "2.0.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-3127"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-863"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://advisories.nats.io/CVE/CVE-2021-3127.txt",
"refsource": "MISC",
"tags": [
"Exploit",
"Vendor Advisory"
],
"url": "https://advisories.nats.io/CVE/CVE-2021-3127.txt"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.0,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2021-03-23T14:04Z",
"publishedDate": "2021-03-16T20:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…