XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      As new recipes are unlocked, a toast is shown cycling through all the newly unlocked items. As the amount of unlocked items grows, the cycle speed increases. Due to how floating-point arithmetic works, the division behind the scenes can end up using a zero which will end up throwing an ArithmeticException leading to a crash.

      To exploit this, an attacker has to have privileges to use the /recipe command. And can do it by repeatedly executing /recipe take victim * followed by /recipe give victim *.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kekarov Kekarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: