CVE-2023-5588 kphrx pleroma pack.ex Pleroma.Emoji.Pack path traversal

Low 2.6 Published Updated

Attackers can exploit a path traversal flaw in the emoji pack functionality to read arbitrary files from the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5588?

CVE-2023-5588 is a low-severity path traversal vulnerability in kphrx pleroma, published on 15 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in kphrx pleroma. It has been classified as problematic. This affects the function Pleroma.Emoji.Pack of the file lib/pleroma/emoji/pack.ex. The manipulation of the argument name leads to path traversal. The complexity of an attack is rather high. The exploitability is told to be difficult. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The patch is named 2c795094535537a8607cc0d3b7f076a609636f40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-242187.

Weakness: CWE-22

Which versions are affected by CVE-2023-5588?

2 open source packages ship an affected version, including pleroma. It affects 1 product.

PackageAffectedFixed in
pleroma HexAll versions2.5.3
pleroma HexAll versions2.5.3

Products include Kpherox Pleroma.

How do I fix CVE-2023-5588?

Upgrade pleroma to 2.5.3 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-5588 being exploited?

There is no known exploitation of CVE-2023-5588 in the wild and no public exploit code.

Sources

Also known as GHSA-2c28-m2m7-mf55.

Is CVE-2023-5588 in your software?

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

Check your SBOMs for free