{"id":"GHSA-r5hc-wm3g-hjw6","summary":"Server-Side Request Forgery (SSRF) in rudloff/alltube","details":"### Impact\nReleases 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.\n\n### Patches\n3.0.2 contains a fix for this vulnerability.\n(The 1.x and 2.x releases are not maintained anymore.)\n\nPart of the fix requires applying [a patch](https://github.com/Rudloff/alltube/blob/148a171b240e7ceb076b9e198bef412de14ac55d/patches/youtube-dl-redirect.diff) 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.\nHowever, if you are using your own unpatched version of youtube-dl **you might still be vulnerable**.\n\n### References\n* https://github.com/Rudloff/alltube/commit/3a4f09dda0a466662a4e52cde674749e0c668e8d\n* https://github.com/Rudloff/alltube/commit/1b099bb9836a3ce7c427a41722a7ab5a3d1c1b2d\n* https://huntr.dev/bounties/9b14cc46-ec08-4940-83cc-9f986b2a5903/\n* https://nvd.nist.gov/vuln/detail/CVE-2022-0768\n* https://github.com/ytdl-org/youtube-dl/issues/30691","aliases":["CVE-2022-0768"],"modified":"2024-02-21T05:32:09.684993Z","published":"2022-03-01T22:01:30Z","database_specific":{"nvd_published_at":"2022-02-28T10:15:00Z","cwe_ids":["CWE-918"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-03-01T22:01:30Z"},"references":[{"type":"WEB","url":"https://github.com/Rudloff/alltube/security/advisories/GHSA-r5hc-wm3g-hjw6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0768"},{"type":"WEB","url":"https://github.com/Rudloff/alltube/commit/3a4f09dda0a466662a4e52cde674749e0c668e8d"},{"type":"WEB","url":"https://github.com/rudloff/alltube/commit/148a171b240e7ceb076b9e198bef412de14ac55d"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/rudloff/alltube/CVE-2022-0768.yaml"},{"type":"WEB","url":"https://github.com/Rudloff/alltube"},{"type":"WEB","url":"https://huntr.dev/bounties/9b14cc46-ec08-4940-83cc-9f986b2a5903"}],"affected":[{"package":{"name":"rudloff/alltube","ecosystem":"Packagist","purl":"pkg:composer/rudloff/alltube"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.11.0","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2","0.6.0","0.7.0","0.7.1","0.7.2-beta","0.7.2-beta2","0.8.0","0.8.1-beta","0.9.0","1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.1.0","2.2.0","2.2.1","2.3.0","3.0.0","3.0.0-beta","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-beta5","3.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-r5hc-wm3g-hjw6/GHSA-r5hc-wm3g-hjw6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}