• d_k_bo@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    9
    ·
    4 hours ago

    By providing a modified bitmap to the X.Org Server, a heap-based buffer overflow privilege escalation can occur.

    Maybe we should stop writing security critical software in memory unsafe languages. I now this vulnerability was introduced a long time ago, but given that major Wayland compositors are still written in C, something like this isn’t too unlikely to happen again.

    • leo85811nardo@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      3 hours ago

      Wait till bro find out the program written in the “memory safe language” depends on many libraries written in C

    • superkret@feddit.org
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      4 hours ago

      Let’s re-write all currently existing software in Rust, then there will be no more security holes, and every computer will be safe forever.

    • woelkchen@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 hours ago

      major Wayland compositors are still written in C

      KWin is written in C++ but yes, it’s not a “safe” language.

      something like this isn’t too unlikely to happen again.

      With at least three mainstream implementations – KWin, Mutter, and wlroots – it’s highly unlikely that all would ever be equally affected by one bug.