CVE-2022-36035 Vulnerability Analysis & Exploit Details

CVE-2022-36035
Vulnerability Scoring

7.7
/10
Very High Risk

Highly exploitable, CVE-2022-36035 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: High
    High-level privileges are required for exploitation.
  • Scope: Changed
    Successful exploitation can impact components beyond the vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2022-36035 Details

Status: Modified

Last updated: 🕖 21 Nov 2024, 07:12 UTC
Originally published on: 🕒 31 Aug 2022, 15:15 UTC

Time between publication and last update: 812 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

CVE-2022-36035 Vulnerability Summary

CVE-2022-36035: Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy. Flux CLI allows users to deploy Flux components into a Kubernetes cluster via command-line. The vulnerability allows other applications to replace the Flux deployment information with arbitrary content which is deployed into the target Kubernetes cluster instead. The vulnerability is due to the improper handling of user-supplied input, which results in a path traversal that can be controlled by the attacker. Users sharing the same shell between other applications and the Flux CLI commands could be affected by this vulnerability. In some scenarios no errors may be presented, which may cause end users not to realize that something is amiss. A safe workaround is to execute Flux CLI in ephemeral and isolated shell environments, which can ensure no persistent values exist from previous processes. However, upgrading to the latest version of the CLI is still the recommended mitigation strategy.

Assessing the Risk of CVE-2022-36035

Access Complexity Graph

The exploitability of CVE-2022-36035 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2022-36035

The exploitability of CVE-2022-36035 is influenced by multiple factors. Security teams should analyze system configurations and apply appropriate countermeasures to mitigate threats.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2022-36035, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2022-36035, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2022-36035 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2022-36035 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2022-36035 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.044% (probability of exploit)

EPSS Percentile: 12.55% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 87.45% of others.

CVE-2022-36035 References

External References

CWE Common Weakness Enumeration

CWE-22

CAPEC Common Attack Pattern Enumeration and Classification

  • Path Traversal CAPEC-126 An adversary uses path manipulation methods to exploit insufficient input validation of a target to obtain access to data that should be not be retrievable by ordinary well-formed requests. A typical variety of this attack involves specifying a path to a desired file together with dot-dot-slash characters, resulting in the file access API or function traversing out of the intended directory structure and into the root file system. By replacing or modifying the expected path information the access function or API retrieves the file desired by the attacker. These attacks either involve the attacker providing a complete path to a targeted file or using control characters (e.g. path separators (/ or \) and/or dots (.)) to reach desired directories or files.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-64 This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple ways of encoding a URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Web Input to File System Calls CAPEC-76 An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Using Escaped Slashes in Alternate Encoding CAPEC-78 This attack targets the use of the backslash in alternate encoding. An adversary can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the adversary tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack.
  • Using Slashes in Alternate Encoding CAPEC-79 This attack targets the encoding of the Slash characters. An adversary would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the adversary many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.

Vulnerable Configurations

  • cpe:2.3:a:fluxcd:flux2:0.21.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.21.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.21.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.21.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.22.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.22.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.22.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.22.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.23.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.23.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.24.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.24.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.24.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.24.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.25.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.25.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.25.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.25.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.25.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.25.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.25.3:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.25.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.26.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.26.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.26.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.26.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.26.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.26.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.26.3:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.26.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.27.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.27.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.27.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.27.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.27.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.27.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.27.3:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.27.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.27.4:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.27.4:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.3:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.4:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.4:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.28.5:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.28.5:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.3:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.4:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.4:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.29.5:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.29.5:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.30.0:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.30.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.30.1:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.30.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fluxcd:flux2:0.30.2:*:*:*:*:*:*:*
    cpe:2.3:a:fluxcd:flux2:0.30.2:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2022-36035: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-4061 – A vulnerability, which was classified as critical, was found in code-projects Clothing Store Management System up to 1.0. Affected is the function ...
  • CVE-2025-4060 – A vulnerability, which was classified as critical, has been found in PHPGurukul Notice Board System 1.0. This issue affects some unknown processing...
  • CVE-2025-4035 – A flaw was found in libsoup. When handling cookies, libsoup clients mistakenly allow cookies to be set for public suffix domains if the domain cont...
  • CVE-2025-4059 – A vulnerability classified as critical was found in code-projects Prison Management System 1.0. This vulnerability affects the function addrecord o...
  • CVE-2025-4058 – A vulnerability classified as critical has been found in Projectworlds Online Examination System 1.0. This affects an unknown part of the file /Blo...