gsd-2022-31249
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
A Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-31249",
    "description": "A Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.",
    "id": "GSD-2022-31249",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-31249.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-31249"
      ],
      "details": "A Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.",
      "id": "GSD-2022-31249",
      "modified": "2023-12-13T01:19:18.358306Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@suse.com",
        "DATE_PUBLIC": "2023-01-25T00:00:00.000Z",
        "ID": "CVE-2022-31249",
        "STATE": "PUBLIC",
        "TITLE": "[RANCHER] OS command injection in Rancher and Fleet"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Rancher",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_name": "wrangler",
                          "version_value": "0.7.3"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_name": "wrangler",
                          "version_value": "0.8.4"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_name": "wrangler",
                          "version_value": "1.0.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "SUSE"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://bugzilla.suse.com/show_bug.cgi?id=1200299",
            "refsource": "CONFIRM",
            "url": "https://bugzilla.suse.com/show_bug.cgi?id=1200299"
          }
        ]
      },
      "source": {
        "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1200299",
        "defect": [
          "1200299"
        ],
        "discovery": "INTERNAL"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=v0.7.3 || \u003e=v0.8.0 \u003c=v0.8.4 || \u003e=v0.8.6 \u003cv0.8.11",
          "affected_versions": "All versions up to 0.7.3, all versions starting from 0.8.0 up to 0.8.4, all versions starting from 0.8.6 before 0.8.11",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-01-25",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in github.com/rancher/wrangler.",
          "fixed_versions": [
            "v0.7.4-security1",
            "v0.8.5-security1",
            "v0.8.11"
          ],
          "identifier": "GMS-2023-145",
          "identifiers": [
            "GHSA-qrg7-hfx7-95c5",
            "GMS-2023-145",
            "CVE-2022-31249"
          ],
          "not_impacted": "All versions after 0.7.3 before 0.8.0, all versions after 0.8.4 before 0.8.6, all versions starting from 0.8.11",
          "package_slug": "go/github.com/rancher/wrangler",
          "pubdate": "2023-01-25",
          "solution": "Upgrade to versions 0.7.4-security1, 0.8.5-security1, 0.8.11 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5",
            "https://github.com/advisories/GHSA-qrg7-hfx7-95c5"
          ],
          "uuid": "9a4e23d2-5810-446c-985b-aa120975eaa1",
          "versions": [
            {
              "commit": {
                "sha": "b1b1eff795f1507fd20fb73b205d47bc160dc9f2",
                "tags": [
                  "v0.8.0"
                ],
                "timestamp": "20210412213642"
              },
              "number": "v0.8.0"
            },
            {
              "commit": {
                "sha": "8247b506827aba5b9f7494f31d43d5b4aabfe6be",
                "tags": [
                  "v0.8.4"
                ],
                "timestamp": "20210803150718"
              },
              "number": "v0.8.4"
            },
            {
              "commit": {
                "sha": "f30c1f857ac081c561db47969f3236373af2b9f6",
                "tags": [
                  "v0.8.6"
                ],
                "timestamp": "20210915214804"
              },
              "number": "v0.8.6"
            },
            {
              "commit": {
                "sha": "5a387e13e8d51e3340d9e5012a1951f0cca5fc90",
                "tags": [
                  "v0.8.11"
                ],
                "timestamp": "20230123114814"
              },
              "number": "v0.8.11"
            },
            {
              "commit": {
                "sha": "12397eec50155cb2d24aa70bdf9e90c5f3b9a727",
                "tags": [
                  "v0.7.4-security1"
                ],
                "timestamp": "20230123114828"
              },
              "number": "v0.7.4-security1"
            },
            {
              "commit": {
                "sha": "8649ecc062204f28764fd80157a621cbae89c9cf",
                "tags": [
                  "v0.8.5-security1"
                ],
                "timestamp": "20230123114839"
              },
              "number": "v0.8.5-security1"
            }
          ]
        },
        {
          "affected_range": "=1.0.0",
          "affected_versions": "Version 1.0.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-01-25",
          "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in rancher/github.com/rancher/wrangler.",
          "fixed_versions": [
            "1.0.1"
          ],
          "identifier": "GMS-2023-146",
          "identifiers": [
            "GHSA-qrg7-hfx7-95c5",
            "GMS-2023-146",
            "CVE-2022-31249"
          ],
          "not_impacted": "All versions before 1.0.0, all versions after 1.0.0",
          "package_slug": "go/rancher/github.com/rancher/wrangler",
          "pubdate": "2023-01-25",
          "solution": "Upgrade to version 1.0.1 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5",
            "https://github.com/advisories/GHSA-qrg7-hfx7-95c5"
          ],
          "uuid": "777a1d9f-f3eb-4121-919c-a7aed0c070bf"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:suse:wrangler:1.0.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:suse:wrangler:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.7.4",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:suse:wrangler:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.8.5",
                "versionStartIncluding": "0.8.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@suse.com",
          "ID": "CVE-2022-31249"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-78"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugzilla.suse.com/show_bug.cgi?id=1200299",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking"
              ],
              "url": "https://bugzilla.suse.com/show_bug.cgi?id=1200299"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2023-02-15T01:49Z",
      "publishedDate": "2023-02-07T13:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.