{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3148.json"
      }
    ],
    "title": "salt: Command injection in salt.utils.thin.gen_thin()",
    "tracking": {
      "current_release_date": "2025-11-21T16:15:32+00:00",
      "generator": {
        "date": "2025-11-21T16:15:32+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2021-3148",
      "initial_release_date": "2021-02-25T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-02-25T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-06-22T16:57:43+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T16:15:32+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Ceph Storage 2",
                "product": {
                  "name": "Red Hat Ceph Storage 2",
                  "product_id": "red_hat_ceph_storage_2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ceph_storage:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Ceph Storage 2"
          },
          {
            "category": "product_version",
            "name": "salt",
            "product": {
              "name": "salt",
              "product_id": "salt",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/salt?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "salt-minion",
            "product": {
              "name": "salt-minion",
              "product_id": "salt-minion",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/salt-minion"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "salt as a component of Red Hat Ceph Storage 2",
          "product_id": "red_hat_ceph_storage_2:salt"
        },
        "product_reference": "salt",
        "relates_to_product_reference": "red_hat_ceph_storage_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "salt-minion as a component of Red Hat Ceph Storage 2",
          "product_id": "red_hat_ceph_storage_2:salt-minion"
        },
        "product_reference": "salt-minion",
        "relates_to_product_reference": "red_hat_ceph_storage_2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-3148",
      "cwe": {
        "id": "CWE-77",
        "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')"
      },
      "discovery_date": "2021-02-26T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1933336"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in salt. Command injection using the SaltAPI, is possible due to json.dumps() escaping double quotes while leaving the single quotes untouched. The highest threat from this vulnerability is to data confidentiality and integrity.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "salt: Command injection in salt.utils.thin.gen_thin()",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_ceph_storage_2:salt",
          "red_hat_ceph_storage_2:salt-minion"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-3148"
        },
        {
          "category": "external",
          "summary": "RHBZ#1933336",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1933336"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-3148",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-3148"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3148",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3148"
        }
      ],
      "release_date": "2021-02-25T00:00:00+00:00",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_ceph_storage_2:salt",
            "red_hat_ceph_storage_2:salt-minion"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "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:N",
            "version": "3.1"
          },
          "products": [
            "red_hat_ceph_storage_2:salt",
            "red_hat_ceph_storage_2:salt-minion"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_ceph_storage_2:salt",
            "red_hat_ceph_storage_2:salt-minion"
          ]
        }
      ],
      "title": "salt: Command injection in salt.utils.thin.gen_thin()"
    }
  ]
}