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

Security issue - the Request model disables SSL verification in production #148

Open
benjamenjohnsondev opened this issue Oct 3, 2024 · 0 comments

Comments

@benjamenjohnsondev
Copy link

Hi,

I would have raised this privately but there's no security policy in place.

The Request model is disabling SSL verification for curl requests via CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER

From what I can see this Request method is used during creation of the payment token.

This is usually used in local development but the SSL verification options shouldn't be disabled in the production code and requests should be made to https:// endpoints.

There's an additional issue that CURLOPT_NOPROGRESS and CURLOPT_VERBOSE are verbose and make parsing server logs difficult.

Is this module actively maintained?

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

No branches or pull requests

1 participant