CVE-2021-31272 Path traversal in n/a

Critical 9.8 Published Updated

A directory traversal flaw in SerenityOS tar/unzip utilities allows attackers to execute commands or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31272?

CVE-2021-31272 is a critical path traversal vulnerability in n/a, published on 18 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.

Weakness: CWE-22

Which versions are affected by CVE-2021-31272?

It affects 1 product.

Products include Serenityos Serenityos.

How do I fix CVE-2021-31272?

No fix has been published for CVE-2021-31272 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-31272 being exploited?

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

Sources

Also known as GHSA-fvpj-8g2h-49g9.

Is CVE-2021-31272 in your software?

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

Check your SBOMs for free