CVE-2022-0768 is a high-severity (CVSS 8.6) Server-Side Request Forgery (SSRF) vulnerability in rudloff/alltube. 1 public exploit reference exists, so weaponization risk is real. A fix is available for rudloff/alltube — see the affected versions and patch details below.
Server-Side Request Forgery (SSRF) in rudloff/alltube
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-0768 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
rudloff/alltubeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Releases prior to 3.0.2 are vulnerable to a Server-Side Request Forgery vulnerability that allows an attacker to send a request to an internal hostname.
Patches
3.0.2 contains a fix for this vulnerability. (The 1.x and 2.x releases are not maintained anymore.)
Part of the fix requires applying a patch to youtube-dl to prevent it from following HTTP redirects. If you are using the version of youtube-dl bundled with 3.0.2, it is already patched. However, if you are using your own unpatched version of youtube-dl you might still be vulnerable.
References
- https://github.com/Rudloff/alltube/commit/3a4f09dda0a466662a4e52cde674749e0c668e8d
- https://github.com/Rudloff/alltube/commit/1b099bb9836a3ce7c427a41722a7ab5a3d1c1b2d
- https://huntr.dev/bounties/9b14cc46-ec08-4940-83cc-9f986b2a5903/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0768
- https://github.com/ytdl-org/youtube-dl/issues/30691
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | rudloff/alltube | all versions | 3.0.2composer require rudloff/alltube:^3.0.2 |
Affected Products
alltubealltubedownloadResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rudloff/alltube, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rudloff/alltube to 3.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-0768 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is CVE-2022-0768 in your dependencies?
Find it across Packagist, including transitive dependencies.