Bugzilla – Bug 846239
VUL-0: CVE-2013-4389: rubygem-actionmailer-3_1: possible DoS vulnerability in the log subscriber component
Last modified: 2014-05-21 08:14:51 UTC
EMBARGOED, October 16th around 10 am PDT. (today) Possible DoS Vulnerability in Action Mailer There is a possible DoS vulnerability in the log subscriber component of Action Mailer. This vulnerability has been assigned the CVE identifier CVE-2013-4389. Versions Affected: 3.x.x Not affected: 4.0.x, 2.3.x Fixed Versions: 3.2.15 Impact ------ A carefully crafted email address in conjunction with the Action Mailer logger format string could possibly lead to a denial of service attack. All users running an affected release should either upgrade or use one of the work arounds immediately. Releases -------- The FIXED releases are available at the normal locations. Workarounds ----------- If you can't upgrade or apply patch to your system, you can work around the issue by using the following monkey patch after requiring Action Mailer: ```ruby module ActionMailer class LogSubscriber < ActiveSupport::LogSubscriber def deliver(event) recipients = Array.wrap(event.payload[:to]).join(', ') info("\nSent mail to #{recipients} (#{event.duration.round(1)}ms)") debug(event.payload[:mail]) end end end ``` Patches ------- To aid users who aren't able to upgrade immediately we have provided patches for the two supported r elease series. They are in git-am format and consist of a single changeset. * 3-2-log-subscriber.patch - Patch for 3.2 series * 3-1-log-subscriber.patch - Patch for 3.1 series * 3-0-log-subscriber.patch - Patch for 3.0 series Please note that only the 4.0.x, 3.2.x, and 2.3.x series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continue d availability of security fixes for unsupported releases. Credits ------- Thanks to Aaron Neyer for reporting this vulnerability!
Created attachment 563727 [details] 3-1-log-subscriber.patch patch for 3.1 attached (they also 3.0 and 3.2 patches)...
Created attachment 563729 [details] 3-2-log-subscriber.patch 3.2 patch
public now
bugbot adjusting priority
The patch patches actionpack which creates a conflict with Bug 853625 - VUL-0: CVE-2013-4491: rubygem-actionpack: i18n missing translation XSS Bug 853627 - VUL-0: CVE-2013-6417: rubygem-actionpack: unsafe query generation risk (incomplete fix for CVE-2013-0155) Bug 853632 - VUL-0: CVE-2013-6415: rubygem-actionpack: number_to_currency XSS Bug 853633 - VUL-0: CVE-2013-6414: rubygem-actionpack: Action View DoS How should we handle it? Should I add the patch to the rubygem-actionpack that I've submited for the previous bugs, or should I wait on rubygem-actionpack to be released?
I just accepted various actionpack submits so I guess it would be best to wait for them to finish, then resubmit any other changes
This is an autogenerated message for OBS integration: This bug (846239) was mentioned in https://build.opensuse.org/request/show/210703 12.2 / rubygem-activesupport-3_2 https://build.opensuse.org/request/show/210704 12.3 / rubygem-activesupport-3_2 https://build.opensuse.org/request/show/210705 13.1 / rubygem-activesupport-3_2 https://build.opensuse.org/request/show/210707 12.2 / rubygem-actionmailer-3_2 https://build.opensuse.org/request/show/210708 12.3 / rubygem-actionmailer-3_2 https://build.opensuse.org/request/show/210709 13.1 / rubygem-actionmailer-3_2 https://build.opensuse.org/request/show/210711 12.2 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/210713 12.3 / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/210714 13.1 / rubygem-actionpack-3_2
@sebastian: When you say "wait for them to finish" you mean that I should wait until I get the email stating that the package got added to the distribution/product?
You can already supercede the submitted ones and include this fix if you want.
The SWAMPID for this issue is 55488. This issue was rated as moderate. Please submit fixed packages until 2013-12-30. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
The SWAMPID for this issue is 55506. This issue was rated as moderate. Please submit fixed packages until 2013-12-30. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
patchinfos for SWAMPID: 55506 do reference this bug which I think is a mistake, it should be bnc#853632
i moved / modified them
openSUSE-SU-2013:1928-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 846239 CVE References: CVE-2013-4389 Sources used: openSUSE 13.1 (src): rubygem-actionmailer-3_2-3.2.13-2.4.1 openSUSE 12.3 (src): rubygem-actionmailer-3_2-3.2.12-1.4.1 openSUSE 12.2 (src): rubygem-actionmailer-3_2-3.2.12-2.17.1
openSUSE-SU-2013:1931-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 846239 CVE References: CVE-2013-4389 Sources used: openSUSE 13.1 (src): rubygem-activesupport-3_2-3.2.13-3.4.1 openSUSE 12.3 (src): rubygem-activesupport-3_2-3.2.12-1.4.1 openSUSE 12.2 (src): rubygem-activesupport-3_2-3.2.12-2.17.1
openSUSE-SU-2014:0009-1: An update that fixes 5 vulnerabilities is now available. Category: security (moderate) Bug References: 846239,853625,853627,853632,853633 CVE References: CVE-2013-4389,CVE-2013-4491,CVE-2013-6414,CVE-2013-6415,CVE-2013-6417 Sources used: openSUSE 13.1 (src): rubygem-actionpack-3_2-3.2.13-2.9.1 openSUSE 12.3 (src): rubygem-actionpack-3_2-3.2.12-1.13.1 openSUSE 12.2 (src): rubygem-actionpack-3_2-3.2.12-3.26.2
Update released for: rubygem-activesupport-3_2, rubygem-activesupport-3_2-doc Products: SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
Update released for: rubygem-actionmailer-3_1, rubygem-actionmailer-3_1-doc Products: SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
Update released for: rubygem-activesupport-3_1, rubygem-activesupport-3_1-doc Products: SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
Update released for: rubygem-actionmailer-3_2, rubygem-actionmailer-3_2-doc Products: SLE-SLMS 1.3 (x86_64) SLE-STUDIOONSITE 1.3 (x86_64) SLE-WEBYAST 1.3 (i386, ia64, ppc64, s390x, x86_64)
Update released for: rubygem-activesupport-3_2, rubygem-activesupport-3_2-doc Products: SLE-SDK 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLE-SLMS 1.3 (x86_64) SLE-STUDIOONSITE 1.3 (x86_64) SLE-WEBYAST 1.3 (i386, ia64, ppc64, s390x, x86_64)
Update released for: rubygem-activemodel-3_1, rubygem-activemodel-3_1-doc Products: SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
SUSE-SU-2014:0137-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 846239 CVE References: CVE-2013-4389 Sources used: WebYaST 1.3 (src): rubygem-actionmailer-3_2-3.2.12-0.7.3, rubygem-activesupport-3_2-3.2.12-0.7.1 SUSE Studio Onsite 1.3 (src): rubygem-actionmailer-3_2-3.2.12-0.7.3, rubygem-activesupport-3_2-3.2.12-0.7.1 SUSE Linux Enterprise Software Development Kit 11 SP3 (src): rubygem-actionmailer-3_1-3.1.4-0.7.3, rubygem-activemodel-3_1-3.1.4-0.7.1, rubygem-activesupport-3_1-3.1.4-0.7.1, rubygem-activesupport-3_2-3.2.12-0.7.1 SUSE Linux Enterprise Software Development Kit 11 SP2 (src): rubygem-activesupport-3_2-3.2.12-0.7.1 SUSE Lifecycle Management Server 1.3 (src): rubygem-actionmailer-3_2-3.2.12-0.7.3, rubygem-activesupport-3_2-3.2.12-0.7.1
Update released for: rubygem-actionpack-3_2, rubygem-actionpack-3_2-doc Products: SLE-SLMS 1.3 (x86_64) SLE-STUDIOONSITE 1.3 (x86_64) SLE-WEBYAST 1.3 (i386, ia64, ppc64, s390x, x86_64)
released
SUSE-SU-2014:0152-1: An update that solves four vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 846239,853625,853627,853632,853633 CVE References: CVE-2013-4491,CVE-2013-6414,CVE-2013-6415,CVE-2013-6417 Sources used: WebYaST 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.11.1 SUSE Studio Onsite 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.11.1 SUSE Lifecycle Management Server 1.3 (src): rubygem-actionpack-3_2-3.2.12-0.11.1
there is a patchinfo open for rubygem-actionpack-3_1 on sle11-sp2, but the package is only on SLE-11-SP3-SDK which was already handled in december in patchinfo 9cce5fd44e639cd6e24b03d00a84eee3 (Subswampid 55517) can this patchinfo (swamp 55506,subswampid 56030) be canceled ?
The SWAMPID for this issue is 56198. This issue was rated as moderate. Please submit fixed packages until 2014-02-25. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
This is an autogenerated message for OBS integration: This bug (846239) was mentioned in https://build.opensuse.org/request/show/230058 Factory / rubygem-actionpack-3_2 https://build.opensuse.org/request/show/230059 Factory / rubygem-actionmailer-3_2 https://build.opensuse.org/request/show/230063 Factory / rubygem-activesupport-3_2
Update released for: hawk, hawk-debuginfo, hawk-debugsource, hawk-templates Products: SLE-DEBUGINFO 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLE-HAE 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
SUSE-SU-2014:0686-1: An update that solves 5 vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 846239,853625,853627,853632,853633,854060 CVE References: CVE-2013-4389,CVE-2013-4491,CVE-2013-6414,CVE-2013-6415,CVE-2013-6417 Sources used: SUSE Linux Enterprise High Availability Extension 11 SP3 (src): hawk-0.6.1-0.17.1