CVE-2022-26612
Last modified
CVE-2022-26612 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. As a result, a TAR entry may create a symlink under the expected extraction directory which points to an external directory. EPSS estimates a 4.29% chance of exploitation in the next 30 days.
Description
In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. As a result, a TAR entry may create a symlink under the expected extraction directory which points to an external directory. A subsequent TAR entry may extract an arbitrary file into the external directory using the symlink name. This however would be caught by the same targetDirPath check on Unix because of the getCanonicalPath call. However on Windows, getCanonicalPath doesn't resolve symbolic links, which bypasses the check. unpackEntries during TAR extraction follows symbolic links which allows writing outside expected base directory on Windows. This was addressed in Apache Hadoop 3.2.3
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Hadoop | < 3.2.3 |
| Apache | Hadoop | 3.3.1 |
| Apache | Hadoop | 3.3.2 |
References
- https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyzExploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220519-0004/Third Party Advisory
- https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyzExploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220519-0004/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-26612?
How severe is CVE-2022-26612?
How do I fix CVE-2022-26612?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-26596Cross-site scripting (XSS) vulnerability in Journal module's…6.1
- CVE-2022-26597Cross-site scripting (XSS) vulnerability in the Layout modul…6.1
- CVE-2022-2660Delta Industrial Automation DIALink versions 1.4.0.0 and pri…7.5
- CVE-2022-26605eZiosuite v2.0.7 contains an authenticated arbitrary file up…8.8
- CVE-2022-26607A remote code execution (RCE) vulnerability in baigo CMS v3.…7.2
- CVE-2022-2661Sequi PortBloque S has an improper authorization vulnerabili…8.8
- CVE-2022-26613PHP-CMS v1.0 was discovered to contain a SQL injection vulne…9.8
- CVE-2022-26615A cross-site scripting (XSS) vulnerability in College Websit…5.4
- CVE-2022-26616PKP Vendor Open Journal System v2.4.8 to v3.3.8 allows attac…6.1
- CVE-2022-26619Halo Blog CMS v1.4.17 was discovered to allow attackers to u…7.5
- CVE-2022-2662Sequi PortBloque S has a improper authentication issues whic…9.8
- CVE-2022-26620Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2022-26612?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
