CWE
287
Advisory Published
CVE Published
Updated

CVE-2007-5770

First published: Thu Nov 01 2007(Updated: )

A flaw was discovered in a way various ruby net::* modules verify commonName (CN) attribute of SSL certificate provided by server against requested hostname, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed site. Issue was originally reported for net::http(s) module and was assigned CVE id <a href="https://access.redhat.com/security/cve/CVE-2007-5162">CVE-2007-5162</a>. However, similar issue also affects other modules: net::ftptls, net::telnets, net::imap and CVS versions of net::pop and net::smtp. Upstream SVN commit: <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&amp;revision=13656">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&amp;revision=13656</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ruby=1.8.5
Ruby=1.8.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2007-5770?

    CVE-2007-5770 has been classified with a moderate severity level, due to its potential for man-in-the-middle attacks.

  • How do I fix CVE-2007-5770?

    To fix CVE-2007-5770, you should upgrade Ruby to a patched version that addresses this vulnerability.

  • Which versions of Ruby are affected by CVE-2007-5770?

    CVE-2007-5770 affects Ruby version 1.8.5 and version 1.8.6 specifically.

  • What type of attacks does CVE-2007-5770 expose users to?

    CVE-2007-5770 exposes users to possible man-in-the-middle attacks and spoofing threats.

  • Is CVE-2007-5770 related to SSL verification issues?

    Yes, CVE-2007-5770 relates to the improper handling of SSL certificate verification in Ruby's net modules.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203