FKIE_CVE-2017-0898

Vulnerability from fkie_nvd - Published: 2017-09-15 19:29 - Updated: 2026-06-17 00:58
Summary
Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap.
References
support@hackerone.comhttp://www.securityfocus.com/bid/100862Third Party Advisory, VDB Entry
support@hackerone.comhttp://www.securitytracker.com/id/1039363Third Party Advisory, VDB Entry
support@hackerone.comhttps://access.redhat.com/errata/RHSA-2017:3485
support@hackerone.comhttps://access.redhat.com/errata/RHSA-2018:0378
support@hackerone.comhttps://access.redhat.com/errata/RHSA-2018:0583
support@hackerone.comhttps://access.redhat.com/errata/RHSA-2018:0585
support@hackerone.comhttps://github.com/mruby/mruby/issues/3722Exploit, Third Party Advisory
support@hackerone.comhttps://hackerone.com/reports/212241Exploit, Third Party Advisory
support@hackerone.comhttps://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
support@hackerone.comhttps://security.gentoo.org/glsa/201710-18
support@hackerone.comhttps://usn.ubuntu.com/3685-1/
support@hackerone.comhttps://www.debian.org/security/2017/dsa-4031
support@hackerone.comhttps://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/100862Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1039363Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3485
af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:0378
af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:0583
af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:0585
af854a3a-2127-422b-91ae-364da2661108https://github.com/mruby/mruby/issues/3722Exploit, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/212241Exploit, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/201710-18
af854a3a-2127-422b-91ae-364da2661108https://usn.ubuntu.com/3685-1/
af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2017/dsa-4031
af854a3a-2127-422b-91ae-364da2661108https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/Vendor Advisory
Impacted products
Vendor Product Version
ruby-lang ruby 2.2.0
ruby-lang ruby 2.2.1
ruby-lang ruby 2.2.2
ruby-lang ruby 2.2.3
ruby-lang ruby 2.2.4
ruby-lang ruby 2.2.5
ruby-lang ruby 2.2.6
ruby-lang ruby 2.2.7
ruby-lang ruby 2.3.0
ruby-lang ruby 2.3.1
ruby-lang ruby 2.3.2
ruby-lang ruby 2.3.3
ruby-lang ruby 2.3.4
ruby-lang ruby 2.4.0
ruby-lang ruby 2.4.1

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "Ruby",
          "vendor": "HackerOne",
          "versions": [
            {
              "status": "affected",
              "version": "Versions before 2.4.2, 2.3.5, and 2.2.8"
            }
          ]
        }
      ],
      "source": "support@hackerone.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "B8F103B7-0E70-4490-9802-2CD6034E240B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "35D36707-03B7-437C-B21D-A27D5C530117",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "5FCCD8F3-E667-42F2-9861-14EDFB16583A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "6F3CEF46-C95D-493B-A99B-7C90FDF27B47",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "1629D696-BD68-4C4F-B6CE-885AD670A12A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F87B9AD8-CF70-4CA9-A655-838B1D7AD056",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "EB471265-C399-49D4-8CA2-5FC1C85C6F19",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "E8F7FF5E-EBD0-415E-BFA1-6AF1527F1174",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "822307DD-7F7D-44C2-9C4B-CB8704663410",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "5F197C5A-2588-417F-A743-E72D1E8EF4F7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "FBA01BF1-91AD-4968-9AC2-A194FCD6AB76",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "B36CCD91-2A20-4C2E-96D5-73704DFC10E4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "485C401C-CC3B-4A74-82D6-F4539FFE48B8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "F9E99F5A-E693-43E9-8AB3-A3FCB21BCF14",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "946D2AB0-D334-4D94-BDA2-733BFC6C9E1E",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap."
    },
    {
      "lang": "es",
      "value": "Ruby, en versiones anteriores a la 2.4.2, 2.3.5 y 2.2.8, es vulnerable a una cadena de formato maliciosa qe contiene un especificador (*) con un valor grande negativo. Esta situaci\u00f3n puede provocar un desbordamiento de b\u00fafer, provocando una corrupci\u00f3n de la memoria din\u00e1mica (heap) o una fuga de informaci\u00f3n de dicha memoria din\u00e1mica."
    }
  ],
  "id": "CVE-2017-0898",
  "lastModified": "2026-06-17T00:58:29.160",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.4,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "NONE",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 4.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ],
    "cvssMetricV30": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.1,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
          "version": "3.0"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.2,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2017-09-15T19:29:00.190",
  "references": [
    {
      "source": "support@hackerone.com",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securityfocus.com/bid/100862"
    },
    {
      "source": "support@hackerone.com",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securitytracker.com/id/1039363"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://access.redhat.com/errata/RHSA-2017:3485"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://access.redhat.com/errata/RHSA-2018:0378"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://access.redhat.com/errata/RHSA-2018:0583"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://access.redhat.com/errata/RHSA-2018:0585"
    },
    {
      "source": "support@hackerone.com",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ],
      "url": "https://github.com/mruby/mruby/issues/3722"
    },
    {
      "source": "support@hackerone.com",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ],
      "url": "https://hackerone.com/reports/212241"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://security.gentoo.org/glsa/201710-18"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://usn.ubuntu.com/3685-1/"
    },
    {
      "source": "support@hackerone.com",
      "url": "https://www.debian.org/security/2017/dsa-4031"
    },
    {
      "source": "support@hackerone.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securityfocus.com/bid/100862"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Third Party Advisory",
        "VDB Entry"
      ],
      "url": "http://www.securitytracker.com/id/1039363"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://access.redhat.com/errata/RHSA-2017:3485"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://access.redhat.com/errata/RHSA-2018:0378"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://access.redhat.com/errata/RHSA-2018:0583"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://access.redhat.com/errata/RHSA-2018:0585"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ],
      "url": "https://github.com/mruby/mruby/issues/3722"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ],
      "url": "https://hackerone.com/reports/212241"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security.gentoo.org/glsa/201710-18"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://usn.ubuntu.com/3685-1/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.debian.org/security/2017/dsa-4031"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://www.ruby-lang.org/en/news/2017/09/14/sprintf-buffer-underrun-cve-2017-0898/"
    }
  ],
  "sourceIdentifier": "support@hackerone.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-134"
        }
      ],
      "source": "support@hackerone.com",
      "type": "Secondary"
    },
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-134"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



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…