Bugzilla – Bug 869162
VUL-0: CVE-2014-2538: rubygem-rack-ssl: XSS in error page
Last modified: 2014-06-04 19:05:19 UTC
via Jordi latest version of rack-ssl rubygem (1.4.0) contains a commit that fixes a XSS vulnerability. https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b Some adapters (i.e. jruby-rack) will pass through bad URIs, then display the resulting exception. This creates an attack vector for XSS attacks.
CVE-2014-2538
bugbot adjusting priority
Created attachment 582940 [details] patch for the src
Created attachment 582942 [details] patch for the test suite
The previous patches were not working with previous versions of rack (see comments in https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b#commitcomment-5880103) However, latest version of rack-ssl has removed the URI parsing, which is another way to fix it: https://github.com/josh/rack-ssl/commit/9ff3adfe653025f383ff4fcc0f0d12b85ede20c1 I am attaching the new patch.
Created attachment 584732 [details] patch for the src
Created attachment 584733 [details] patch for the test suite
This is an autogenerated message for OBS integration: This bug (869162) was mentioned in https://build.opensuse.org/request/show/228766 12.3 / rubygem-rack-ssl https://build.opensuse.org/request/show/228767 13.1 / rubygem-rack-ssl
The SWAMPID for this issue is 56906. This issue was rated as moderate. Please submit fixed packages until 2014-04-18. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
openSUSE-SU-2014:0515-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 869162 CVE References: CVE-2014-2538 Sources used: openSUSE 13.1 (src): rubygem-rack-ssl-1.3.3-2.4.1 openSUSE 12.3 (src): rubygem-rack-ssl-1.3.2-6.4.1
Update released for: rubygem-rack-ssl, rubygem-rack-ssl-doc Products: SLE-SLMS 1.3 (x86_64) SLE-STUDIOONSITE 1.3 (x86_64) SLE-WEBYAST 1.3 (i386, ia64, ppc64, s390x, x86_64)
SUSE-SU-2014:0730-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 869162 CVE References: CVE-2014-2538 Sources used: WebYaST 1.3 (src): rubygem-rack-ssl-1.3.2-0.12.5.1 SUSE Studio Onsite 1.3 (src): rubygem-rack-ssl-1.3.2-0.12.5.1 SUSE Lifecycle Management Server 1.3 (src): rubygem-rack-ssl-1.3.2-0.12.5.1
released
Update released for: rubygem-rack-ssl, rubygem-rack-ssl-doc Products: SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
SUSE-SU-2014:0730-2: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 869162 CVE References: CVE-2014-2538 Sources used: SUSE Linux Enterprise Software Development Kit 11 SP3 (src): rubygem-rack-ssl-1.3.2-0.12.5.1