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 Bug] Insecure crypto usage #191

Open
nageshservicenow opened this issue Mar 20, 2024 · 0 comments
Open

[Security Bug] Insecure crypto usage #191

nageshservicenow opened this issue Mar 20, 2024 · 0 comments

Comments

@nageshservicenow
Copy link

Description

Detected SSL that will accept an unverified connection. This makes the connections susceptible to man-in-the-middle attacks.

Used verify_mode as VERIFY_NONE as below in various source code file in this repo.
..
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
..

Effected files:
metrics-apache-graphite.rb :

http.verify_mode = OpenSSL::SSL::VERIFY_NONE if config[:insecure]

http.verify_mode = OpenSSL::SSL::VERIFY_NONE if config[:insecure]

OpenSSL::SSL::VERIFY_NONE

http.verify_mode = OpenSSL::SSL::VERIFY_NONE

Remediation

  1. Use 'OpenSSL::SSL::VERIFY_PEER' instead.
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