CVE-2022-0508 Server-Side Request Forgery (SSRF) in chocobozzz/peertube
Attackers can exploit a Server-Side Request Forgery flaw in PeerTube to access internal resources or bypass security controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0508?
CVE-2022-0508 is a medium-severity server-side request forgery vulnerability in chocobozzz/peertube, published on 8 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Server-Side Request Forgery (SSRF) in GitHub repository chocobozzz/peertube prior to f33e515991a32885622b217bf2ed1d1b0d9d6832
Weakness: CWE-918
Which versions are affected by CVE-2022-0508?
2 open source packages ship an affected version, including @peertube/embed-api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@peertube/embed-api npm | All versions | 4.1.0-rc.1 |
@peertube/embed-api npm | All versions | 4.1.0-rc.1 |
Products include Framasoft Peertube.
How do I fix CVE-2022-0508?
Upgrade @peertube/embed-api to 4.1.0-rc.1 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2022-0508 being exploited?
There is no known exploitation of CVE-2022-0508 in the wild and no public exploit code.
Other vulnerabilities in chocobozzz/peertube
- CVE-2022-0881 Insecure Storage of Sensitive Information in chocobozzz/peertube
- CVE-2021-3780 Cross-site Scripting (XSS) - Stored in chocobozzz/peertube
- CVE-2025-32947 PeerTube ActivityPub Crawl Infinite Loop DoS
- CVE-2025-32948 PeerTube ActivityPub Playlist Creation Blind SSRF and DoS
- CVE-2025-32944 PeerTube User Import Authenticated Persistent Denial of Service
Sources
Also known as GHSA-mv26-cx23-vrfg.