Publish Advisories

GHSA-h289-x5wc-xcv8
GHSA-4r78-hx75-jjj2
GHSA-fcf9-6fv2-fc5v
GHSA-mv93-wvcp-7m7r
This commit is contained in:
advisory-database[bot]
2024-05-20 21:14:58 +00:00
parent 476c00fa4d
commit 2f42562079
4 changed files with 17 additions and 6 deletions
@@ -1,15 +1,18 @@
{
"schema_version": "1.4.0",
"id": "GHSA-h289-x5wc-xcv8",
"modified": "2022-02-16T22:56:21Z",
"modified": "2024-05-20T21:13:34Z",
"published": "2022-02-16T22:56:21Z",
"aliases": [
"CVE-2022-24968"
],
"summary": "Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket",
"details": "### Impact\n\nIf no TLS configuration is provided by the user, the websocket package constructs its own TLS configuration using recommended defaults. When looking up a WSS endpoint using the DNS TXT record method described in [XEP-0156: Discovering Alternative XMPP Connection Methods](https://xmpp.org/extensions/xep-0156.html) the ServerName field was incorrectly being set to the name of the server returned by the TXT record request, not the name of the initial server we were attempting to connect to. This means that any attacker that can spoof a DNS record (ie. in the absence of DNSSEC, DNS-over-TLS, DNS-over-HTTPS, or similar technologies) could redirect the user to a server of their choosing and as long as it had a valid TLS certificate for itself the connection would succeed, resulting in a MITM situation.\n\n### Patches\n\nAll users should upgrade to v0.21.1.\n\n### Workarounds\n\nTo work around the issue, manually specify a TLS configuration with the correct hostname.\n\n### References\n\n- https://mellium.im/cve/cve-2022-24968/\n- https://nvd.nist.gov/vuln/detail/CVE-2022-24968\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Reach out on XMPP to [sam@samwhited.com](xmpp:sam@samwhited.com?msg)\n* Email us at [sam@samwhited.com](mailto:sam@samwhited.com)\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
@@ -37,6 +40,10 @@
"type": "WEB",
"url": "https://github.com/mellium/xmpp/security/advisories/GHSA-h289-x5wc-xcv8"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24968"
},
{
"type": "WEB",
"url": "https://github.com/mellium/xmpp/pull/260"
@@ -45,6 +52,10 @@
"type": "WEB",
"url": "https://github.com/mellium/xmpp/commit/0d92aa486da69b71f2f4a30e62aa722c711b98ac"
},
{
"type": "PACKAGE",
"url": "https://github.com/mellium/xmpp"
},
{
"type": "WEB",
"url": "https://mellium.im/cve/cve-2022-24968"
@@ -1,7 +1,7 @@
{
"schema_version": "1.4.0",
"id": "GHSA-4r78-hx75-jjj2",
"modified": "2023-02-07T22:44:43Z",
"modified": "2024-05-20T21:13:53Z",
"published": "2022-05-13T01:19:29Z",
"aliases": [
"CVE-2018-17847"
@@ -1,7 +1,7 @@
{
"schema_version": "1.4.0",
"id": "GHSA-fcf9-6fv2-fc5v",
"modified": "2024-01-23T20:39:38Z",
"modified": "2024-05-20T21:13:50Z",
"published": "2022-05-13T01:19:23Z",
"aliases": [
"CVE-2018-17143"
@@ -1,7 +1,7 @@
{
"schema_version": "1.4.0",
"id": "GHSA-mv93-wvcp-7m7r",
"modified": "2023-10-02T16:33:31Z",
"modified": "2024-05-20T21:13:57Z",
"published": "2022-05-13T01:26:08Z",
"aliases": [
"CVE-2018-17848"