Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple hackish solution to CVE-2014-3539. #107

Closed
wants to merge 3 commits into from
Closed

Simple hackish solution to CVE-2014-3539. #107

wants to merge 3 commits into from

Conversation

mcepl
Copy link
Contributor

@mcepl mcepl commented Feb 11, 2015

This doesn't resolve the issue, but at least people using DOA should be
intentional about it and aware of the security risks.

Fixes #105

@mcepl
Copy link
Contributor Author

mcepl commented Feb 11, 2015

@nixon, @aligrudi ... what do you think?

@mcepl mcepl mentioned this pull request Feb 12, 2015
@mcepl
Copy link
Contributor Author

mcepl commented Mar 9, 2015

@aligrudi … I would like to see some comments on this so we can get rid of this CVE soon. I would make some fast release as well, so we can put it to distros and on PyPI.

@aligrudi
Copy link
Member

Matěj Cepl [email protected] wrote:

@aligrudi … I would like to see some comments on this so we can get rid of this CVE soon. I would make some fast release as well, so we can put it to distros and on PyPI.

Are the tests failing now?

Ali

@mcepl
Copy link
Contributor Author

mcepl commented Mar 11, 2015

Are the tests failing now?

#106

@aligrudi
Copy link
Member

Matěj Cepl [email protected] wrote:

Are the tests failing now?

#106

Clearly transferring data from the sub-process does
not work on the failing machine. Does the socket.bind()
method raise an exception in doi.py and, if so, does its
message shed some light on the problem?

Ali

This doesn't resolve the issue, but at least people using DOA should be
intentional about it and aware of the security risks.

It is also necessary explicitly switch on 'perform_doa' preference for
tests that require it.

Fixes #105
@@ -20,6 +20,7 @@ def tearDown(self):
super(DynamicOITest, self).tearDown()

def test_simple_dti(self):
self.project.prefs['perform_doa'] = True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the doi tests it seems sensible to just do this in the setup directly instead of seemingly each test

@soupytwist
Copy link
Contributor

This bug is really old and needs to be revisited ASAP.

@mcepl, do you remember where this left off? I will take a look at it when I get a chance, but it doesn't entirely make sense to me now.

@mcepl
Copy link
Contributor Author

mcepl commented Jan 24, 2017

Well, originally it came with https://bugzilla.redhat.com/show_bug.cgi?id=1116485 and this was my feeble effort to fix the problem.

@sebix
Copy link

sebix commented Jul 21, 2017

Please merge this to fix the 3 year old CVE...

@mcepl
Copy link
Contributor Author

mcepl commented Jul 21, 2017

Please merge this to fix the 3 year old CVE...

I am not the maintainer of rope anymore, @soupytwist is.

@soupytwist
Copy link
Contributor

Will merge ASAP, have to fix failing tests first.

@soupytwist soupytwist self-assigned this Jul 24, 2017
@ulidtko
Copy link

ulidtko commented Jul 26, 2018

So... uhhh. Still haven't merged "yet", right? 😉

@soupytwist
Copy link
Contributor

Aye. Honestly I don't remember why I didn't get anywhere with this. I know the test is still failing, will take another stab at it... if anyone else wants to take a look at it as well, that would be helpful.

@soupytwist
Copy link
Contributor

Solved in #251.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVE-2014-3539 python-rope: pickle.load of remotely supplied data with no authentication
6 participants