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

Eliminate exploitable security hole in Digest->new($algorithm) #1

Merged
merged 5 commits into from
Oct 2, 2011

Conversation

schwern
Copy link
Contributor

@schwern schwern commented Oct 2, 2011

As per https://rt.cpan.org/Ticket/Display.html?id=71390

A combination of eval "require $module" and an incomplete input filter leads to the ability to run arbitrary code via Digest->new($algorithm).

I've also...

  • Converted the tests to Test::More
  • Turned on strict in some tests
  • Detabified some of the code

gisle added a commit that referenced this pull request Oct 2, 2011
Eliminate exploitable security hole in Digest->new($algorithm)
@gisle gisle merged commit 73b8496 into gisle:master Oct 2, 2011
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.

2 participants