From 11f15b4e5c96a36bb46be8fa3a650cdcac2740f4 Mon Sep 17 00:00:00 2001 From: Jonathan Moroney Date: Thu, 15 Apr 2021 13:33:04 -0700 Subject: [PATCH] Add CVE-2021-29430 for GHSA-wmg4-8cp2-hpg9 --- 2021/29xxx/CVE-2021-29430.json | 110 +++++++++++++++++++++++++++++++-- 1 file changed, 104 insertions(+), 6 deletions(-) diff --git a/2021/29xxx/CVE-2021-29430.json b/2021/29xxx/CVE-2021-29430.json index 581335e3773..4fa5687ec50 100644 --- a/2021/29xxx/CVE-2021-29430.json +++ b/2021/29xxx/CVE-2021-29430.json @@ -1,18 +1,116 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-29430", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Denial of service attack via memory exhaustion" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "sydent", + "version": { + "version_data": [ + { + "version_value": "< 2.3.0" + } + ] + } + } + ] + }, + "vendor_name": "matrix-org" + } + ] + } + }, + "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": "Sydent is a reference Matrix identity server. Sydent does not limit the size of requests it receives from HTTP clients. A malicious user could send an HTTP request with a very large body, leading to memory exhaustion and denial of service. Sydent also does not limit response size for requests it makes to remote Matrix homeservers. A malicious homeserver could return a very large response, again leading to memory exhaustion and denial of service. This affects any server which accepts registration requests from untrusted clients. This issue has been patched by releases 89071a1, 0523511, f56eee3. As a workaround request sizes can be limited in an HTTP reverse-proxy. There are no known workarounds for the problem with overlarge responses.\n" } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "NETWORK", + "availabilityImpact": "HIGH", + "baseScore": 7.5, + "baseSeverity": "HIGH", + "confidentialityImpact": "NONE", + "integrityImpact": "NONE", + "privilegesRequired": "NONE", + "scope": "UNCHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "{\"CWE-20\":\"Improper Input Validation\"}" + } + ] + }, + { + "description": [ + { + "lang": "eng", + "value": "CWE-400 Uncontrolled Resource Consumption" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9", + "refsource": "CONFIRM", + "url": "https://github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9" + }, + { + "name": "https://pypi.org/project/matrix-sydent/", + "refsource": "MISC", + "url": "https://pypi.org/project/matrix-sydent/" + }, + { + "name": "https://github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19d", + "refsource": "MISC", + "url": "https://github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19d" + }, + { + "name": "https://github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7", + "refsource": "MISC", + "url": "https://github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7" + }, + { + "name": "https://github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428", + "refsource": "MISC", + "url": "https://github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428" + }, + { + "name": "https://github.com/matrix-org/sydent/releases/tag/v2.3.0", + "refsource": "MISC", + "url": "https://github.com/matrix-org/sydent/releases/tag/v2.3.0" + } + ] + }, + "source": { + "advisory": "GHSA-wmg4-8cp2-hpg9", + "discovery": "UNKNOWN" } } \ No newline at end of file