Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506728 - <sys-apps/systemd-212: Stack-based buffer overflow in systemd-ask-password
Summary: <sys-apps/systemd-212: Stack-based buffer overflow in systemd-ask-password
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-04 09:04 UTC by Agostino Sarubbo
Modified: 2016-11-30 09:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-04-04 09:04:06 UTC
From ${URL} :

A stack-based buffer overflow was found in systemd-ask-password, a utility used to query a system password 
or passphrase from the user, using a question message specified on the command line. A local user could 
this flaw to crash the binary or even execute arbitrary code with the permissions of the user running the 
program.

This issue is fixed upstream via the following commit:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=036eeac5a1799fa2c0ae11a14d8c667b5d303189

References:

https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg16595.html


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Mike Gilbert gentoo-dev 2014-04-07 14:35:05 UTC
The fix is included in the 212 release.

I don't think this is worth rushing a stabilization.
Comment 2 Agostino Sarubbo gentoo-dev 2014-04-07 15:55:19 UTC
since there is a stable repository I guess they will backport the fix to the 208 series if it s affected, could you check?
Comment 3 Mike Gilbert gentoo-dev 2014-04-07 16:02:14 UTC
Lennart marked it with Backport: bugfix, but it has not yet been integrated into either the v208-stable or v210-stable branches.
Comment 4 Pacho Ramos gentoo-dev 2015-09-07 18:11:48 UTC
This should be fixed for a long long time in stable
Comment 5 Mike Gilbert gentoo-dev 2016-05-30 14:34:04 UTC
This bug is quite old/stale. The fix has been in stable for quite some time.
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-29 22:09:09 UTC
Like already said was fixed by upstream in v212 which also landed in Gentoo repository (see https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-212.ebuild?hideattic=0&view=log).


@ Security: Please vote!