LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31272: SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerabil...

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-31272 affects SerenityOS archive extraction tools. A crafted tar or zip archive could write files outside the intended extraction directory, creating a path to command execution or privilege escalation. Business exposure is likely limited unless SerenityOS is used in labs, products, or research environments.

Executive priority

Prioritize this if SerenityOS is present in your environment or product stack. For most enterprises, urgency is low until SerenityOS usage is confirmed; for affected systems, remediation matters because the stated impact includes command execution or privilege escalation.

Technical view

The CVE describes directory traversal in SerenityOS tar/unzip before commit 3844e8569689dd476064a0759d704bc64fb3ca2c. The public record does not provide CVSS, CWE mapping, affected package versions, or detailed exploitability conditions. Impact depends on who extracts the archive and where extracted files can be written.

Likely exposure

Exposure appears limited to SerenityOS systems or derivatives using vulnerable tar/unzip code before the referenced fix commit. The source bundle does not identify packaged releases, downstream products, or CPEs.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. The issue requires handling a malicious archive and depends on extraction permissions and target filesystem layout.

Researcher notes

Evidence is sparse: no CVSS, CWE, CPE, release matrix, or exploit status is provided. Analysis should center on the referenced GitHub issues and PR #5713, with local confirmation that archive path handling rejects traversal entries.

Mitigation direction

  • Update SerenityOS to include commit 3844e8569689dd476064a0759d704bc64fb3ca2c or later.
  • Avoid extracting untrusted tar or zip archives on affected SerenityOS builds.
  • Review SerenityOS PR #5713 and related issues for vendor-specific remediation context.
  • Apply compensating controls around archive intake in exposed research or build environments.

Validation and detection

  • Inventory SerenityOS systems, forks, or appliances that include SerenityOS archive tools.
  • Confirm the local source tree includes commit 3844e8569689dd476064a0759d704bc64fb3ca2c or an equivalent fix.
  • Review workflows where tar/unzip processes archives from users, builds, or external downloads.
  • Check whether extraction runs with elevated privileges or writes into sensitive directories.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31272 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.