From: "Chris Reffett (creffett)" <creffett@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/security/en/glsa: glsa-201401-22.xml
Date: Tue, 21 Jan 2014 20:22:53 +0000 (UTC) [thread overview]
Message-ID: <20140121202253.377502004C@flycatcher.gentoo.org> (raw)
creffett 14/01/21 20:22:53
Added: glsa-201401-22.xml
Log:
GLSA 201401-22
Revision Changes Path
1.1 xml/htdocs/security/en/glsa/glsa-201401-22.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/security/en/glsa/glsa-201401-22.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/security/en/glsa/glsa-201401-22.xml?rev=1.1&content-type=text/plain
Index: glsa-201401-22.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201401-22">
<title>Active Record: SQL injection</title>
<synopsis>A vulnerability in Active Record could allow a remote attacker to
inject SQL commands.
</synopsis>
<product type="ebuild">activerecord</product>
<announced>January 21, 2014</announced>
<revised>January 21, 2014: 1</revised>
<bug>449826</bug>
<access>remote</access>
<affected>
<package name="dev-ruby/activerecord" auto="yes" arch="*">
<unaffected range="ge">2.3.14-r1</unaffected>
<vulnerable range="lt">2.3.14-r1</vulnerable>
</package>
</affected>
<background>
<p>Active Record is a Ruby gem that allows database entries to be
manipulated as objects.
</p>
</background>
<description>
<p>An Active Record method parameter can mistakenly be used as a scope.</p>
</description>
<impact type="low">
<p>A remote attacker could use specially crafted input to execute arbitrary
SQL statements.
</p>
</impact>
<workaround>
<p>The vulnerability may be mitigated by converting the input to an
expected value. This is accomplished by changing instances of
‘Post.find_by_id(params[:id])’ in code using Active Record to
‘Post.find_by_id(params[:id].to_s)’
</p>
</workaround>
<resolution>
<p>All Active Record users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/activerecord-2.3.14-r1"
</code>
</resolution>
<references>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6496">CVE-2012-6496</uri>
</references>
<metadata tag="requester" timestamp="Wed, 11 Dec 2013 02:08:41 +0000">
creffett
</metadata>
<metadata tag="submitter" timestamp="Tue, 21 Jan 2014 20:21:31 +0000">
creffett
</metadata>
</glsa>
reply other threads:[~2014-01-21 20:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140121202253.377502004C@flycatcher.gentoo.org \
--to=creffett@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox