A Helm contributor discovered a path traversal vulnerability when Helm saves a chart including at download time.
When either the Helm client or SDK is used to save a chart whose name within the Chart.yaml
file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name.
This issue has been resolved in Helm v3.14.1.
Check all charts used by Helm for path changes in their name as found in the Chart.yaml
file. This includes dependencies.
Disclosed by Dominykas Blyžė at Nearform Ltd.
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
---|---|---|---|---|---|
helm.sh/helm/v3 | golang | - | - | <=3.14.0 | 3.14.1 |
CVSS:3 Severity and metrics
The CVSS metrics represent various qualitative aspects of a vulnerability that influence the overall score above.
Attack Vector (AV)
Network
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Attack Complexity (AC)
Low
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
Privileges Required (PR)
Low
The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.
User Interaction (UI)
None
The vulnerable system can be exploited without interaction from any user.
Scope (S)
Changed
An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component. In this case, the vulnerable component and the impacted component are different and managed by different security authorities.
Confidentiality (C)
Low
There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is limited. The information disclosure does not cause a direct, serious loss to the impacted component.
Integrity (I)
Low
Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is limited. The data modification does not have a direct, serious impact on the impacted component.
Availability (A)
None
There is no impact to availability within the impacted component.
3.1
-
-
BIT-helm-2024-25620
-
3.1
CGA-353f-qqx6-x8xq
-
CGA-3q4j-888f-gv3x
-
CGA-4rfw-jx4j-gh93
-
CGA-4c2r-42vj-3p6j
-
CGA-4fjg-4pjv-j6vj
-
CGA-54qq-j4rx-cwfm
-
CGA-799f-r3cg-cmr9
-
CGA-8rq6-52v7-wgv4
-
CGA-94jh-86j8-66gv
-
CGA-9443-52r6-9m28
-
CGA-9xg8-7qcm-67mf
-
CGA-9hq9-pqrv-fpvf
-
CGA-cj83-4cc6-2j6c
-
CGA-crxc-726h-76wm
-
CGA-f76r-25m7-w73x
-
CGA-fx5q-5jv8-3j4m
-
CGA-jxfx-f339-qj9p
-
CGA-prmw-q54g-hfhg
-
CGA-q7m7-vrfm-vw8x
-
CGA-qhxf-3q74-95c7
-
CGA-qg8g-2fv6-gq78
-
CGA-vj2x-r92w-wrxm
-
CGA-vvhg-wrh3-2x3p
-
CGA-wgwf-w5ch-v3q2
-
CGA-x4h3-cq5j-gh47
-