http://bugzilla.novell.com/show_bug.cgi?id=597673http://bugzilla.novell.com/show_bug.cgi?id=597673#c0
Summary: fetchmail: DoS in -v -v mode in multibyte
Classification: openSUSE
Product: openSUSE 11.3
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Security
AssignedTo: puzel(a)novell.com
ReportedBy: lnussel(a)novell.com
QAContact: qa(a)suse.de
CC: security-team(a)suse.de
Found By: Other
Blocker: ---
Your friendly security team received the following report via oss-security.
Please respond ASAP.
The issue is public.
Factory only sufficient
------------------------------------------------------------------------------
Date: Sun, 18 Apr 2010 18:58:30 +0200
From: "Matthias Andree" <matthias.andree(a)gmx.de>
Subject: [oss-security] CVE request: fetchmail 4.6.3...6.3.16 DoS in -v -v mode
in multibyte
locales on invalid input
Please assign a CVE id for the issue described below. (Best viewed in
non-proportional font with 8 space tabs):
Draft announcement:
- DRAFT - XXX - DRAFT -
fetchmail-SA-2010-02: Denial of service in debug mode w/ multichar locales
Topics: Denial of service in debug output.
Author: Matthias Andree
Version: 0.1 XXX
Announced: XXX
Type: malloc() Buffer overrun with printable characters
Impact: Denial of service.
Danger: low
CVE Name: CVE-2010-XXXX
CVSSv2: XXX
URL: http://www.fetchmail.info/fetchmail-SA-2010-02.txt
Project URL: http://www.fetchmail.info/
Affects: fetchmail releases 4.6.3 up to and including 6.3.16
Not affected: fetchmail release 6.3.17 and newer
Corrected: 2010-04-18 Git (XXX)
0. Release history
==================
2010-04-18 0.1 first draft (visible in SVN and through oss-security)
XXX
1. Background
=============
fetchmail is a software package to retrieve mail from remote POP2, POP3,
IMAP, ETRN or ODMR servers and forward it to local SMTP, LMTP servers or
message delivery agents. It supports SSL and TLS security layers through
the OpenSSL library, if enabled at compile time and if also enabled at
run time.
2. Problem description and Impact
=================================
In debug mode (-v -v), fetchmail prints information that was obtained from
the
upstream server (POP3 UIDL lists) or from message headers retrieved from
it.
If printing such information fails, for instance because there are
invalid
multibyte character sequences in this information (message headers),
fetchmail
will misinterpret this condition, and believe that the buffer was too
small,
and reallocate a bigger one (with linearly increasing buffer size), and
repeat,
until the allocation fails. At that point, fetchmail will abort.
Note that the "Affects:" line above may be inaccurate, and it may be that
versions before 5.6.6 are actually unaffected. The author was unable to
compile such old fetchmail versions to verify the existence of the bug.
Given that other security issues are present in such versions, those
should
not be used, and the wider version range was listed as vulnerable to err
towards the safe.
3. Solution
===========
There are two alternatives, either of them by itself is sufficient:
a. Apply the patch found in section B of this announcement to
fetchmail 6.3.14 or newer, recompile and reinstall it.
b. Install fetchmail 6.3.17 or newer after it will have become available.
The fetchmail source code is always available from
<http://developer.berlios.de/project/showfiles.php?group_id=1824>.
4. Workaround
=============
Run fetchmail with at most one -v (--verbose) option.
A. Copyright, License and Warranty
==================================
(C) Copyright 2010 by Matthias Andree, <matthias.andree(a)gmx.de>.
Some rights reserved.
This work is licensed under the Creative Commons
Attribution-Noncommercial-No Derivative Works 3.0 Germany License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc-nd/3.0/de/ or send a letter to
Creative Commons
171 Second Street
Suite 300
SAN FRANCISCO, CALIFORNIA 94105
USA
THIS WORK IS PROVIDED FREE OF CHARGE AND WITHOUT ANY WARRANTIES.
Use the information herein at your own risk.
B. Patch to remedy the problem
==============================
Note that when taking this from a GnuPG clearsigned file, the lines
starting with a "-" character are prefixed by another "- " (dash +
blank) combination. Either feed this file through GnuPG to strip them,
or strip them manually. You may want to use the "-p1" flag to patch.
Whitespace differences can usually be ignored by invoking "patch -l",
so try this if the patch does not apply.
diff --git a/rfc822.c b/rfc822.c
index 6f2dbf3..dbcda32 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -25,6 +25,7 @@ MIT license. Compile with -DMAIN to build the
demonstrator.
#include <stdlib.h>
#include "fetchmail.h"
+#include "sdump.h"
#ifndef MAIN
#include "i18n.h"
@@ -74,9 +75,10 @@ char *reply_hack(
}
#ifndef MAIN
- if (outlevel >= O_DEBUG)
- report_build(stdout, GT_("About to rewrite %.*s...\n"),
- (int)BEFORE_EOL(buf), buf);
+ if (outlevel >= O_DEBUG) {
+ report_build(stdout, GT_("About to rewrite %s...\n"), (cp = sdump(buf,
BEFORE_EOL(buf))));
+ xfree(cp);
+ }
/* make room to hack the address; buf must be malloced */
for (cp = buf; *cp; cp++)
@@ -211,9 +213,12 @@ char *reply_hack(
}
#ifndef MAIN
- if (outlevel >= O_DEBUG)
- report_complete(stdout, GT_("...rewritten version is %.*s.\n"),
- (int)BEFORE_EOL(buf), buf);
+ if (outlevel >= O_DEBUG) {
+ report_complete(stdout, GT_("...rewritten version is %s.\n"),
+ (cp = sdump(buf, BEFORE_EOL(buf))));
+ xfree(cp)
+ }
+
#endif /* MAIN */
*length = strlen(buf);
return(buf);
diff --git a/uid.c b/uid.c
index fdc6f5d..d813bee 100644
--- a/uid.c
+++ b/uid.c
@@ -20,6 +20,7 @@
#include "fetchmail.h"
#include "i18n.h"
+#include "sdump.h"
/*
* Machinery for handling UID lists live here. This is mainly to support
@@ -260,8 +261,11 @@ void initialize_saved_lists(struct query *hostlist,
const char *idfile)
if (uidlcount)
{
report_build(stdout, GT_("Scratch list of UIDs:"));
- for (idp = scratchlist; idp; idp = idp->next)
- report_build(stdout, " %s", idp->id);
+ for (idp = scratchlist; idp; idp = idp->next) {
+ char *t = sdump(idp->id, strlen(idp->id));
+ report_build(stdout, " %s", t);
+ free(t);
+ }
if (!idp)
report_build(stdout, GT_(" <empty>"));
report_complete(stdout, "\n");
@@ -517,8 +521,11 @@ void uid_swap_lists(struct query *ctl)
report_build(stdout, GT_("Merged UID list from %s:"),
ctl->server.pollname);
else
report_build(stdout, GT_("New UID list from %s:"),
ctl->server.pollname);
- for (idp = dofastuidl ? ctl->oldsaved : ctl->newsaved; idp; idp =
idp->next)
- report_build(stdout, " %s = %d", idp->id, idp->val.status.mark);
+ for (idp = dofastuidl ? ctl->oldsaved : ctl->newsaved; idp; idp =
idp->next) {
+ char *t = sdump(idp->id, strlen(idp->id));
+ report_build(stdout, " %s = %d", t, idp->val.status.mark);
+ free(t);
+ }
if (!idp)
report_build(stdout, GT_(" <empty>"));
report_complete(stdout, "\n");
@@ -567,8 +574,11 @@ void uid_discard_new_list(struct query *ctl)
/* this is now a merged list! the mails which were seen in this
* poll are marked here. */
report_build(stdout, GT_("Merged UID list from %s:"),
ctl->server.pollname);
- for (idp = ctl->oldsaved; idp; idp = idp->next)
- report_build(stdout, " %s = %d", idp->id, idp->val.status.mark);
+ for (idp = ctl->oldsaved; idp; idp = idp->next) {
+ char *t = sdump(idp->id, strlen(idp->id));
+ report_build(stdout, " %s = %d", t, idp->val.status.mark);
+ free(t);
+ }
if (!idp)
report_build(stdout, GT_(" <empty>"));
report_complete(stdout, "\n");
--
Matthias Andree
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735865https://bugzilla.novell.com/show_bug.cgi?id=735865#c0
Summary: add BuildRequires: python-cups to printer driver
packages
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Printing
AssignedTo: jsmeix(a)suse.com
ReportedBy: lnussel(a)suse.com
QAContact: jsmeix(a)suse.com
Found By: ---
Blocker: ---
all printer driver packages should have
BuildRequires: python-cups
python-cups installs special rpm macros that adds Provides tags for the printer
drivers supported by the package.
See gutenprint for an example how the resulting rpm looks like.
See also bug 735864
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=790151https://bugzilla.novell.com/show_bug.cgi?id=790151#c0
Summary: When I open nickle-2.70-1.src.rpm,YaST2 finds nothing
to install.
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: x86-64
URL: http://nickle.org/release/nickle-2.70-1.src.rpm
OS/Version: openSUSE 12.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: giecrilj(a)stegny.2a.pl
QAContact: jsrain(a)suse.com
CC: hrvoje.senjan(a)gmail.com
Depends on: 684610
Found By: Community User
Blocker: No
+++ This bug was initially created as a clone of Bug #684610 +++
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101
Firefox/4.0
When I open nickle-2.70-1.src.rpm, YaST2 does not install anything.
Reproducible: Always
Steps to Reproduce:
1. Tell Dolphin to open nickle-2.70-1.src.rpm [1].
Actual Results:
1. YaST2 finds nothing to be installed.
Expected Results:
1. Let YaST2 install the source package.
___
[1] <URL: http://nickle.org/release/nickle-2.70-1.src.rpm >
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712025https://bugzilla.novell.com/show_bug.cgi?id=712025#c0
Summary: openssh helpers wrongly uses %_libdir
Classification: openSUSE
Product: openSUSE 12.1
Version: Factory
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: jengelh(a)medozas.de
QAContact: qa(a)suse.de
Found By: Beta-Customer
Blocker: ---
I had a openSUSE 11.4 i586 installation on one machine, and as I was upgrading
its hardware to a 64-bit CPU, I did a x86_64 reinstall, and copied over the
configs from the previous install. Among that was /etc/ssh/sshd_config.
After this, sftp was no longer usable ("Connection closed by host"), hinting
towards the helper not being executable. sshd_config, having been inherited
from a i586 environment, contained:
Subsystem sftp /usr/lib/ssh/sftp-server
However, the sftp helper was installed in /usr/lib64/ssh (%_libdir/ssh), which
I consider the wrong place, because the helper is bitness-independent and thus
should go to %_libexecdir/ssh instead.
The problem persists by looking at the current /network/openssh/openssh.spec.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=536564
Summary: Packages creating user accounts do not select UID
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: All
OS/Version: Linux
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: jengelh(a)medozas.de
QAContact: qa(a)suse.de
Found By: Beta-Customer
Some packages, such as openssh, do explicitly specify a UID/GID when creating
its users/groups:
/usr/sbin/groupadd -g 65 -o -r sshd 2>/dev/null || :;
On the other hand, the hal package does not:
/usr/sbin/groupadd -r haldaemon 2>/dev/null || :
So, which is correct? Should not hal also use a fixed ID? There are many
packages belonging to the latter category.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=518238
Summary: openSSH chroot security settings faulty
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: marcus(a)swedcore.net
QAContact: qa(a)suse.de
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11)
Gecko/2009060200 SUSE/3.0.11-0.1.1 Firefox/3.0.11
Whenever i tried to setup a chroot environment with OpenSSH the security
settings for the user folder must be root or OpenSSH doesn't work, the only
solution for now is to either create subfolders in the users chroot folder
where the user can have write permissions or land them one step up in the
hierarchy and thus making them see other chroot folder which is not good.
I followed this Wiki page to the letter:
http://en.opensuse.org/Openssh#SFTP_chroot_with_ChrootDirectory
I have Swedish community users trying to set this up to with same result as me.
This thread takes up the same issue:
http://marc.info/?l=openssh-unix-dev&m=122640731518850&w=2
But the solution mentioned there is not acceptable because as it stats on the
Wiki you make one folder the chroot folder and then mapping the users home
folder relative to the chroot folder, in this scenario the users should get
write permissions to his own folder, but that is not possible, thus breaking
the functionality intended.
So the question is, is this a bug or is it designed to act like this?
Reproducible: Always
Steps to Reproduce:
Done accordingly to this wiki entry: http://en.opensuse.org/OpenSSH
Actual Results:
Gets a read only home folder root
Expected Results:
Getting a writable home folder, where they can create on folder and upload
files directly to the root of their home folder.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788344https://bugzilla.novell.com/show_bug.cgi?id=788344#c0
Summary: Improving go-doc package wanted
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: ke(a)suse.com
QAContact: qa-bugs(a)suse.de
CC: graham(a)andtech.eu, speilicke(a)suse.com
Found By: Development
Blocker: ---
The go-doc package is rather bewildered.
Many links do not work. Many files are included that do not make sense in a
doc package (e.g., Makefile or the emacs mode (go-mode.el) that comes with a
different package).
Les is more. Please ship only those parts that are nicely interlinked via HTML
cross-references.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=735320https://bugzilla.novell.com/show_bug.cgi?id=735320#c0
Summary: go: %{go_make_install} breaks Make.cmd builds
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening(a)forge.provo.novell.com
ReportedBy: dmacvicar(a)suse.com
QAContact: qa(a)suse.de
CC: graham(a)andtech.eu, speilicke(a)suse.com
Found By: ---
Blocker: ---
If you build a go binary (not a package) you include Make.cmd instead of
Make.pkg.
Make.pkg installs in TARGDIR, which is set by the macro: %{go_make_install} to
TARGDIR=%{buildroot}%{go_sitearch}
This is right, as Make.pkg sets it as default to
$(GOROOT)/pkg/$(GOOS)_$(GOARCH)
But if you build a command, Make.cmd uses $GOBIN (/usr/bin), but it gets
overriden by %{go_make_install} resulting in the binary to be installed in the
package directory.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796918https://bugzilla.novell.com/show_bug.cgi?id=796918#c0
Summary: obs-service-source_validator continues after failing
to create TMPDIR
Classification: openSUSE
Product: openSUSE Factory
Version: 12.3 Milestone 1
Platform: Other
OS/Version: openSUSE 12.2
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Development
AssignedTo: ro(a)suse.com
ReportedBy: suse-beta(a)cboltz.de
QAContact: qa-bugs(a)suse.de
Found By: Beta-Customer
Blocker: ---
Created an attachment (id=519068)
--> (http://bugzilla.novell.com/attachment.cgi?id=519068)
patch for
/usr/lib/obs/service/source_validators/20-files-present-and-referenced
(copy&paste from a mail I'll send to opensuse-factory in a minute)
Am Samstag, 5. Januar 2013 schrieb Jan Engelhardt:
> First a full disk, now /tmp* is gone? :)
It's still a full disk ;-)
> ---------- Forwarded message ----------
> Subject: [obs submit-request 146816] openSUSE:Factory/canutils:
> declined by factory-auto
>
> Comment:
> Output of check script:
> Source validator failed. Try "osc service localrun source_validator"
> mktemp: failed to create directory via template
> `/var/tmp/check_if_valid_source_dir-7SUGOd': No space left on device
^^^^^^^^^^^^^^^^^^^^^^^
mktemp failed because of a full disk.
> /work/cd/lib/source_validators/20-files-present-and-referenced: line
> 108: /tmp.spec: Permission denied
Oh, how nice. The script continues with an empty $TMPDIR variable.
Using
mktemp -d ... || exit 1
would be a very good idea ;-)
Please apply the attached patch ;-)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.