What’s Vulnerable › Vulnerabilities
CVE-2021-31272
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-18 · updated 2026-06-17
- Weakness: CWE-22
Description
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.
Affected products
- SerenityOS: before 3844e8569689dd476064a0759d704bc64fb3ca2c — fixed in 3844e8569689dd476064a0759d704bc64fb3ca2c
How to fix
Upgrade to a fixed version: SerenityOS 3844e8569689dd476064a0759d704bc64fb3ca2c. Check the vendor advisory for mitigations.
References
- https://github.com/SerenityOS/serenity/issues/3991
- https://github.com/SerenityOS/serenity/issues/3992
- https://github.com/SerenityOS/serenity/pull/5713
- https://github.com/SerenityOS/serenity/pull/5713/commits/3844e8569689dd476064a0759d704bc64fb3ca2c
- https://github.com/SerenityOS/serenity/issues/3991
- https://github.com/SerenityOS/serenity/issues/3992
- https://github.com/SerenityOS/serenity/pull/5713
- https://github.com/SerenityOS/serenity/pull/5713/commits/3844e8569689dd476064a0759d704bc64fb3ca2c
Get alerted when CVE-2021-31272 or the next vulnerability affects your stack