{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "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/2020/cve-2020-10699.json"
      }
    ],
    "title": "targetcli: world writable /var/run/targetclid.sock allows unprivileged user to execute commands",
    "tracking": {
      "current_release_date": "2026-11-04T20:49:12+00:00",
      "generator": {
        "date": "2026-11-04T20:49:12+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2020-10699",
      "initial_release_date": "2020-03-23T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2020-03-23T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2022-10-02T21:47:13+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-04T20:49:12+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"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Ceph Storage 3",
                "product": {
                  "name": "Red Hat Ceph Storage 3",
                  "product_id": "red_hat_ceph_storage_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:ceph_storage:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Ceph Storage 3"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux AppStream (v. 8)",
                "product": {
                  "name": "Red Hat Enterprise Linux AppStream (v. 8)",
                  "product_id": "AppStream-8.2.0.Z.MAIN.EUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "category": "product_version",
            "name": "targetcli",
            "product": {
              "name": "targetcli",
              "product_id": "targetcli",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/targetcli"
              }
            }
          },
          {
            "category": "product_version",
            "name": "targetcli.src",
            "product": {
              "name": "targetcli.src",
              "product_id": "targetcli.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/targetcli?arch=src"
              }
            }
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "targetcli-0:2.1.51-4.el8_2.noarch",
                "product": {
                  "name": "targetcli-0:2.1.51-4.el8_2.noarch",
                  "product_id": "targetcli-0:2.1.51-4.el8_2.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/targetcli@2.1.51-4.el8_2?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "targetcli-0:2.1.51-4.el8_2.src",
                "product": {
                  "name": "targetcli-0:2.1.51-4.el8_2.src",
                  "product_id": "targetcli-0:2.1.51-4.el8_2.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/targetcli@2.1.51-4.el8_2?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.51-4.el8_2.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
          "product_id": "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch"
        },
        "product_reference": "targetcli-0:2.1.51-4.el8_2.noarch",
        "relates_to_product_reference": "AppStream-8.2.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.51-4.el8_2.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
          "product_id": "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src"
        },
        "product_reference": "targetcli-0:2.1.51-4.el8_2.src",
        "relates_to_product_reference": "AppStream-8.2.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli as a component of Red Hat Ceph Storage 2",
          "product_id": "red_hat_ceph_storage_2:targetcli"
        },
        "product_reference": "targetcli",
        "relates_to_product_reference": "red_hat_ceph_storage_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli.src as a component of Red Hat Ceph Storage 2",
          "product_id": "red_hat_ceph_storage_2:targetcli.src"
        },
        "product_reference": "targetcli.src",
        "relates_to_product_reference": "red_hat_ceph_storage_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli.src as a component of Red Hat Ceph Storage 3",
          "product_id": "red_hat_ceph_storage_3:targetcli.src"
        },
        "product_reference": "targetcli.src",
        "relates_to_product_reference": "red_hat_ceph_storage_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:targetcli"
        },
        "product_reference": "targetcli",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:targetcli.src"
        },
        "product_reference": "targetcli.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-10699",
      "cwe": {
        "id": "CWE-732",
        "name": "Incorrect Permission Assignment for Critical Resource"
      },
      "discovery_date": "2020-03-31T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_ceph_storage_2:targetcli",
            "red_hat_ceph_storage_2:targetcli.src",
            "red_hat_ceph_storage_3:targetcli.src",
            "red_hat_enterprise_linux_7:targetcli",
            "red_hat_enterprise_linux_7:targetcli.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1819219"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Linux, where the socket used by targetclid was world-writable. If a system enables the targetclid socket, a local attacker can use this flaw to modify the iSCSI configuration and escalate their privileges to root.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "targetcli: world writable /var/run/targetclid.sock allows unprivileged user to execute commands",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat Enterprise Linux versions 7, 8.0 and 8.1 are not vulnerable to this flaw, because they do not ship a version of targetcli that contains the targetclid.socket socket.\nRed Hat Enterprise Linux version 8.2 is affected by this flaw.\nThis issue did not affect the version of targetcli shipped with Red Hat Ceph Storage 2 and 3, as the package did not include the support for systemd which provides targetclid.socket socket.",
          "title": "Statement"
        },
        {
          "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": {
        "fixed": [
          "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch",
          "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src"
        ],
        "known_not_affected": [
          "red_hat_ceph_storage_2:targetcli",
          "red_hat_ceph_storage_2:targetcli.src",
          "red_hat_ceph_storage_3:targetcli.src",
          "red_hat_enterprise_linux_7:targetcli",
          "red_hat_enterprise_linux_7:targetcli.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-10699"
        },
        {
          "category": "external",
          "summary": "RHBZ#1819219",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1819219"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-10699",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-10699"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-10699",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-10699"
        },
        {
          "category": "external",
          "summary": "https://github.com/open-iscsi/targetcli-fb/issues/162",
          "url": "https://github.com/open-iscsi/targetcli-fb/issues/162"
        }
      ],
      "release_date": "2020-03-23T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2020-04-28T20:56:56+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch",
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2020:1933"
        },
        {
          "category": "workaround",
          "details": "- Do not enable targetclid, this would prevent the socket to be created\n- Manually change the socket's permission every time it is being created :\n$ sudo chmod 0600 /var/run/targetclid.sock",
          "product_ids": [
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch",
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch",
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src",
            "red_hat_ceph_storage_2:targetcli",
            "red_hat_ceph_storage_2:targetcli.src",
            "red_hat_ceph_storage_3:targetcli.src",
            "red_hat_enterprise_linux_7:targetcli",
            "red_hat_enterprise_linux_7:targetcli.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.noarch",
            "AppStream-8.2.0.Z.MAIN.EUS:targetcli-0:2.1.51-4.el8_2.src",
            "red_hat_ceph_storage_2:targetcli",
            "red_hat_ceph_storage_2:targetcli.src",
            "red_hat_ceph_storage_3:targetcli.src",
            "red_hat_enterprise_linux_7:targetcli",
            "red_hat_enterprise_linux_7:targetcli.src"
          ]
        }
      ],
      "title": "targetcli: world writable /var/run/targetclid.sock allows unprivileged user to execute commands"
    }
  ]
}