add CVE-2020-5300 for GHSA-3p3g-vpw6-4w66

This commit is contained in:
Robert Schultheis 2020-04-06 10:26:39 -06:00
parent 104006d0f2
commit 65c9d51eaf
No known key found for this signature in database
GPG Key ID: 348C4211B4D8BB40

View File

@ -1,18 +1,93 @@
{
"data_type": "CVE",
"data_format": "MITRE",
"data_version": "4.0",
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2020-5300",
"ASSIGNER": "cve@mitre.org",
"STATE": "RESERVED"
"STATE": "PUBLIC",
"TITLE": "Disallow replay of `private_key_jwt` by blacklisting JTIs in Hydra"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "hydra",
"version": {
"version_data": [
{
"version_value": "< 1.4.0+oryOS.17"
}
]
}
}
]
},
"vendor_name": "ory"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided."
"value": "In Hydra (an OAuth2 Server and OpenID Certified™ OpenID Connect Provider written in Go), before version 1.4.0+oryOS.17,\nwhen using client authentication method 'private_key_jwt' [1], OpenId specification says the following about assertion `jti`:\n\"A unique identifier for the token, which can be used to prevent reuse of the token.\nThese tokens MUST only be used once, unless conditions for reuse were negotiated between the parties\".\n\nHydra does not check the uniqueness of this `jti` value. \n\nExploiting this vulnerability is somewhat difficult because:\n- TLS protects against MITM which makes it difficult to intercept valid tokens for replay attacks\n- The expiry time of the JWT gives only a short window of opportunity where it could be replayed\n\nThis has been patched in version v1.4.0+oryOS.17"
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-294: Authentication Bypass by Capture-replay"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/ory/hydra/security/advisories/GHSA-3p3g-vpw6-4w66",
"refsource": "CONFIRM",
"url": "https://github.com/ory/hydra/security/advisories/GHSA-3p3g-vpw6-4w66"
},
{
"name": "https://github.com/ory/hydra/commit/700d17d3b7d507de1b1d459a7261d6fb2571ebe3",
"refsource": "MISC",
"url": "https://github.com/ory/hydra/commit/700d17d3b7d507de1b1d459a7261d6fb2571ebe3"
},
{
"name": "https://github.com/ory/hydra/releases/tag/v1.4.0",
"refsource": "MISC",
"url": "https://github.com/ory/hydra/releases/tag/v1.4.0"
}
]
},
"source": {
"advisory": "GHSA-3p3g-vpw6-4w66",
"discovery": "UNKNOWN"
}
}
}