rhsa-2019:0036
Vulnerability from csaf_redhat
Published
2019-01-08 13:45
Modified
2024-11-14 23:46
Summary
Red Hat Security Advisory: source-to-image security, bug fix, and enhancement update

Notes

Topic
An update for source-to-image is now available for Red Hat Software Collections. Red Hat Product Security has rated this update as having a security impact of Important. 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
Source-to-Image (S2I) is a tool for building reproducible container images. It produces ready-to-run images by injecting a user source into a container image and assembling a new container image. The new image incorporates the base image (the builder) and built source, and is ready to use with the "docker run" command. S2I supports incremental builds, which re-use previously downloaded dependencies, previously built artifacts, and more. The following packages have been upgraded to a later upstream version: source-to-image (1.1.13). (BZ#1654243) Security Fix(es): * source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go (CVE-2018-1102) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. Red Hat would like to thank Michael Hanselmann (hansmi.ch) for reporting this issue.
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": "Important"
    },
    "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 source-to-image is now available for Red Hat Software Collections.\n\nRed Hat Product Security has rated this update as having a security impact of Important. 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": "Source-to-Image (S2I) is a tool for building reproducible container images. It produces ready-to-run images by injecting a user source into a container image and assembling a new container image. The new image incorporates the base image (the builder) and built source, and is ready to use with the \"docker run\" command. S2I supports incremental builds, which re-use previously downloaded dependencies, previously built artifacts, and more.\n\nThe following packages have been upgraded to a later upstream version: source-to-image (1.1.13). (BZ#1654243)\n\nSecurity Fix(es):\n\n* source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go (CVE-2018-1102)\n\nFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.\n\nRed Hat would like to thank Michael Hanselmann (hansmi.ch) for reporting this issue.",
        "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-2019:0036",
        "url": "https://access.redhat.com/errata/RHSA-2019:0036"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "1336631",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1336631"
      },
      {
        "category": "external",
        "summary": "1450131",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1450131"
      },
      {
        "category": "external",
        "summary": "1562246",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1562246"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0036.json"
      }
    ],
    "title": "Red Hat Security Advisory: source-to-image security, bug fix, and enhancement update",
    "tracking": {
      "current_release_date": "2024-11-14T23:46:53+00:00",
      "generator": {
        "date": "2024-11-14T23:46:53+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2019:0036",
      "initial_release_date": "2019-01-08T13:45:32+00:00",
      "revision_history": [
        {
          "date": "2019-01-08T13:45:32+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2019-01-08T13:45:32+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-14T23:46:53+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)",
                "product": {
                  "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)",
                  "product_id": "7Server-RHSCL-3.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhel_software_collections:3::el7"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)",
                "product": {
                  "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)",
                  "product_id": "7Server-RHSCL-3.2-7.4.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhel_software_collections:3::el7"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)",
                "product": {
                  "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)",
                  "product_id": "7Server-RHSCL-3.2-7.5.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhel_software_collections:3::el7"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)",
                "product": {
                  "name": "Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)",
                  "product_id": "7Server-RHSCL-3.2-7.6.Z",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhel_software_collections:3::el7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Software Collections"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "source-to-image-0:1.1.13-1.el7.x86_64",
                "product": {
                  "name": "source-to-image-0:1.1.13-1.el7.x86_64",
                  "product_id": "source-to-image-0:1.1.13-1.el7.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/source-to-image@1.1.13-1.el7?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "source-to-image-0:1.1.13-1.el7.src",
                "product": {
                  "name": "source-to-image-0:1.1.13-1.el7.src",
                  "product_id": "source-to-image-0:1.1.13-1.el7.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/source-to-image@1.1.13-1.el7?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)",
          "product_id": "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.src"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.src",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.4.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)",
          "product_id": "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.x86_64"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.x86_64",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.4.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)",
          "product_id": "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.src"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.src",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.5.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)",
          "product_id": "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.x86_64"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.x86_64",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.5.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)",
          "product_id": "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.src"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.src",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.6.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)",
          "product_id": "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.x86_64"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.x86_64",
        "relates_to_product_reference": "7Server-RHSCL-3.2-7.6.Z"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.src"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.src",
        "relates_to_product_reference": "7Server-RHSCL-3.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "source-to-image-0:1.1.13-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)",
          "product_id": "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.x86_64"
        },
        "product_reference": "source-to-image-0:1.1.13-1.el7.x86_64",
        "relates_to_product_reference": "7Server-RHSCL-3.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Michael Hanselmann"
          ],
          "organization": "hansmi.ch"
        }
      ],
      "cve": "CVE-2018-1102",
      "cwe": {
        "id": "CWE-20",
        "name": "Improper Input Validation"
      },
      "discovery_date": "2018-03-29T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1562246"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in source-to-image function as shipped with Openshift Enterprise 3.x. An improper path validation of tar files in ExtractTarStreamFromTarReader in tar/tar.go leads to privilege escalation.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Package source-to-image as shipped in Red Hat Software Collections has been rated as Important, because it allows an attacker to get access to the victim\u0027s machine, but it requires user interaction.",
          "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": [
          "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.src",
          "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.x86_64",
          "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.src",
          "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.x86_64",
          "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.src",
          "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.x86_64",
          "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.src",
          "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2018-1102"
        },
        {
          "category": "external",
          "summary": "RHBZ#1562246",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1562246"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2018-1102",
          "url": "https://www.cve.org/CVERecord?id=CVE-2018-1102"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-1102",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1102"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/vulnerabilities/3422241",
          "url": "https://access.redhat.com/security/vulnerabilities/3422241"
        }
      ],
      "release_date": "2018-04-27T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2019-01-08T13:45:32+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": [
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2019:0036"
        },
        {
          "category": "workaround",
          "details": "Customers can turn off the source-to-image (S2I) build strategy to prevent access to the exploitable function.  Information about how to disable the source-to-image build strategy is in the product documentation.\n\n* Disabling S2I in OpenShift Enterprise 3.0 - https://docs.openshift.com/enterprise/3.0/admin_guide/securing_builds.html#disabling-a-build-strategy-globally\n* Disabling S2I in OpenShift Enterprise 3.1 - https://docs.openshift.com/enterprise/3.1/admin_guide/securing_builds.html#disabling-a-build-strategy-globally\n* Disabling S2I in OpenShift Enterprise 3.2 - https://docs.openshift.com/enterprise/3.2/admin_guide/securing_builds.html#disabling-a-build-strategy-globally\n* Disabling S2I in OpenShift Enterprise 3.3 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.3/html/cluster_administration/admin-guide-securing-builds\n* Disabling S2I in OpenShift Enterprise 3.4 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.4/html/cluster_administration/admin-guide-securing-builds\n* Disabling S2I in OpenShift Enterprise 3.5 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html/cluster_administration/admin-guide-securing-builds\n* Disabling S2I in OpenShift Enterprise 3.6 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.6/html/cluster_administration/admin-guide-securing-builds\n* Disabling S2I in OpenShift Enterprise 3.7 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.7/html/cluster_administration/admin-guide-securing-builds\n* OpenShift Enterprise 3.8 is not a production version (only for upgrades).\n* Disabling S2I in OpenShift Enterprise 3.9 - https://access.redhat.com/documentation/en-us/openshift_container_platform/3.9/html/cluster_administration/admin-guide-securing-builds",
          "product_ids": [
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.9,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.4.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.5.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2-7.6.Z:source-to-image-0:1.1.13-1.el7.x86_64",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.src",
            "7Server-RHSCL-3.2:source-to-image-0:1.1.13-1.el7.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go"
    }
  ]
}


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.