Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644016 (CVE-2017-1000433) - <dev-python/pysaml2-{4.0.2-r3,4.5.0}: Access restriction bypass (CVE-2017-1000433)
Summary: <dev-python/pysaml2-{4.0.2-r3,4.5.0}: Access restriction bypass (CVE-2017-100...
Status: RESOLVED FIXED
Alias: CVE-2017-1000433
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/rohe/pysaml2/issue...
Whiteboard: B3 [glsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 14:42 UTC by GLSAMaker/CVETool Bot
Modified: 2018-01-14 17:53 UTC (History)
0 users

See Also:
Package list:
dev-python/pysaml2-4.0.2-r3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2018-01-09 14:42:24 UTC
CVE-2017-1000433 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-1000433):
  pysaml2 version 4.4.0 and older accept any password when run with python
  optimizations enabled. This allows attackers to log in as any user without
  knowing their password.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-09 14:44:57 UTC
@ Maintainer(s): Please cleanup and drop =dev-python/pysaml2-4.0.2-r1!

GLSA Vote: Yes!

New GLSA request filed.
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2018-01-11 22:59:56 UTC
This issue was resolved and addressed in
 GLSA 201801-11 at https://security.gentoo.org/glsa/201801-11
by GLSA coordinator Thomas Deutschmann (whissi).
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2018-01-11 23:00:51 UTC
This issue was resolved and addressed in
 GLSA 201801-11 at https://security.gentoo.org/glsa/201801-11
by GLSA coordinator Thomas Deutschmann (whissi).
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-11 23:02:13 UTC
Re-opening for cleanup!

@ Maintainer(s): Please cleanup an drop =dev-python/pysaml2-4.0.2-r1!
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-11 23:30:31 UTC
keystone requires pysaml2 4.0.2 (tested with 4.5, didn't pass tests).

I've patched 4.0.2 in r2, let me know if that's sufficient to stablize
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-11 23:58:30 UTC
Looks like you have missed to patch "verify()" method. See https://github.com/jkakavas/pysaml2/commit/6312a41e037954850867f29d329e5007df1424a5 and https://github.com/jkakavas/pysaml2/blob/4.0.0/src/saml2/authn.py#L180
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-12 00:06:55 UTC
ok, fixed in 4.0.3-r3
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-12 01:26:25 UTC
OK, we now have to stabilize =dev-python/pysaml2-4.0.2-r3. I already updated the GLSA.
Comment 9 Larry the Git Cow gentoo-dev 2018-01-12 19:35:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e17e588296fd1522b5f468d9a35c920e3910a9

commit 56e17e588296fd1522b5f468d9a35c920e3910a9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-01-12 19:34:01 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-01-12 19:34:01 +0000

    dev-python/pysaml2: x86 stable
    
    Bug: https://bugs.gentoo.org/644016
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/pysaml2/pysaml2-4.0.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 10 Agostino Sarubbo gentoo-dev 2018-01-14 15:31:21 UTC
amd64 stable.

Maintainer(s), please cleanup.
Comment 11 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-14 17:51:05 UTC
cleaned up, removing from cc
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-14 17:53:20 UTC
Repository is clean, all done.