<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: rubygem-activesupport security update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2013:0201</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-01-28T23:05:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-01-28T23:05:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-01-28T23:05:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-01-28T23:15:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated rubygem-activesupport package that fixes one security issue is
now available for Red Hat Subscription Asset Manager.

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.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
Ruby on Rails is a model–view–controller (MVC) framework for web
application development. Active Support provides support and utility
classes used by the Ruby on Rails framework.

A flaw was found in the way Active Support performed the parsing of JSON
requests by translating them to YAML. A remote attacker could use this flaw
to execute arbitrary code with the privileges of a Ruby on Rails
application, perform SQL injection attacks, or bypass the authentication
using a specially-created JSON request. (CVE-2013-0333)

Red Hat would like to thank Ruby on Rails upstream for reporting this
issue. Upstream acknowledges Lawrence Pit of Mirror42 as the original
reporter.

Users of Red Hat Subscription Asset Manager are advised to upgrade to this
updated package, which resolves this issue. Katello must be restarted
(&quot;service katello restart&quot;) for this update to take effect.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2013 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Critical</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2013-0201.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0201.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#critical</URL>
       <Description>https://access.redhat.com/security/updates/classification/#critical</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Subscription Asset Manager">
      <Branch Type="Product Name" Name="Red Hat Subscription Asset Manager for RHEL 6 Server">
        <FullProductName ProductID="6Server-SubscriptionAssetManager11">Red Hat Subscription Asset Manager for RHEL 6 Server</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-activesupport-3.0.10-7.el6cf">
      <FullProductName ProductID="rubygem-activesupport-3.0.10-7.el6cf">rubygem-activesupport-3.0.10-7.el6cf.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="rubygem-activesupport-3.0.10-7.el6cf" RelationType="Default Component Of" RelatesToProductReference="6Server-SubscriptionAssetManager11">
      <FullProductName ProductID="6Server-SubscriptionAssetManager11:rubygem-activesupport-3.0.10-7.el6cf">rubygem-activesupport-3.0.10-7.el6cf as a component of Red Hat Subscription Asset Manager for RHEL 6 Server</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in the way Active Support performed the parsing of JSON requests by translating them to YAML. A remote attacker could use this flaw to execute arbitrary code with the privileges of a Ruby on Rails application, perform SQL injection attacks, or bypass the authentication using a specially-created JSON request. </Note></Notes>
    <DiscoveryDate>2013-01-23T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-01-28T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2013-0333</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-SubscriptionAssetManager11:rubygem-activesupport-3.0.10-7.el6cf</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Critical</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>7.5</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2013-0201.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/</URL>
        <Description>http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/</Description>
      </Reference>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2013-0333.html</URL>
        <Description>CVE-2013-0333</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=903440</URL>
        <Description>bz#903440: CVE-2013-0333 rubygem-activesupport: json to yaml parsing</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank Ruby on Rails upstream for reporting this issue. Upstream acknowledges Lawrence Pit of Mirror42 as the original reporter.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
