Articles / Debian: Security update for…

Debian: Security update for Rails

Several vulnerabilities have been discovered in Rails, the Ruby web application framework. A cross-site scripting (XSS) vulnerability had been found in the strip_tags function. An attacker may inject non-printable characters that certain browsers will then evaluate. A SQL injection vulnerability had been found in the quote_table_name method could allow malicious users to inject arbitrary SQL into a query. A cross-site scripting (XSS) vulnerability had been found in the strip_tags helper. An parsing error can be exploited by an attacker, who can confuse the parser and may inject HTML tags into the output document.

A newline (CRLF) injection vulnerability had been found in response.rb. This vulnerability allows an attacker to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the Content-Type header. Updated packages are available from security.debian.org.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -------------------------------------------------------------------------
Debian Security Advisory DSA-2301-1                   security@debian.org
http://www.debian.org/security/                             Luciano Bello
September 5, 2011                      http://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package        : rails
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE ID         : CVE-2011-2930 CVE-2011-2931 CVE-2011-3186 CVE-2009-4214

Several vulnerabilities have been discovered in Rails, the Ruby web
application framework. The Common Vulnerabilities and Exposures project
identifies the following problems:

CVE-2009-4214

   A cross-site scripting (XSS) vulnerability had been found in the
   strip_tags function. An attacker may inject non-printable characters
   that certain browsers will then evaluate. This vulnerability only
   affects the oldstable distribution (lenny).

CVE-2011-2930

   A SQL injection vulnerability had been found in the quote_table_name
   method could allow malicious users to inject arbitrary SQL into a
   query.

CVE-2011-2931

   A cross-site scripting (XSS) vulnerability had been found in the
   strip_tags  helper. An parsing error can be exploited by an attacker,
   who can confuse the parser and may inject HTML tags into the output
   document.

CVE-2011-3186

   A newline (CRLF) injection vulnerability had been found in
   response.rb. This vulnerability allows an attacker to inject arbitrary
   HTTP headers and conduct HTTP response splitting attacks via the
   Content-Type header.

For the oldstable distribution (lenny), this problem has been fixed in
version 2.1.0-7+lenny1.

For the stable distribution (squeeze), this problem has been fixed in
version 2.3.5-1.2+squeeze1.

For the unstable distribution (sid), this problem has been fixed in
version 2.3.14.

We recommend that you upgrade your rails packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: http://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJOZS+XAAoJEOxfUAG2iX57/RoIANAWqvaKoG3V5sfmVzREDG4M
qcnQ3RhaVc//I2RuvPDSY9zDbE4OfgNYRtAnk3j7kbVf0U4ohs9TNTJqy1uCYjZn
dA6b27JdgxgXnRFM0AvHfYOyA/V2+w4ykwfAjGJG2hcmCxxkofDkzbf/WKrGinYV
o+NEF5QEU5y84Z+4EvFYEP+zmMShIvoBU/Fui+TNzxEh3MSRumMdJoJfV2MdSO+m
C98R6hx1Q8nxmNCZpPXAWttfGomhtTXAwYIlywR0pqxyrBpsaEleNLbDPaNnr2/D
Jph+q3Mv5nRteRfMRyX0bmqguSYsa0TIFZlL5vvIRGBw+b7Q4wIL0ywRvWqxLGU=
=r9kt
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.