Skip to content

[Security Bug] Insecure crypto usage #191

@nageshservicenow

Description

@nageshservicenow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions