HexBrain

Ruby · Report #192127

Buffer underflow in sprintf

Validstatus
7upvotes
5 Mar 2017disclosed

How it was found

Hi,

So I found this in mruby as part of the shopify-scripts program, and I notice that my patch also landed upstream in ruby as well. Shame on me for not checking ruby as well!

Wondered if it counted for a bounty here as well?

https://github.com/mruby/mruby/issues/3347 <- issue that shopify guys opened on my behalf. https://github.com/ruby/ruby/commit/0854193a684acc2b3a13ab28091a4397000c8822 <- commit landed upstream.

https://hackerone.com/reports/191328 (still open so not public) is the original report of mine.

Let me know if you need anything more.

Cheers,

Hugh

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original