Bug 1999739 (CVE-2021-37712)
Summary: | CVE-2021-37712 nodejs-tar: Insufficient symlink protection due to directory cache poisoning using symbolic links allowing arbitrary file creation and overwrite | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aileenc, amackenz, amasferr, amuller, anpicker, aos-bugs, bdettelb, bmontgom, caswilli, chazlett, drieden, eparis, erooth, etamir, extras-orphan, ggaughan, gghezzo, gmalinko, gparvin, hhorak, hvyas, janstey, jburrell, jochrist, jorton, jramanat, jwendell, jwon, kaycoth, mkudlej, nbecker, nodejs-maint, nodejs-sig, nstielau, ocs-bugs, pahickey, pdelbell, rcernich, rfreiman, spasquie, sponnaga, stcannon, tchollingsworth, thrcka, tjochec, twalsh, zsvetlik |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nodejs-tar 4.4.18, nodejs-tar 5.0.10, nodejs-tar 6.1.9 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in the npm package "tar" (aka node-tar). Extracting tar files that contain two directories and a symlink with names containing Unicode values that normalize to the same value on Windows systems made it possible to bypass node-tar symlink checks on directories. This allows an untrusted tar file to extract and overwrite files into an arbitrary location. The highest threat from this vulnerability is to integrity and system availability.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-01 22:30:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1999741, 1999740, 2002172, 2002173, 2002174, 2002175, 2002176, 2002177, 2002307, 2003774, 2008479, 2008480, 2008481, 2008482, 2008483, 2008484, 2029537, 2029538, 2031769, 2086777, 2086778, 2086779, 2086780, 2087162 | ||
Bug Blocks: | 1999747 |
Description
Guilherme de Almeida Suckevicz
2021-08-31 16:47:46 UTC
Created nodejs-tar tracking bugs for this issue: Affects: epel-7 [bug 1999741] Affects: fedora-all [bug 1999740] Upstream commits: https://github.com/npm/node-tar/commit/3aaf19b2501bbddb145d92b3322c80dcaed3c35f https://github.com/npm/node-tar/commit/b6162c7fafe797f856564ef37f4b82747f051455 This issue has been addressed in the following products: Red Hat OpenShift Data Foundation 4.9.0 on RHEL-8 Via RHSA-2021:5086 https://access.redhat.com/errata/RHSA-2021:5086 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Via RHSA-2022:0041 https://access.redhat.com/errata/RHSA-2022:0041 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:0246 https://access.redhat.com/errata/RHSA-2022:0246 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:0350 https://access.redhat.com/errata/RHSA-2022:0350 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-37712 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Via RHSA-2022:4914 https://access.redhat.com/errata/RHSA-2022:4914 |