gsd-2017-10784
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2017-10784",
    "description": "The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.",
    "id": "GSD-2017-10784",
    "references": [
      "https://www.suse.com/security/cve/CVE-2017-10784.html",
      "https://www.debian.org/security/2017/dsa-4031",
      "https://access.redhat.com/errata/RHSA-2018:0585",
      "https://access.redhat.com/errata/RHSA-2018:0583",
      "https://access.redhat.com/errata/RHSA-2018:0378",
      "https://access.redhat.com/errata/RHSA-2017:3485",
      "https://ubuntu.com/security/CVE-2017-10784",
      "https://advisories.mageia.org/CVE-2017-10784.html",
      "https://alas.aws.amazon.com/cve/html/CVE-2017-10784.html",
      "https://linux.oracle.com/cve/CVE-2017-10784.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2017-10784"
      ],
      "details": "The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.",
      "id": "GSD-2017-10784",
      "modified": "2023-12-13T01:21:15.017138Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2017-10784",
        "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 Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "USN-3685-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/3685-1/"
          },
          {
            "name": "RHSA-2018:0585",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2018:0585"
          },
          {
            "name": "USN-3528-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/3528-1/"
          },
          {
            "name": "100853",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/100853"
          },
          {
            "name": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/",
            "refsource": "CONFIRM",
            "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/"
          },
          {
            "name": "RHSA-2018:0378",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2018:0378"
          },
          {
            "name": "1042004",
            "refsource": "SECTRACK",
            "url": "http://www.securitytracker.com/id/1042004"
          },
          {
            "name": "DSA-4031",
            "refsource": "DEBIAN",
            "url": "https://www.debian.org/security/2017/dsa-4031"
          },
          {
            "name": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/",
            "refsource": "CONFIRM",
            "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/"
          },
          {
            "name": "1039363",
            "refsource": "SECTRACK",
            "url": "http://www.securitytracker.com/id/1039363"
          },
          {
            "name": "RHSA-2017:3485",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2017:3485"
          },
          {
            "name": "[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
          },
          {
            "name": "RHSA-2018:0583",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2018:0583"
          },
          {
            "name": "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/",
            "refsource": "CONFIRM",
            "url": "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/"
          },
          {
            "name": "GLSA-201710-18",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/201710-18"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.4.0",
          "affected_versions": "All versions before 1.4.0",
          "cvss_v2": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-287",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-07-31",
          "description": "The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.",
          "fixed_versions": [
            "1.4.0"
          ],
          "identifier": "CVE-2017-10784",
          "identifiers": [
            "GHSA-369m-2gv6-mw28",
            "CVE-2017-10784"
          ],
          "not_impacted": "All versions starting from 1.4.0",
          "package_slug": "gem/webrick",
          "pubdate": "2022-05-14",
          "solution": "Upgrade to version 1.4.0 or above.",
          "title": "Improper Authentication",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-10784",
            "https://access.redhat.com/errata/RHSA-2017:3485",
            "https://access.redhat.com/errata/RHSA-2018:0378",
            "https://access.redhat.com/errata/RHSA-2018:0583",
            "https://access.redhat.com/errata/RHSA-2018:0585",
            "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html",
            "https://security.gentoo.org/glsa/201710-18",
            "https://usn.ubuntu.com/3528-1/",
            "https://usn.ubuntu.com/3685-1/",
            "https://www.debian.org/security/2017/dsa-4031",
            "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/",
            "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/",
            "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/",
            "https://web.archive.org/web/20210621131814/http://www.securityfocus.com/bid/100853",
            "https://web.archive.org/web/20210919031115/http://www.securitytracker.com/id/1042004",
            "https://web.archive.org/web/20211025092552/http://www.securitytracker.com/id/1039363",
            "https://github.com/ruby/ruby/commit/6617c41292",
            "https://github.com/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813",
            "https://hackerone.com/reports/223363",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml",
            "https://github.com/advisories/GHSA-369m-2gv6-mw28"
          ],
          "uuid": "4743e782-bfec-4072-81f4-79fe585c1344"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.0:preview1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.0:preview2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.0:preview2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "2.2.7",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.0:preview3:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.0:preview1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2017-10784"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-287"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784/"
            },
            {
              "name": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/"
            },
            {
              "name": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/"
            },
            {
              "name": "1039363",
              "refsource": "SECTRACK",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securitytracker.com/id/1039363"
            },
            {
              "name": "100853",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/100853"
            },
            {
              "name": "GLSA-201710-18",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/201710-18"
            },
            {
              "name": "DSA-4031",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "https://www.debian.org/security/2017/dsa-4031"
            },
            {
              "name": "RHSA-2017:3485",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2017:3485"
            },
            {
              "name": "RHSA-2018:0378",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2018:0378"
            },
            {
              "name": "USN-3528-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "https://usn.ubuntu.com/3528-1/"
            },
            {
              "name": "RHSA-2018:0585",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2018:0585"
            },
            {
              "name": "RHSA-2018:0583",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2018:0583"
            },
            {
              "name": "USN-3685-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "https://usn.ubuntu.com/3685-1/"
            },
            {
              "name": "[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
            },
            {
              "name": "1042004",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id/1042004"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "COMPLETE",
            "baseScore": 9.3,
            "confidentialityImpact": "COMPLETE",
            "integrityImpact": "COMPLETE",
            "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 10.0,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2018-10-31T10:29Z",
      "publishedDate": "2017-09-19T17:29Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.