Publish Advisories

GHSA-7mwh-q3xm-qh6p
GHSA-f3r3-h2mq-hx2h
This commit is contained in:
advisory-database[bot]
2024-12-03 18:43:56 +00:00
parent 59dd247d03
commit 28c7211795
2 changed files with 168 additions and 0 deletions
@@ -0,0 +1,107 @@
{
"schema_version": "1.4.0",
"id": "GHSA-7mwh-q3xm-qh6p",
"modified": "2024-12-03T18:43:33Z",
"published": "2024-12-03T18:43:33Z",
"aliases": [
"CVE-2024-53257"
],
"summary": "Vitess allows HTML injection in /debug/querylogz & /debug/env",
"details": "### Summary\n\nThe `/debug/querylogz` and `/debug/env` pages for `vtgate` and `vttablet` do not properly escape user input. The result is that queries executed by Vitess can write HTML into the monitoring page at will.\n\n### Details\n\nThese pages are rendered using `text/template` instead of rendering with a proper HTML templating engine.\n\n### PoC\n\nExecute any query where part of it is HTML markup, for example as part of a string. To make it easier to observe you might want to make sure the query takes a few seconds to complete, giving you time to refresh the status page. \n\nExample query that can trigger the issue:\n\n```sql\nUPDATE users\nSET\n email = CONCAT(\"<img src=https://cataas.com/cat/says/oops>\", users.idUser, \"@xxx\")\nWHERE\n email NOT LIKE '%xxx%' AND email != \"demo@xxx.com\"\n```\n\nResult: \n\n![image](https://github.com/user-attachments/assets/c583816b-157c-474e-bbed-152b3dc0372f)\n\n### Impact\n\nAnyone looking at the Vitess status page is affected. This would normally be owners / administrators of the Vitess cluster.\n\nAnyone that can influence what text show up in queries can trigger it. This would normally be pretty much everybody interacting with a system that uses Vitess as a backend.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "vitess.io/vitess"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "21.0.0"
},
{
"fixed": "21.0.1"
}
]
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "vitess.io/vitess"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "20.0.0"
},
{
"fixed": "20.0.4"
}
]
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "vitess.io/vitess"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "19.0.8"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53257"
},
{
"type": "WEB",
"url": "https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217"
},
{
"type": "PACKAGE",
"url": "https://github.com/vitessio/vitess"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-12-03T18:43:33Z",
"nvd_published_at": "2024-12-03T16:15:23Z"
}
}
@@ -0,0 +1,61 @@
{
"schema_version": "1.4.0",
"id": "GHSA-f3r3-h2mq-hx2h",
"modified": "2024-12-03T18:42:48Z",
"published": "2024-12-03T18:42:48Z",
"aliases": [
"CVE-2024-52815"
],
"summary": "Synapse allows a a malformed invite to break the invitee's `/sync`",
"details": "### Impact\n\nSynapse versions before 1.120.1 fail to properly validate invites received over federation. This vulnerability allows a malicious server to send a specially crafted invite that disrupts the invited user's `/sync` functionality.\n\n### Patches\n\nSynapse 1.120.1 rejects such invalid invites received over federation and restores the ability to sync for affected users.\n\n### Workarounds\n\nServer administrators can disable federation from untrusted servers.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please email us at [security at element.io](mailto:security@element.io).\n",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "matrix-synapse"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.120.1"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/element-hq/synapse/security/advisories/GHSA-f3r3-h2mq-hx2h"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52815"
},
{
"type": "PACKAGE",
"url": "https://github.com/element-hq/synapse"
}
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-12-03T18:42:48Z",
"nvd_published_at": "2024-12-03T17:15:12Z"
}
}