GSD-2022-31152
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-31152",
"description": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.",
"id": "GSD-2022-31152",
"references": [
"https://www.suse.com/security/cve/CVE-2022-31152.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-31152"
],
"details": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.",
"id": "GSD-2022-31152",
"modified": "2023-12-13T01:19:18.092942Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-31152",
"STATE": "PUBLIC",
"TITLE": "Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "synapse",
"version": {
"version_data": [
{
"version_value": "\u003c 1.62.0"
}
]
}
}
]
},
"vendor_name": "matrix-org"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-703: Improper Check or Handling of Exceptional Conditions"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765",
"refsource": "CONFIRM",
"url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765"
},
{
"name": "https://github.com/matrix-org/synapse/pull/13087",
"refsource": "MISC",
"url": "https://github.com/matrix-org/synapse/pull/13087"
},
{
"name": "https://github.com/matrix-org/synapse/pull/13088",
"refsource": "MISC",
"url": "https://github.com/matrix-org/synapse/pull/13088"
},
{
"name": "https://github.com/matrix-org/synapse/releases/tag/v1.62.0",
"refsource": "MISC",
"url": "https://github.com/matrix-org/synapse/releases/tag/v1.62.0"
}
]
},
"source": {
"advisory": "GHSA-jhjh-776m-4765",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.62.0",
"affected_versions": "All versions before 1.62.0",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-755",
"CWE-937"
],
"date": "2022-09-09",
"description": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_allow list`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_allow list) to an empty list (`[]`) as a workaround.",
"fixed_versions": [
"1.62.0"
],
"identifier": "CVE-2022-31152",
"identifiers": [
"CVE-2022-31152",
"GHSA-jhjh-776m-4765",
"GMS-2022-3903"
],
"not_impacted": "All versions starting from 1.62.0",
"package_slug": "pypi/matrix-synapse",
"pubdate": "2022-09-02",
"solution": "Upgrade to version 1.62.0 or above.",
"title": "Improper Handling of Exceptional Conditions",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-31152",
"https://github.com/matrix-org/synapse/pull/13087",
"https://github.com/matrix-org/synapse/pull/13088",
"https://github.com/matrix-org/synapse/releases/tag/v1.62.0",
"https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765",
"https://github.com/advisories/GHSA-jhjh-776m-4765"
],
"uuid": "98aca2db-ac1c-4e14-a428-2333600e7b4a"
},
{
"affected_range": "\u003c0",
"affected_versions": "All versions before 1.62",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-08-31",
"description": "The Matrix specification specifies a list of event authorization rules which must be checked when determining if an event should be accepted into a room.",
"fixed_versions": [
"1.62"
],
"identifier": "GMS-2022-3903",
"identifiers": [
"GHSA-jhjh-776m-4765",
"GMS-2022-3903",
"CVE-2022-31152"
],
"not_impacted": "All versions starting from 1.62",
"package_slug": "pypi/matrix-synapse",
"pubdate": "2022-08-31",
"solution": "Upgrade to version 1.62 or above.",
"title": "Duplicate of ./pypi/matrix-synapse/CVE-2022-31152.yml",
"urls": [
"https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765",
"https://github.com/matrix-org/synapse/pull/13087",
"https://github.com/matrix-org/synapse/pull/13088",
"https://github.com/matrix-org/synapse/releases/tag/v1.62.0",
"https://github.com/advisories/GHSA-jhjh-776m-4765"
],
"uuid": "ee7e688b-3366-4dca-8e02-659ee717c475"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "1.62.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-31152"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-755"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/matrix-org/synapse/pull/13087",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/matrix-org/synapse/pull/13087"
},
{
"name": "https://github.com/matrix-org/synapse/pull/13088",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/matrix-org/synapse/pull/13088"
},
{
"name": "https://github.com/matrix-org/synapse/releases/tag/v1.62.0",
"refsource": "MISC",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://github.com/matrix-org/synapse/releases/tag/v1.62.0"
},
{
"name": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765",
"refsource": "CONFIRM",
"tags": [
"Issue Tracking",
"Mitigation",
"Third Party Advisory"
],
"url": "https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"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"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-09-09T03:21Z",
"publishedDate": "2022-09-02T20: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…