rhsa-2020_5434
Vulnerability from csaf_redhat
Published
2020-12-15 15:03
Modified
2024-11-22 15:07
Summary
Red Hat Security Advisory: targetcli security update

Notes

Topic
An update for targetcli is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
The targetcli package contains an administration shell for configuring Internet Small Computer System Interface (iSCSI), Fibre Channel over Ethernet (FCoE), and other SCSI targets, using the Target Core Mod/Linux-IO (TCM/LIO) kernel target subsystem. FCoE users also need to install and use the fcoe-utils package. The following packages have been upgraded to a later upstream version: targetcli (2.1.53). (BZ#1853645) Security Fix(es): * targetcli: weak permissions for /etc/target and backup files (CVE-2020-13867) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
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.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for targetcli is now available for Red Hat Enterprise Linux 7.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The targetcli package contains an administration shell for configuring Internet Small Computer System Interface (iSCSI), Fibre Channel over Ethernet (FCoE), and other SCSI targets, using the Target Core Mod/Linux-IO (TCM/LIO) kernel target subsystem. FCoE users also need to install and use the fcoe-utils package.\n\nThe following packages have been upgraded to a later upstream version: targetcli (2.1.53). (BZ#1853645)\n\nSecurity Fix(es):\n\n* targetcli: weak permissions for /etc/target and backup files (CVE-2020-13867)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "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": "https://access.redhat.com/errata/RHSA-2020:5434",
        "url": "https://access.redhat.com/errata/RHSA-2020:5434"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "1848143",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848143"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_5434.json"
      }
    ],
    "title": "Red Hat Security Advisory: targetcli security update",
    "tracking": {
      "current_release_date": "2024-11-22T15:07:03+00:00",
      "generator": {
        "date": "2024-11-22T15:07:03+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2020:5434",
      "initial_release_date": "2020-12-15T15:03:51+00:00",
      "revision_history": [
        {
          "date": "2020-12-15T15:03:51+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2020-12-15T15:03:51+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-22T15:07:03+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Client (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Client (v. 7)",
                  "product_id": "7Client-7.9.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::client"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Server (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Server (v. 7)",
                  "product_id": "7Server-7.9.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::server"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux Workstation (v. 7)",
                "product": {
                  "name": "Red Hat Enterprise Linux Workstation (v. 7)",
                  "product_id": "7Workstation-7.9.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7::workstation"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "targetcli-0:2.1.53-1.el7_9.noarch",
                "product": {
                  "name": "targetcli-0:2.1.53-1.el7_9.noarch",
                  "product_id": "targetcli-0:2.1.53-1.el7_9.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/targetcli@2.1.53-1.el7_9?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "targetcli-0:2.1.53-1.el7_9.src",
                "product": {
                  "name": "targetcli-0:2.1.53-1.el7_9.src",
                  "product_id": "targetcli-0:2.1.53-1.el7_9.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/targetcli@2.1.53-1.el7_9?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.noarch as a component of Red Hat Enterprise Linux Client (v. 7)",
          "product_id": "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.noarch",
        "relates_to_product_reference": "7Client-7.9.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.src as a component of Red Hat Enterprise Linux Client (v. 7)",
          "product_id": "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.src",
        "relates_to_product_reference": "7Client-7.9.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.noarch as a component of Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.noarch",
        "relates_to_product_reference": "7Server-7.9.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.src as a component of Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.src",
        "relates_to_product_reference": "7Server-7.9.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.noarch as a component of Red Hat Enterprise Linux Workstation (v. 7)",
          "product_id": "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.noarch",
        "relates_to_product_reference": "7Workstation-7.9.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "targetcli-0:2.1.53-1.el7_9.src as a component of Red Hat Enterprise Linux Workstation (v. 7)",
          "product_id": "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
        },
        "product_reference": "targetcli-0:2.1.53-1.el7_9.src",
        "relates_to_product_reference": "7Workstation-7.9.Z"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-13867",
      "cwe": {
        "id": "CWE-276",
        "name": "Incorrect Default Permissions"
      },
      "discovery_date": "2020-06-17T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1848143"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "An access flaw was found in targetcli, where the `/etc/target` and underneath backup directory/files were world-readable. This flaw allows a local attacker to access potentially sensitive information such as authentication credentials from the /etc/target/saveconfig.json and backup files. The highest threat from this vulnerability is to confidentiality.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "targetcli: weak permissions for /etc/target and backup files",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "The version of targetcli shipped with Red Hat Ceph Storage 3 sets the world-readable permissions for `/etc/target` and `/etc/target/backup` directory that store the sensitive information, hence affected by this vulnerability.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
          "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
          "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
          "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
          "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
          "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-13867"
        },
        {
          "category": "external",
          "summary": "RHBZ#1848143",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848143"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-13867",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-13867"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-13867",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13867"
        }
      ],
      "release_date": "2020-06-05T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2020-12-15T15:03:51+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": [
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2020:5434"
        },
        {
          "category": "workaround",
          "details": "$ chmod -R og-rwx /etc/target\n\nFuture backup files will still be created with incorrect permissions, but attackers will not be able to access the target directory.",
          "product_ids": [
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Client-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Server-7.9.Z:targetcli-0:2.1.53-1.el7_9.src",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.noarch",
            "7Workstation-7.9.Z:targetcli-0:2.1.53-1.el7_9.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "targetcli: weak permissions for /etc/target and backup files"
    }
  ]
}


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.