Vulnerability Details : CVE-2021-31272
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.
Vulnerability category: Directory traversalGain privilege
Products affected by CVE-2021-31272
- cpe:2.3:o:serenityos:serenityos:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31272
0.84%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 82 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31272
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-31272
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-31272
-
https://github.com/SerenityOS/serenity/pull/5713/commits/3844e8569689dd476064a0759d704bc64fb3ca2c
Userland: Fix tar/unzip directory traversal vulnerability by bblenard · Pull Request #5713 · SerenityOS/serenity · GitHubPatch;Third Party Advisory
-
https://github.com/SerenityOS/serenity/pull/5713
Userland: Fix tar/unzip directory traversal vulnerability by bblenard · Pull Request #5713 · SerenityOS/serenity · GitHubThird Party Advisory
-
https://github.com/SerenityOS/serenity/issues/3992
unzip: Directory traversal vulnerability may lead to command execution / privilege escalation · Issue #3992 · SerenityOS/serenity · GitHubThird Party Advisory
-
https://github.com/SerenityOS/serenity/issues/3991
tar: Directory traversal vulnerability may lead to command execution / privilege escalation · Issue #3991 · SerenityOS/serenity · GitHubThird Party Advisory
Jump to