CVE-2021-29622 Vulnerability Analysis & Exploit Details

CVE-2021-29622
Vulnerability Scoring

6.5
/10
High Risk

If left unpatched, CVE-2021-29622 could lead to major system disruptions or data loss.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2021-29622 Details

Status: Modified

Last updated: 🕕 21 Nov 2024, 06:01 UTC
Originally published on: 🕗 19 May 2021, 20:15 UTC

Time between publication and last update: 1281 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2021-29622 Vulnerability Summary

CVE-2021-29622: Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint. If a user visits a prometheus server with a specially crafted address, they can be redirected to an arbitrary URL. The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.

Assessing the Risk of CVE-2021-29622

Access Complexity Graph

The exploitability of CVE-2021-29622 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-2021-29622

With low attack complexity and no required privileges, CVE-2021-29622 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

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-2021-29622, 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-2021-29622, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2021-29622 has no significant impact on data confidentiality.
  • Integrity: High
    CVE-2021-29622 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2021-29622 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

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

EPSS Score: 1.577% (probability of exploit)

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

CVE-2021-29622 References

External References

CWE Common Weakness Enumeration

CWE-601

CAPEC Common Attack Pattern Enumeration and Classification

  • Cross-Site Flashing CAPEC-178 An attacker is able to trick the victim into executing a Flash document that passes commands or calls to a Flash player browser plugin, allowing the attacker to exploit native Flash functionality in the client browser. This attack pattern occurs where an attacker can provide a crafted link to a Flash document (SWF file) which, when followed, will cause additional malicious instructions to be executed. The attacker does not need to serve or control the Flash document. The attack takes advantage of the fact that Flash files can reference external URLs. If variables that serve as URLs that the Flash application references can be controlled through parameters, then by creating a link that includes values for those parameters, an attacker can cause arbitrary content to be referenced and possibly executed by the targeted Flash application.

Vulnerable Configurations

  • cpe:2.3:a:prometheus:prometheus:2.23.0:-:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.23.0:-:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.23.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.23.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.24.0:-:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.24.0:-:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.24.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.24.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.24.1:*:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.24.1:*:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.25.0:-:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.25.0:-:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.25.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.25.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.25.1:*:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.25.1:*:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.25.2:*:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.25.2:*:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.26.0:-:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.26.0:-:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.26.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.26.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.27.0:-:*:*:*:*:*:*
  • cpe:2.3:a:prometheus:prometheus:2.27.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:prometheus:prometheus:2.27.0:rc0:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2021-29622: 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-31203 – An integer overflow was addressed with improved input validation. This issue is fixed in macOS Sequoia 15.4, tvOS 18.4, iPadOS 17.7.6, macOS Sonoma...
  • CVE-2025-31202 – A null pointer dereference was addressed with improved input validation. This issue is fixed in iOS 18.4 and iPadOS 18.4, macOS Sequoia 15.4, tvOS ...
  • CVE-2025-31197 – The issue was addressed with improved checks. This issue is fixed in macOS Sequoia 15.4, tvOS 18.4, macOS Ventura 13.7.5, iPadOS 17.7.6, macOS Sono...
  • CVE-2025-30445 – A type confusion issue was addressed with improved checks. This issue is fixed in macOS Sequoia 15.4, tvOS 18.4, macOS Ventura 13.7.5, iPadOS 17.7....
  • CVE-2025-24271 – An access issue was addressed with improved access restrictions. This issue is fixed in macOS Sequoia 15.4, tvOS 18.4, macOS Ventura 13.7.5, iPadOS...