CVE-2024-47179: GHSL-2024-178: Possible full repository takeover for RSSHub through Artifact Poisoning - CVE-2024-47179

Published Sep 26, 2024
·
Updated

RSSHub is an RSS network. Prior to commit 64e00e7, RSSHub's docker-test-cont.yml workflow is vulnerable to Artifact Poisoning, which could have lead to a full repository takeover. Downstream users of RSSHub are not vulnerable to this issue, and commit 64e00e7 fixed the underlying issue and made the repository no longer vulnerable. The docker-test-cont.yml workflow gets triggered when the PR - Docker build test workflow completes successfully. It then collects some information about the Pull Request that triggered the triggering workflow and set some labels depending on the PR body and sender. If the PR also contains a routes markdown block, it will set the TESTCONTINUE environment variable to true. The workflow then downloads and extracts an artifact uploaded by the triggering workflow which is expected to contain a single rsshub.tar.zst file. However, prior to commit 64e00e7, it did not validate and the contents were extracted in the root of the workspace overriding any existing files. Since the contents of the artifact were not validated, it is possible for a malicious actor to send a Pull Request which uploads, not just the rsshub.tar.zst compressed docker image, but also a malicious package.json file with a script to run arbitrary code in the context of the privileged workflow. As of commit 64e00e7, this scenario has been addressed and the RSSHub repository is no longer vulnerable.

Other sources

RSSHub’s docker-test-cont.yml workflow is vulnerable to Artifact Poisoning which may lead to a full repository takeover.

— GitHub Security Lab

Affected Software

1 affected component
RSSHub RSSHub

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RSSHub to a version that resolves this vulnerability.

    Patch 64e00e7

Event History

Sep 26, 2024
CVE Published
via MITRE·07:10 PM
Data Sourced
via MITRE·07:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Oct 2, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Sep 2, 2026
Exploit Published
via GitHub·12:24 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-47179?

The severity of CVE-2024-47179 is considered high due to its potential for artifact poisoning and possible repository takeover.

2

How do I fix CVE-2024-47179?

To fix CVE-2024-47179, update your RSSHub to version 64e00e7 or later.

3

Who is affected by CVE-2024-47179?

Only users of the affected versions of RSSHub prior to commit 64e00e7 are at risk from CVE-2024-47179.

4

What type of vulnerability is CVE-2024-47179?

CVE-2024-47179 is classified as an artifact poisoning vulnerability in the RSSHub docker-test workflow.

5

Are downstream users of RSSHub vulnerable to CVE-2024-47179?

No, downstream users of RSSHub are not vulnerable to CVE-2024-47179.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203