• @d_k_bo@feddit.org
    link
    fedilink
    English
    -62 months 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.

    • @superkret@feddit.org
      link
      fedilink
      English
      212 months 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.

    • @leo85811nardo@lemmy.world
      link
      fedilink
      English
      122 months ago

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

      • 2xsaiko
        link
        fedilink
        English
        12 months ago

        Everyone knows. There’s nothing to “find out”.

    • @woelkchen@lemmy.world
      link
      fedilink
      English
      42 months 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.