[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fUdWcOq5p5HjZxbCrXm-x88y5komwlEnGuvysyZKEDj0":3,"g5a-risk:CVE-2022-25168":112},{"success":4,"data":5,"meta":109},true,{"cveId":6,"title":7,"description":8,"shortDescription":9,"publishedDate":10,"lastModified":11,"cvssScore":12,"cvssVector":13,"cvssMetrics":14,"epssScore":30,"epssPercentile":27,"epssTimeSeries":31,"severity":32,"affectedProducts":33,"affectedProductsCount":39,"references":40,"referencesCount":52,"weaknesses":53,"weaknessesCount":39,"isActivelyExploited":62,"cisaInfo":27,"otxData":27,"relatedBlogPosts":63,"seoMetadata":64,"configurations":89,"relatedVendorCves":107,"notableEvents":108},"CVE-2022-25168","What is CVE-2022-25168?","Apache Hadoop's FileUtil.unTar(File, File) API does not escape the input file name before being passed to the shell. An attacker can inject arbitrary commands. This is only used in Hadoop 3.3 InMemoryAliasMap.completeBootstrapTransfer, which is only ever run by a local user. It has been used in Hadoop 2.x for yarn localization, which does enable remote code execution. It is used in Apache Spark, from the SQL command ADD ARCHIVE. As the ADD ARCHIVE command adds new binaries to the classpath, being able to execute shell scripts does not confer new permissions to the caller. SPARK-38305. \"Check existence of file before untarring\u002Fzipping\", which is included in 3.3.0, 3.1.4, 3.2.2, prevents shell commands being executed, regardless of which version of the hadoop libraries are in use. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.3 or upper (including HADOOP-18136).","Apache Hadoop's FileUtil.unTar(File, File) API does not escape the input file name before being passed to the shell. An attacker can inject arbitrary command...","2022-08-04T15:15:08.343","2023-06-26T11:15:09.37",9.8,"CVSS:3.1\u002FAV:N\u002FAC:L\u002FPR:N\u002FUI:N\u002FS:U\u002FC:H\u002FI:H\u002FA:H",{"CVSSMetricV31":15,"CVSSMetricV30":27,"CVSSMetricV2":27,"CVSSMetricV40":27},[16],{"Source":17,"Type":18,"CVSSData":19,"ExploitabilityScore":28,"ImpactScore":29},"nvd@nist.gov","Primary",{"Version":20,"VectorString":13,"AttackVector":21,"AttackComplexity":22,"PrivilegesRequired":23,"UserInteraction":23,"Scope":24,"ConfidentialityImpact":25,"IntegrityImpact":25,"AvailabilityImpact":25,"BaseScore":12,"BaseSeverity":26,"ExploitCodeMaturity":27,"RemediationLevel":27,"ReportConfidence":27,"TemporalScore":27,"TemporalSeverity":27,"ConfidentialityRequirement":27,"IntegrityRequirement":27,"AvailabilityRequirement":25,"ModifiedAttackVector":27,"ModifiedAttackComplexity":27,"ModifiedPrivilegesRequired":27,"ModifiedUserInteraction":27,"ModifiedScope":27,"ModifiedConfidentialityImpact":27,"ModifiedIntegrityImpact":27,"ModifiedAvailabilityImpact":27,"EnvironmentalScore":27,"EnvironmentalSeverity":27},"3.1","NETWORK","LOW","NONE","UNCHANGED","HIGH","CRITICAL",null,3.9,5.9,0.04457,[30,30,30,30,30,30,30],"Critical",[34],{"vendor":35,"product":36,"version":37,"criteria":38,"vulnerable":4},"apache","hadoop","*","cpe:2.3:a:apache:hadoop:*:*:*:*:*:*:*:*",1,[41,47],{"url":42,"source":43,"tags":44},"https:\u002F\u002Flists.apache.org\u002Fthread\u002Fmxqnb39jfrwgs3j6phwvlrfq4mlox130","Apache",[45,46],"Mailing List","Vendor Advisory",{"url":48,"source":49,"tags":50},"https:\u002F\u002Fsecurity.netapp.com\u002Fadvisory\u002Fntap-20220915-0007\u002F","Netapp",[51],"Third Party Advisory",2,[54],{"id":55,"name":56,"description":57,"extendedDescription":58,"status":59,"abstraction":60,"structure":61},"CWE-78","Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","This weakness can lead to a vulnerability in environments in which the attacker does not have direct access to the operating system, such as in web applications. Alternately, if the weakness occurs in a privileged program, it could allow the attacker to specify commands that normally would not be accessible, or to call alternate commands with privileges that the attacker does not have. The problem is exacerbated if the compromised process does not follow the principle of least privilege, because the attacker-controlled commands may run with special system privileges that increases the amount of damage.\nThere are at least two subtypes of OS command injection:\nFrom a weakness standpoint, these variants represent distinct programmer errors. In the first variant, the programmer clearly intends that input from untrusted parties will be part of the arguments in the command to be executed. In the second variant, the programmer does not intend for the command to be accessible to any untrusted party, but the programmer probably has not accounted for alternate ways in which malicious attackers can provide input.","Stable","Base","Simple",false,[],{"title":65,"metaDescription":66,"keywords":67,"canonicalUrl":68,"structuredData":69},"What is CVE-2022-25168? Vulnerability Analysis | Security Advisory | Precursor Intelligence","Comprehensive analysis of CVE-2022-25168, a critical severity cyber security vulnerability from 2022. Apache Hadoop's FileUtil.unTar(File, File) API does not...","CVE-2022-25168, CVE-2022-25168 vulnerability, CVE-2022-25168 security, critical severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research, vulnerability assessment, cyber threats, 2022, CVSS score, exploit, patch, remediation, apache security, hadoop vulnerability","\u002Fwhat-is\u002Fcve-2022-25168",{"@context":70,"@type":71,"headline":65,"description":66,"datePublished":10,"dateModified":11,"author":72,"publisher":76,"about":80,"mainEntityOfPage":84,"articleSection":87,"keywords":88},"https:\u002F\u002Fschema.org","TechArticle",{"@type":73,"name":74,"url":75},"Organization","Precursor Intelligence","https:\u002F\u002Fprecursorintelligence.com",{"@type":73,"name":74,"url":75,"logo":77},{"@type":78,"url":79},"ImageObject","https:\u002F\u002Fprecursorintelligence.com\u002Fimg\u002Flogos\u002Feplogo.png",{"@type":81,"name":6,"description":82,"additionalType":83},"Thing","Cybersecurity Vulnerability","https:\u002F\u002Fschema.org\u002FSoftwareBug",{"@type":85,"@id":86},"WebPage","https:\u002F\u002Fprecursorintelligence.com\u002Fwhat-is\u002Fcve-2022-25168","Cybersecurity","CVE-2022-25168, CVE-2022-25168 vulnerability, CVE-2022-25168 security, critical severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research",[90],{"Operator":27,"Negate":27,"Nodes":91},[92],{"Operator":93,"Negate":27,"CPEMatch":94},"OR",[95,99,103],{"Vulnerable":4,"Criteria":38,"MatchCriteriaID":96,"VersionStartExcluding":27,"VersionStartIncluding":97,"VersionEndExcluding":27,"VersionEndIncluding":98},"689ABB50-04DB-4449-8750-CBE9346F19AA","2.0.0","2.10.1",{"Vulnerable":4,"Criteria":38,"MatchCriteriaID":100,"VersionStartExcluding":27,"VersionStartIncluding":101,"VersionEndExcluding":27,"VersionEndIncluding":102},"B2D7FBED-F7AB-4BA8-BD85-3638AF05A445","3.0.0","3.2.3",{"Vulnerable":4,"Criteria":38,"MatchCriteriaID":104,"VersionStartExcluding":27,"VersionStartIncluding":105,"VersionEndExcluding":27,"VersionEndIncluding":106},"FF92F83A-F36C-4DED-8807-1292704B4AB8","3.3.0","3.3.2",[],[],{"lastModified":11,"cacheTime":110,"version":111},1792347667774,"2.0",{"score":113,"band":114,"action":115,"scoredAt":116},56,"Medium","Plan remediation","2026-10-16T06:55:18.19415+00:00"]