RHSA-2014:0764
Vulnerability from csaf_redhat
Published
2014-06-18 19:59
Modified
2024-11-22 08:08
Summary
Red Hat Security Advisory: rubygem-openshift-origin-node security update

Notes

Topic
An updated rubygem-openshift-origin-node package that fixes one security issue and several bugs is now available for Red Hat OpenShift Enterprise 2.1.1. The Red Hat Security Response Team has rated this update as having Critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.
Details
The rubygem-openshift-origin-node package provides basic OpenShift node functionality. A command injection flaw was found in rubygem-openshift-origin-node. A remote, authenticated user permitted to install cartridges via the web interface could use this flaw to execute arbitrary code with root privileges on the Red Hat OpenShift Enterprise node server. (CVE-2014-3496) This issue was discovered by Jeremy Choi of the Red Hat HSS Pen-test Team. The rubygem-openshift-origin-node package has been upgraded to version 1.23.9.11. Additionally, the rubygem-openshift-origin-container-selinux package has been upgraded to version 0.8.1.2, as needed by the updated rubygem-openshift-origin-node package. This update also fixes the following bugs: * The syslog_logger.rb implementation on nodes made incorrect use of the Ruby Syslog library. Raw log message input was handled as a Syslog format string, causing failures for many application operations. This bug fix updates the implementation to correctly handle raw log message input, and the failures no longer occur. (BZ#1096900) * Under certain conditions, it was possible for the MCollective agent on nodes to fail to fully initialize while checking the status of a cartridge. This resulted in sporadic failures of rhc cartridge status. This bug fix ensures that the agent is always fully initialized. (BZ#1102399) * Developers encountered syntax errors when connecting to a gear using the 'rhc ssh' command if the gear was hosted on a node with quotas disabled. This was due to the command trying to report quota information but being given an empty string because quotas were disabled. This bug fix updates the handling for reporting on quotas when there is no information to report, and the syntax errors no longer occur. (BZ#1107801) * If a file containing invalid special characters was placed in an application's ~/.env/user_vars directory, subsequent interactions with the application using SSH or Git were refused. This was due to problems with the node component handling the invalid characters. This bug fix updates the node component to handle problematic files in ~/.env/user_vars; as a result, interactions with the application using SSH or Git succeed as normal. (BZ#1096833) All rubygem-openshift-origin-node users are advised to upgrade to this updated package, which contains a backported patch to correct 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": "Critical"
    },
    "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 updated rubygem-openshift-origin-node package that fixes one security\nissue and several bugs is now available for Red Hat OpenShift Enterprise \n2.1.1.\n\nThe Red Hat Security Response Team has rated this update as having Critical\nsecurity impact. A Common Vulnerability Scoring System (CVSS) base score,\nwhich gives a detailed severity rating, is available from the CVE link in\nthe References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The rubygem-openshift-origin-node package provides basic OpenShift node\nfunctionality.\n\nA command injection flaw was found in rubygem-openshift-origin-node.\nA remote, authenticated user permitted to install cartridges via the web\ninterface could use this flaw to execute arbitrary code with root\nprivileges on the Red Hat OpenShift Enterprise node server. (CVE-2014-3496)\n\nThis issue was discovered by Jeremy Choi of the Red Hat HSS Pen-test Team.\n\nThe rubygem-openshift-origin-node package has been upgraded to version\n1.23.9.11. Additionally, the rubygem-openshift-origin-container-selinux\npackage has been upgraded to version 0.8.1.2, as needed by the updated\nrubygem-openshift-origin-node package.\n\nThis update also fixes the following bugs:\n\n* The syslog_logger.rb implementation on nodes made incorrect use of the \nRuby Syslog library. Raw log message input was handled as a Syslog format \nstring, causing failures for many application operations. This bug fix \nupdates the implementation to correctly handle raw log message input, and \nthe failures no longer occur. (BZ#1096900)\n\n* Under certain conditions, it was possible for the MCollective agent on \nnodes to fail to fully initialize while checking the status of a cartridge. \nThis resulted in sporadic failures of rhc cartridge status. This bug fix \nensures that the agent is always fully initialized. (BZ#1102399)\n\n* Developers encountered syntax errors when connecting to a gear using the\n\u0027rhc ssh\u0027 command if the gear was hosted on a node with quotas disabled.\nThis was due to the command trying to report quota information but being\ngiven an empty string because quotas were disabled. This bug fix updates\nthe handling for reporting on quotas when there is no information to\nreport, and the syntax errors no longer occur. (BZ#1107801)\n\n* If a file containing invalid special characters was placed in an\napplication\u0027s ~/.env/user_vars directory, subsequent interactions with the\napplication using SSH or Git were refused. This was due to problems with\nthe node component handling the invalid characters. This bug fix updates\nthe node component to handle problematic files in ~/.env/user_vars; as a\nresult, interactions with the application using SSH or Git succeed as\nnormal. (BZ#1096833)\n\nAll rubygem-openshift-origin-node users are advised to upgrade to this\nupdated package, which contains a backported patch to correct 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-2014:0764",
        "url": "https://access.redhat.com/errata/RHSA-2014:0764"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#critical",
        "url": "https://access.redhat.com/security/updates/classification/#critical"
      },
      {
        "category": "external",
        "summary": "1096833",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1096833"
      },
      {
        "category": "external",
        "summary": "1096900",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1096900"
      },
      {
        "category": "external",
        "summary": "1102399",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1102399"
      },
      {
        "category": "external",
        "summary": "1107801",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1107801"
      },
      {
        "category": "external",
        "summary": "1110470",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1110470"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_0764.json"
      }
    ],
    "title": "Red Hat Security Advisory: rubygem-openshift-origin-node security update",
    "tracking": {
      "current_release_date": "2024-11-22T08:08:28+00:00",
      "generator": {
        "date": "2024-11-22T08:08:28+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2014:0764",
      "initial_release_date": "2014-06-18T19:59:48+00:00",
      "revision_history": [
        {
          "date": "2014-06-18T19:59:48+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2014-06-18T19:59:48+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-22T08:08:28+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "RHOSE Node 2.1",
                "product": {
                  "name": "RHOSE Node 2.1",
                  "product_id": "6Server-RHOSE-NODE-2.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift:2.0::el6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Enterprise"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
                "product": {
                  "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
                  "product_id": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rubygem-openshift-origin-container-selinux@0.8.1.2-1.el6op?arch=src"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src",
                "product": {
                  "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src",
                  "product_id": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rubygem-openshift-origin-node@1.23.9.11-1.el6op?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
                "product": {
                  "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
                  "product_id": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rubygem-openshift-origin-container-selinux@0.8.1.2-1.el6op?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
                "product": {
                  "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
                  "product_id": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rubygem-openshift-origin-node@1.23.9.11-1.el6op?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch as a component of RHOSE Node 2.1",
          "product_id": "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch"
        },
        "product_reference": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
        "relates_to_product_reference": "6Server-RHOSE-NODE-2.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src as a component of RHOSE Node 2.1",
          "product_id": "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src"
        },
        "product_reference": "rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
        "relates_to_product_reference": "6Server-RHOSE-NODE-2.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch as a component of RHOSE Node 2.1",
          "product_id": "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch"
        },
        "product_reference": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
        "relates_to_product_reference": "6Server-RHOSE-NODE-2.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src as a component of RHOSE Node 2.1",
          "product_id": "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src"
        },
        "product_reference": "rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src",
        "relates_to_product_reference": "6Server-RHOSE-NODE-2.1"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Jeremy Choi"
          ],
          "organization": "Red Hat HSS Pen-test Team",
          "summary": "This issue was discovered by Red Hat."
        }
      ],
      "cve": "CVE-2014-3496",
      "cwe": {
        "id": "CWE-78",
        "name": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"
      },
      "discovery_date": "2014-06-17T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1110470"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "cartridge_repository.rb in OpenShift Origin and Enterprise 1.2.8 through 2.1.1 allows remote attackers to execute arbitrary commands via shell metacharacters in a Source-Url ending with a (1) .tar.gz, (2) .zip, (3) .tgz, or (4) .tar file extension in a cartridge manifest file.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "Origin: Command execution as root via downloadable cartridge source-url",
          "title": "Vulnerability summary"
        },
        {
          "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": [
          "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
          "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
          "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
          "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2014-3496"
        },
        {
          "category": "external",
          "summary": "RHBZ#1110470",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1110470"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2014-3496",
          "url": "https://www.cve.org/CVERecord?id=CVE-2014-3496"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2014-3496",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3496"
        }
      ],
      "release_date": "2014-06-17T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2014-06-18T19:59:48+00:00",
          "details": "Before applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nThis update is available via the Red Hat Network. Details on how to\nuse the Red Hat Network to apply this update are available at\nhttps://access.redhat.com/site/articles/11258",
          "product_ids": [
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2014:0764"
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "COMPLETE",
            "baseScore": 10.0,
            "confidentialityImpact": "COMPLETE",
            "integrityImpact": "COMPLETE",
            "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          "products": [
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.noarch",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-container-selinux-0:0.8.1.2-1.el6op.src",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.noarch",
            "6Server-RHOSE-NODE-2.1:rubygem-openshift-origin-node-0:1.23.9.11-1.el6op.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Critical"
        }
      ],
      "title": "Origin: Command execution as root via downloadable cartridge source-url"
    }
  ]
}


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.