RSSHub Workflow Vulnerable to Artifact Poisoning
CVE-2024-47179
What is CVE-2024-47179?
RSSHub, an RSS network developed by DIYgod, was found to have a vulnerability in its docker-test-cont.yml workflow that allowed artifact poisoning. Prior to the commit 64e00e7, this vulnerability posed a significant risk as it permitted a malicious actor to exploit the workflow triggered by a successful Docker build test. The workflow was designed to download an artifact expected to include a single compressed Docker image file, rsshub.tar.zst. However, it did not implement proper validation, allowing potentially harmful files, such as a malicious package.json, to be executed. This could have resulted in arbitrary code execution in a privileged environment. Fortunately, the issue was resolved in commit 64e00e7, which fortified the workflow and eliminated this vulnerability, ensuring the integrity and security of the RSSHub repository.
Affected Version(s)
RSSHub < 64e00e7
