From d3b84e81ded23d4043e48d3d3071eb6577eed570 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 14:23:08 +0000 Subject: [PATCH] Publish Advisories GHSA-3v33-3wmw-3785 GHSA-4q2p-hwmr-qcxc GHSA-4q2p-hwmr-qcxc --- .../GHSA-3v33-3wmw-3785.json | 62 ++++++++++++++++ .../GHSA-4q2p-hwmr-qcxc.json | 73 +++++++++++++++++++ .../GHSA-4q2p-hwmr-qcxc.json | 35 --------- 3 files changed, 135 insertions(+), 35 deletions(-) create mode 100644 advisories/github-reviewed/2024/07/GHSA-3v33-3wmw-3785/GHSA-3v33-3wmw-3785.json create mode 100644 advisories/github-reviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json delete mode 100644 advisories/unreviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json diff --git a/advisories/github-reviewed/2024/07/GHSA-3v33-3wmw-3785/GHSA-3v33-3wmw-3785.json b/advisories/github-reviewed/2024/07/GHSA-3v33-3wmw-3785/GHSA-3v33-3wmw-3785.json new file mode 100644 index 00000000000..d6f976eb277 --- /dev/null +++ b/advisories/github-reviewed/2024/07/GHSA-3v33-3wmw-3785/GHSA-3v33-3wmw-3785.json @@ -0,0 +1,62 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-3v33-3wmw-3785", + "modified": "2024-07-08T14:22:00Z", + "published": "2024-07-08T14:22:00Z", + "aliases": [ + + ], + "summary": "yt-dlp has dependency on potentially malicious third-party code in Douyu extractors", + "details": "### Impact\nyt-dlp's DouyuTV and DouyuShow extractors used a `cdn.bootcdn.net` URL as a fallback for fetching a component of the crypto-js JavaScript library. When the Douyu extractor is used, yt-dlp extracts this JavaScript code and attempts to execute it externally using [PhantomJS](https://github.com/ariya/phantomjs). `bootcdn.net` is owned by the bad actor responsible for the [Polyfill JS supply chain attack](https://sansec.io/research/polyfill-supply-chain-attack) that has been ongoing since at least June 2023. While there is no evidence that PhantomJS has been targeted by or is vulnerable to any attacks carried out by the Polyfill JS actor, there is the possibility that malicious JavaScript code may have been downloaded/cached by yt-dlp or executed by PhantomJS.\n\nIn order for this potential vulnerability to be exploited by any hypothetical attack, all 3 of the following conditions must be met:\n1. The user has PhantomJS installed on their system.\n2. The user passes a `douyu.com` or `douyutv.com` URL to yt-dlp as input, or passes a URL that redirects to one of these domains.\n3. `cdnjs.cloudflare.com` is unavailable or blocked at the time of extraction, necessitating the usage of the `cdn.bootcdn.net` fallback; or it had been unavailable during a previous run of the Douyu extractor and JavaScript code from `cdn.bootcdn.net` had been cached to disk.\n\n### Patches\nyt-dlp version 2024.07.07 fixes this issue by removing the URL pointing to the malicious CDN and by invalidating any Douyu extractor cache data created by unpatched versions of yt-dlp.\n\n### Workarounds\nIt is recommended to upgrade yt-dlp to version 2024.07.07 as soon as possible.\n\nFor users not able to upgrade:\n- Avoid using the Douyu extractors (`--ies default,-douyutv,-douyushow`)\n- Uninstall (or do not install) PhantomJS\n\n### Acknowledgement\nThanks to @LeSuisse for [reporting this](https://github.com/yt-dlp/yt-dlp/pull/10347) promptly after `bootcdn.net` was discovered to be under control of the same bad actor behind the `polyfill.io` supply chain attack.\n\n### References\n- https://github.com/yt-dlp/yt-dlp/commit/6075a029dba70a89675ae1250e7cdfd91f0eba41\n- https://sansec.io/research/polyfill-supply-chain-attack\n", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "yt-dlp" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2023.09.24" + }, + { + "fixed": "2024.07.07" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3v33-3wmw-3785" + }, + { + "type": "WEB", + "url": "https://github.com/yt-dlp/yt-dlp/commit/6075a029dba70a89675ae1250e7cdfd91f0eba41" + }, + { + "type": "PACKAGE", + "url": "https://github.com/yt-dlp/yt-dlp" + }, + { + "type": "WEB", + "url": "https://sansec.io/research/polyfill-supply-chain-attack" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "LOW", + "github_reviewed": true, + "github_reviewed_at": "2024-07-08T14:22:00Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json b/advisories/github-reviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json new file mode 100644 index 00000000000..aff3b66ecae --- /dev/null +++ b/advisories/github-reviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json @@ -0,0 +1,73 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-4q2p-hwmr-qcxc", + "modified": "2024-07-08T14:21:37Z", + "published": "2024-07-06T00:31:06Z", + "aliases": [ + "CVE-2024-33862" + ], + "summary": "OPCFoundation.NetStandard.Opc.Ua.Core buffer-management vulnerability", + "details": "A buffer-management vulnerability in OPC Foundation OPCFoundation.NetStandard.Opc.Ua.Core before 1.5.374.54 could allow remote attackers to exhaust memory resources. It is triggered when the system receives an excessive number of messages from a remote source. This could potentially lead to a denial of service (DoS) condition, disrupting the normal operation of the system.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" + }, + { + "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": "NuGet", + "name": "OPCFoundation.NetStandard.Opc.Ua.Core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "1.5.374.54" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-33862" + }, + { + "type": "WEB", + "url": "https://github.com/OPCFoundation/UA-.NETStandard/commit/52d4492ccc928f128e7a38857fdf58d94e1e652b" + }, + { + "type": "WEB", + "url": "https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2024-33862.pdf" + }, + { + "type": "PACKAGE", + "url": "https://github.com/OPCFoundation/UA-.NETStandard" + }, + { + "type": "WEB", + "url": "https://github.com/OPCFoundation/UA-.NETStandard/releases/tag/1.5.374.54" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-770" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-07-08T14:21:37Z", + "nvd_published_at": "2024-07-05T23:15:10Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json b/advisories/unreviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json deleted file mode 100644 index 426dc42d034..00000000000 --- a/advisories/unreviewed/2024/07/GHSA-4q2p-hwmr-qcxc/GHSA-4q2p-hwmr-qcxc.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-4q2p-hwmr-qcxc", - "modified": "2024-07-06T00:31:06Z", - "published": "2024-07-06T00:31:06Z", - "aliases": [ - "CVE-2024-33862" - ], - "details": "A buffer-management vulnerability in OPC Foundation OPCFoundation.NetStandard.Opc.Ua.Core before 1.05.374.54 could allow remote attackers to exhaust memory resources. It is triggered when the system receives an excessive number of messages from a remote source. This could potentially lead to a denial of service (DoS) condition, disrupting the normal operation of the system.", - "severity": [ - - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-33862" - }, - { - "type": "WEB", - "url": "https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2024-33862.pdf" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-07-05T23:15:10Z" - } -} \ No newline at end of file