GSD-2007-5162

Vulnerability from gsd - Updated: 2023-12-13 01:21
Details
The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2007-5162",
    "description": "The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.",
    "id": "GSD-2007-5162",
    "references": [
      "https://www.suse.com/security/cve/CVE-2007-5162.html",
      "https://www.debian.org/security/2007/dsa-1410",
      "https://www.debian.org/security/2007/dsa-1411",
      "https://www.debian.org/security/2007/dsa-1412",
      "https://access.redhat.com/errata/RHSA-2007:0965",
      "https://access.redhat.com/errata/RHSA-2007:0961",
      "https://linux.oracle.com/cve/CVE-2007-5162.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2007-5162"
      ],
      "details": "The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.",
      "id": "GSD-2007-5162",
      "modified": "2023-12-13T01:21:40.470770Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2007-5162",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13499",
            "refsource": "CONFIRM",
            "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13499"
          },
          {
            "name": "25847",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/25847"
          },
          {
            "name": "20071112 FLEA-2007-0068-1 ruby",
            "refsource": "BUGTRAQ",
            "url": "http://www.securityfocus.com/archive/1/483577/100/0/threaded"
          },
          {
            "name": "27576",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27576"
          },
          {
            "name": "26985",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/26985"
          },
          {
            "name": "ADV-2007-3340",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2007/3340"
          },
          {
            "name": "USN-596-1",
            "refsource": "UBUNTU",
            "url": "http://www.ubuntu.com/usn/usn-596-1"
          },
          {
            "name": "ruby-nethttps-mitm(36861)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36861"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=313791",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=313791"
          },
          {
            "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13500",
            "refsource": "CONFIRM",
            "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13500"
          },
          {
            "name": "FEDORA-2007-2685",
            "refsource": "FEDORA",
            "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html"
          },
          {
            "name": "27044",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27044"
          },
          {
            "name": "RHSA-2007:0961",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2007-0961.html"
          },
          {
            "name": "RHSA-2007:0965",
            "refsource": "REDHAT",
            "url": "http://www.redhat.com/support/errata/RHSA-2007-0965.html"
          },
          {
            "name": "27756",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27756"
          },
          {
            "name": "DSA-1412",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2007/dsa-1412"
          },
          {
            "name": "http://www.isecpartners.com/advisories/2007-006-rubyssl.txt",
            "refsource": "MISC",
            "url": "http://www.isecpartners.com/advisories/2007-006-rubyssl.txt"
          },
          {
            "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13502",
            "refsource": "CONFIRM",
            "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13502"
          },
          {
            "name": "27673",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27673"
          },
          {
            "name": "oval:org.mitre.oval:def:10738",
            "refsource": "OVAL",
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738"
          },
          {
            "name": "DSA-1410",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2007/dsa-1410"
          },
          {
            "name": "27769",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27769"
          },
          {
            "name": "FEDORA-2007-718",
            "refsource": "FEDORA",
            "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html"
          },
          {
            "name": "SUSE-SR:2007:024",
            "refsource": "SUSE",
            "url": "http://www.novell.com/linux/security/advisories/2007_24_sr.html"
          },
          {
            "name": "MDVSA-2008:029",
            "refsource": "MANDRIVA",
            "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:029"
          },
          {
            "name": "29556",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/29556"
          },
          {
            "name": "27818",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27818"
          },
          {
            "name": "27432",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27432"
          },
          {
            "name": "20070927 Ruby Net::HTTPS library does not validate server certificate CN",
            "refsource": "BUGTRAQ",
            "url": "http://www.securityfocus.com/archive/1/480987/100/0/threaded"
          },
          {
            "name": "3180",
            "refsource": "SREASON",
            "url": "http://securityreason.com/securityalert/3180"
          },
          {
            "name": "FEDORA-2007-2406",
            "refsource": "FEDORA",
            "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html"
          },
          {
            "name": "28645",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/28645"
          },
          {
            "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13504",
            "refsource": "CONFIRM",
            "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13504"
          },
          {
            "name": "DSA-1411",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2007/dsa-1411"
          },
          {
            "name": "27764",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/27764"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2007-5162"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-287"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://www.isecpartners.com/advisories/2007-006-rubyssl.txt",
              "refsource": "MISC",
              "tags": [],
              "url": "http://www.isecpartners.com/advisories/2007-006-rubyssl.txt"
            },
            {
              "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13499",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13499"
            },
            {
              "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13500",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13500"
            },
            {
              "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13502",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13502"
            },
            {
              "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13504",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13504"
            },
            {
              "name": "25847",
              "refsource": "BID",
              "tags": [
                "Patch"
              ],
              "url": "http://www.securityfocus.com/bid/25847"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=313791",
              "refsource": "MISC",
              "tags": [],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=313791"
            },
            {
              "name": "DSA-1410",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2007/dsa-1410"
            },
            {
              "name": "DSA-1411",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2007/dsa-1411"
            },
            {
              "name": "DSA-1412",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2007/dsa-1412"
            },
            {
              "name": "FEDORA-2007-2406",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html"
            },
            {
              "name": "FEDORA-2007-718",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html"
            },
            {
              "name": "FEDORA-2007-2685",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html"
            },
            {
              "name": "RHSA-2007:0961",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://www.redhat.com/support/errata/RHSA-2007-0961.html"
            },
            {
              "name": "RHSA-2007:0965",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://www.redhat.com/support/errata/RHSA-2007-0965.html"
            },
            {
              "name": "SUSE-SR:2007:024",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://www.novell.com/linux/security/advisories/2007_24_sr.html"
            },
            {
              "name": "26985",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/26985"
            },
            {
              "name": "27044",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27044"
            },
            {
              "name": "27432",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27432"
            },
            {
              "name": "27576",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27576"
            },
            {
              "name": "27673",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27673"
            },
            {
              "name": "27764",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27764"
            },
            {
              "name": "27769",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27769"
            },
            {
              "name": "27818",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27818"
            },
            {
              "name": "3180",
              "refsource": "SREASON",
              "tags": [],
              "url": "http://securityreason.com/securityalert/3180"
            },
            {
              "name": "27756",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/27756"
            },
            {
              "name": "MDVSA-2008:029",
              "refsource": "MANDRIVA",
              "tags": [],
              "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:029"
            },
            {
              "name": "28645",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/28645"
            },
            {
              "name": "USN-596-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/usn-596-1"
            },
            {
              "name": "29556",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/29556"
            },
            {
              "name": "ADV-2007-3340",
              "refsource": "VUPEN",
              "tags": [],
              "url": "http://www.vupen.com/english/advisories/2007/3340"
            },
            {
              "name": "ruby-nethttps-mitm(36861)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36861"
            },
            {
              "name": "oval:org.mitre.oval:def:10738",
              "refsource": "OVAL",
              "tags": [],
              "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738"
            },
            {
              "name": "20071112 FLEA-2007-0068-1 ruby",
              "refsource": "BUGTRAQ",
              "tags": [],
              "url": "http://www.securityfocus.com/archive/1/483577/100/0/threaded"
            },
            {
              "name": "20070927 Ruby Net::HTTPS library does not validate server certificate CN",
              "refsource": "BUGTRAQ",
              "tags": [],
              "url": "http://www.securityfocus.com/archive/1/480987/100/0/threaded"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2018-10-15T21:41Z",
      "publishedDate": "2007-10-01T05:17Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…