CVE-2022-0508 Server-Side Request Forgery (SSRF) in chocobozzz/peertube

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
@peertube/embed-api npmAll versions4.1.0-rc.1
@peertube/embed-api npmAll versions4.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.

Sources

Also known as GHSA-mv26-cx23-vrfg.

Is CVE-2022-0508 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free