GSD-2021-25313

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-25313",
    "description": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6.",
    "id": "GSD-2021-25313",
    "references": [
      "https://www.suse.com/security/cve/CVE-2021-25313.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-25313"
      ],
      "details": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6.",
      "id": "GSD-2021-25313",
      "modified": "2023-12-13T01:23:21.581917Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@suse.com",
        "DATE_PUBLIC": "2021-03-04T00:00:00.000Z",
        "ID": "CVE-2021-25313",
        "STATE": "PUBLIC",
        "TITLE": "Rancher: XSS on /v3/cluster/"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Rancher",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "Rancher",
                          "version_value": "2.5.6"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "SUSE"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 7.1,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "LOW",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
            "refsource": "CONFIRM",
            "url": "https://bugzilla.suse.com/show_bug.cgi?id=1181852"
          },
          {
            "name": "https://github.com/rancher/rancher/issues/31583",
            "refsource": "CONFIRM",
            "url": "https://github.com/rancher/rancher/issues/31583"
          },
          {
            "name": "https://github.com/rancher/rancher/releases/tag/v2.5.6",
            "refsource": "CONFIRM",
            "url": "https://github.com/rancher/rancher/releases/tag/v2.5.6"
          }
        ]
      },
      "source": {
        "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
        "defect": [
          "1181852"
        ],
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c2.3.11||\u003e=2.4.0 \u003c2.4.14||\u003e=2.5.0 \u003c2.5.6",
          "affected_versions": "All versions before 2.3.11, all versions starting from 2.4.0 before 2.4.14, all versions starting from 2.5.0 before 2.5.6",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-08-03",
          "description": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6.",
          "fixed_versions": [
            "2.4.14",
            "2.5.6",
            "2.3.11"
          ],
          "identifier": "CVE-2021-25313",
          "identifiers": [
            "GHSA-6m8r-jh89-rq7h",
            "CVE-2021-25313"
          ],
          "not_impacted": "All versions starting from 2.3.11 before 2.4.0, all versions starting from 2.4.14 before 2.5.0, all versions starting from 2.5.6",
          "package_slug": "go/github.com/rancher/rancher",
          "pubdate": "2022-05-24",
          "solution": "Upgrade to versions 2.4.14, 2.5.6, 2.3.11 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25313",
            "https://github.com/rancher/rancher/issues/31583",
            "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
            "https://github.com/rancher/rancher/releases/tag/v2.5.6",
            "https://github.com/rancher/rancher/releases/tag/v2.3.11",
            "https://github.com/rancher/rancher/releases/tag/v2.4.14",
            "https://github.com/advisories/GHSA-6m8r-jh89-rq7h"
          ],
          "uuid": "125b5ba8-aca9-4b83-9c61-fac84ad947c1"
        },
        {
          "affected_range": "\u003cv2.3.11 || \u003e=v2.4.0 \u003cv2.4.14 || \u003e=v2.5.0 \u003cv2.5.6",
          "affected_versions": "All versions before v2.3.11, all versions starting from v2.4.0 before v2.4.14, all versions starting from v2.5.0 before v2.5.6",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-03-13",
          "description": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher ",
          "fixed_versions": [
            "v2.3.11",
            "v2.4.14",
            "v2.5.6"
          ],
          "identifier": "CVE-2021-25313",
          "identifiers": [
            "CVE-2021-25313"
          ],
          "not_impacted": "All versions starting from v2.3.11 before v2.4.14, all versions starting from v2.4.14 before v2.5.0, all versions starting from v2.5.6",
          "package_slug": "go/github.com/rancher/rancher/pkg/clusterrouter",
          "pubdate": "2021-03-05",
          "solution": "Upgrade to versions v2.3.11, v2.4.14, v2.5.6 or higher.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25313",
            "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
            "https://github.com/rancher/rancher/issues/31583"
          ],
          "uuid": "7f135561-d11c-4d54-8c85-5bbbfce0619d",
          "versions": [
            {
              "commit": {
                "sha": "65f7c844267bf7336a38ee6ea3e0e63af9e21274",
                "tags": [
                  "v2.5.6",
                  "v2.5.6-rc9"
                ],
                "timestamp": "20210304063736"
              },
              "number": "v2.5.6"
            }
          ]
        },
        {
          "affected_range": "\u003cv2.3.11 || \u003e=v2.4.0 \u003cv2.4.14 || \u003e=v2.5.0 \u003cv2.5.6",
          "affected_versions": "All versions before v2.3.11, all versions starting from v2.4.0 before v2.4.14, all versions starting from v2.5.0 before v2.5.6",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-03-13",
          "description": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher ",
          "fixed_versions": [
            "v2.3.11",
            "v2.4.14",
            "v2.5.6"
          ],
          "identifier": "CVE-2021-25313",
          "identifiers": [
            "CVE-2021-25313"
          ],
          "not_impacted": "All versions starting from v2.3.11 before v2.4.14, all versions starting from v2.4.14 before v2.5.0, all versions starting from v2.5.6",
          "package_slug": "go/github.com/rancher/rancher/server",
          "pubdate": "2021-03-05",
          "solution": "Upgrade to versions v2.3.11, v2.4.14, v2.5.6 or higher.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25313",
            "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
            "https://github.com/rancher/rancher/issues/31583"
          ],
          "uuid": "61033852-50cc-49b4-a1aa-36ab9207f581",
          "versions": [
            {
              "commit": {
                "sha": "65f7c844267bf7336a38ee6ea3e0e63af9e21274",
                "tags": [
                  "v2.5.6",
                  "v2.5.6-rc9"
                ],
                "timestamp": "20210304063736"
              },
              "number": "v2.5.6"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:suse:rancher:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.5.6",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@suse.com",
          "ID": "CVE-2021-25313"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Rancher allows remote attackers to execute JavaScript via malicious links. This issue affects: SUSE Rancher Rancher versions prior to 2.5.6."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/rancher/rancher/releases/tag/v2.5.6",
              "refsource": "CONFIRM",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/rancher/rancher/releases/tag/v2.5.6"
            },
            {
              "name": "https://github.com/rancher/rancher/issues/31583",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/rancher/rancher/issues/31583"
            },
            {
              "name": "https://bugzilla.suse.com/show_bug.cgi?id=1181852",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://bugzilla.suse.com/show_bug.cgi?id=1181852"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2022-04-13T23:44Z",
      "publishedDate": "2021-03-05T09:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…