Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
joojmachine ( joojmachine@lemmy.ml )  to Linux@lemmy.mlEnglish · 2 years ago

Federal agency warns critical Linux vulnerability being actively exploited

arstechnica.com

external-link
message-square
75
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
172
external-link

Federal agency warns critical Linux vulnerability being actively exploited

arstechnica.com

joojmachine ( joojmachine@lemmy.ml )  to Linux@lemmy.mlEnglish · 2 years ago
message-square
75
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
Cybersecurity and Infrastructure Security Agency urges affected users to update ASAP.
alert-triangle
You must log in or # to comment.
  • The Doctor ( drwho@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    74
    ·
    2 years ago

    Outfits that haven’t installed patches since February are getting popped in May by a vuln that was published in January.

    • youmaynotknow ( jjlinux@lemmy.ml ) 
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      Normal technology situations created by normal human behavior. 😜

    • QuazarOmega ( QuazarOmega@lemy.lol ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 years ago

      Outfits? What does it mean in this context?

      • Waltzy ( Waltzy@feddit.uk ) 
        link
        fedilink
        arrow-up
        16
        ·
        2 years ago

        Organisations

        • QuazarOmega ( QuazarOmega@lemy.lol ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 years ago

          Ahh, thank you

      • acockworkorange ( acockworkorange@mander.xyz ) 
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Suits and shit.

      • Possibly linux ( possiblylinux127@lemmy.zip ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Guns for hire

      • The Doctor ( drwho@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Companies and organizations.

  • treadful ( treadful@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    74
    ·
    2 years ago

    It’s a privilege escalation.

    The vulnerability, tracked as CVE-2024-1086 and carrying a severity rating of 7.8 out of a possible 10, allows people who have already gained a foothold inside an affected system to escalate their system privileges. It’s the result of a use-after-free error, a class of vulnerability that occurs in software written in the C and C++ languages when a process continues to access a memory location after it has been freed or deallocated. Use-after-free vulnerabilities can result in remote code or privilege escalation.

    • corsicanguppy ( corsicanguppy@lemmy.ca ) 
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      a use-after-free error, a class of vulnerability that occurs in software written in the C and C++ languages when a process continues to access a memory location after it has been freed or deallocated.

      Immediately I noticed how when Teslas can’t drive themselves we also blame the car and not the driver.

      Weak. Blame the driver.

      • caseyweederman ( caseyweederman@lemmy.ca ) 
        link
        fedilink
        arrow-up
        16
        ·
        2 years ago

        I compiled my own drivers

        • eveninghere ( eveninghere@beehaw.org ) 
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          This guy drives not

        • No1 ( No1@aussie.zone ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Yeah, but did you include any biobs?

        • Tlaloc_Temporal ( Tlaloc_Temporal@lemmy.ca ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          And then compacted them!

      • LeFantome ( LeFantome@programming.dev ) Banned
        link
        fedilink
        arrow-up
        15
        ·
        2 years ago

        I re-wrote my Tesla firmware in Rust. It is faster and more secure. Self-driving is no problem when you use a safe language.

        Honestly, why are we even selling cars to people who do not take these basic steps?

      • The Ramen Dutchman ( lord_ryvan@ttrpg.network ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Don’t think C / C++ wasn’t blamed.

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      This is why least privilege is so important. If one account is compromised it will be harder to compromise others if the original account is isolated.

  • stuckgum ( stuckgum@lemmy.ml ) 
    link
    fedilink
    arrow-up
    47
    ·
    2 years ago

    Yet another security issue that Rust would solve.

    • Venia Silente ( veniasilente@lemm.ee ) 
      link
      fedilink
      English
      arrow-up
      59
      ·
      2 years ago

      Oh, we heard, Rust is the greatest invention since sliced bread. We heard it already. Like 65534 times.

      • Zucca ( Zucca@sopuli.xyz ) 
        link
        fedilink
        arrow-up
        45
        ·
        2 years ago

        Like 65534 times.

        So close to full 16-bit max. So close…

        • Phoenixz ( phoenixz@lemmy.ca ) 
          link
          fedilink
          arrow-up
          11
          ·
          2 years ago

          Yeah I figured he was going purposely for a memory overflow

        • Venia Silente ( veniasilente@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          8
          ·
          2 years ago

          Yeah we only need 2 brainRusts more to start seeing some fun.

          • Zucca ( Zucca@sopuli.xyz ) 
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Gah. I should have stated “I see what you did there.” instead. ;)

      • urska ( urska@lemmy.ca ) 
        link
        fedilink
        arrow-up
        24
        ·
        2 years ago

        Aviation, Health, Space and Car industry have only 3 certified languages that they use. Ada, C and C++. Ada is dying because there are way less young engineers who want to invest their future learning it. Then there is C and C++ but they dont offer memory safety and its really hard to master and its really hard and long (thats what she said) to certify the code when being audited for safety by a tier company.

        Rust solves by default (no need to review) like 2/3 of the standard requirements those industries have and are that found in C and C++. Rust will soon be approved in this group by the car industry.

        Im not a rust fan, but I have 3 things to say about rust.

        • Its fun to program like C++ having the peace of mind knowing the compiler is there helping.
        • You dont feel like youre defusing a bomb like when writing C.
        • Even though its a fun language to write, its also really hard to master, itd say 2 years to be really proficient with it. There is just so much knowledge.
        • anton ( anton@lemmy.blahaj.zone ) 
          link
          fedilink
          arrow-up
          11
          ·
          2 years ago

          Aviation, Health, Space and Car industry have only 3 certified languages that they use. Ada, C and C++.

          Rust is automotive certified since over half a year. https://ferrous-systems.com/blog/officially-qualified-ferrocene

        • caseyweederman ( caseyweederman@lemmy.ca ) 
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Could you explain the “no need to review” part? I do keep hearing good things about Rust.

          • urska ( urska@lemmy.ca ) 
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            These industries hire third parties to review c and c++ line per line to make sure it’s memory safe. Rust by default forces you to write memory safe code, otherwise it won’t even compile. The rust compiler tells where is the problem and what it expects. No only for basic Type errors but also for concurrent code.

            • caseyweederman ( caseyweederman@lemmy.ca ) 
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              Is it not possible to build that functionality into C/++ compilers?

              • urska ( urska@lemmy.ca ) 
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

                its the way the language was built. Im not sure its possible without breaking C/C++ which have like 35 years + in the making. Also these concepts are have little to do with programing and more architectural designs. The designers are real engineers working on difficult concepts. All big brains tbh

        • corsicanguppy ( corsicanguppy@lemmy.ca ) 
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago
          • You dont feel like youre defusing a bomb like when writing C.

          Whoa, Skippy. It’s not saving the world, it’s just coding properly.

          • urska ( urska@lemmy.ca ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Well no, those companies deal with really important subjects. Airplanes, car safety, chemotherapy machines, missiles, etc. Have a good day

        • imgcat ( imgcat@lemmy.ml ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Ada SPARK is not dying at all, it’s growing. It is used where formal proof is required like and Rust is nowhere near that!

      • The Doctor ( drwho@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        18
        ·
        2 years ago

        I wonder how many folks are just refusing to use Rust to spite the Rust Evangelism Strike Team.

        • T (they/she) ( Templa@beehaw.org ) 
          link
          fedilink
          arrow-up
          11
          ·
          2 years ago

          Rustaceans 🤝 Vegans

        • swab148 ( swab148@startrek.website ) 
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          I wish there was a synonym for “evangelism” that began with a “u”.

          • Tlaloc_Temporal ( Tlaloc_Temporal@lemmy.ca ) 
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Urge? Kinda dark and villainous feeling.

            Upgrade! “The Rust Upgrade Strike Team! Upgrade Today!” Sounds very propagandistic, almost doublespeak.

            Ultimatum? Mildly threatening.

            Utopia? It has the self righteous feel.

            Uhvangelism, hurhur.

            Universalism?

            • T (they/she) ( Templa@beehaw.org ) 
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              I giggled, thank you.

          • eveninghere ( eveninghere@beehaw.org ) 
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            user

        • delirious_owl ( delirious_owl@discuss.online ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          I wait until cargo is actually secure.

          • uhN0id ( uhN0id@programming.dev ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            What is insecure about it?

            • delirious_owl ( delirious_owl@discuss.online ) 
              link
              fedilink
              arrow-up
              5
              ·
              2 years ago

              It doesn’t verify downloads are authentic. Its an issue with almost all programming dependency managers besides mature ones like Java’s Maven.

              Python has been working with Facebook to fix this in pip for like a decade.

              But obviously it shows that rust isn’t so concerned about security.

              • uhN0id ( uhN0id@programming.dev ) 
                link
                fedilink
                arrow-up
                3
                ·
                2 years ago

                Ah interesting. Thank you, you’re giving me something to read about that I never considered for crates. I guess I just assumed because of the scrutiny Rust was built with and continues to go through that it would also apply to verifying crates. I have definitely heard about it with NPM so it should have been obvious that it might not be any different for crates. Thanks again!

      • doona ( doona@aussie.zone ) 
        link
        fedilink
        arrow-up
        16
        ·
        2 years ago

        I hate it when people talk about new technologies 🤬

        • Venia Silente ( veniasilente@lemm.ee ) 
          link
          fedilink
          English
          arrow-up
          11
          ·
          2 years ago

          Same. We should head back to ICQ!

          • leopold ( leopold@lemmy.kde.social ) 
            link
            fedilink
            English
            arrow-up
            7
            ·
            2 years ago

            eh, still beats Discord as far as I’m concerned

    • corsicanguppy ( corsicanguppy@lemmy.ca ) 
      link
      fedilink
      arrow-up
      20
      ·
      2 years ago

      Yet another problem that actually updating your shit - which is trivially easy on enterprise Linux - would fix.

      It’s part of the 95% of problems solved by actually updating your enterprise Linux host.

      • delirious_owl ( delirious_owl@discuss.online ) 
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        unattended-upgrades and forget about it

        • iegod ( iegod@lemm.ee ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Tell me more (for real, I’m unfamiliar).

          • delirious_owl ( delirious_owl@discuss.online ) 
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Its a Debian package that automatically upgraded packages (if they have pending security updates)

            • iegod ( iegod@lemm.ee ) 
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              I run mine manually, good to know. Will check it out.

      • Possibly linux ( possiblylinux127@lemmy.zip ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        That requires that the patches be in the repos. With RHEL it might be a few months

    • the_doktor ( the_doktor@lemmy.zip ) 
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      Any software can have security issues, including ones written in rust. Just because C/C++ allows one to shoot oneself in the foot doesn’t mean it’s something that’s commonly allowed by anyone with any skill, it’s just a bug like anything else. I swear, people advocating rust believe that it’s something intrinsic in C/C++ that allows such a thing regardless of what a developer does, and it’s getting tiresome.

      • ProgrammingSocks ( ProgrammingSocks@pawb.social ) 
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        Of course a good developer can avoid these problems for the most part. The point is that we want the bad developers to be forced to do things a safe way by default.

      • Miaou ( Miaou@jlai.lu ) 
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        But it is, do you not understand what rust brings compared to these two languages ?

        • the_doktor ( the_doktor@lemmy.zip ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          A language for noobs that encourages bad style and programming because you can’t shoot yourself in the foot as easily (but you totally still can)? That’s what all these fad languages seem to be, and more keep popping up and declaring themselves the future of programming all the time. Just wait, rust will be forgotten for some other fad language everyone will start using soon enough. Stop reworking everything into the fad language of the moment and just work on existing code.

          • Kazumara ( Kazumara@discuss.tchncs.de ) 
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            A language for noobs

            That assertion surprises me; I find C easier to use than Rust.

          • uhN0id ( uhN0id@programming.dev ) 
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 years ago

            I’m sorry but this reads like someone that hasn’t used Rust or hasn’t spent much time with it. You’re generalizing Rust with other languages while forgetting that some fads turn into standards.

            If everyone stopped trying new things we’d never see progress.

            Edit: fixed typo

    • GolfNovemberUniform ( GolfNovemberUniform@lemmy.ml ) 
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      2 years ago

      deleted by creator

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      The problem is bad programmers. You can write good C code but it takes more effort and security checking. You also can write vulnerable and sloppy Rust code.

    • henfredemars ( henfredemars@infosec.pub ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      I don’t think it’s realistic to expect a rewrite of code that works. Maybe over time we can start implementing pieces in safer languages.

      • eveninghere ( eveninghere@beehaw.org ) 
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I admit C++ ain’t safe, but wonder if there’s an alternative to going Rust. Don’t get me wrong, I love the language. But Rust is a beast on its own. I read here that game devs generally can’t adapt Rust because the language forces frequent refactoring, which doesn’t fit the business speed of game development.

        • henfredemars ( henfredemars@infosec.pub ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          I don’t care for Rust because I like writing unsafe code. It’s fun. However, I would value the assurances it provides using software written in Rust.

  • bigkahuna1986 ( bigkahuna1986@lemmy.ml ) 
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    Is there a way to jailbreak an Android phone using this exploit?

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 years ago

      You could just unlock the bootloader

      • JCreazy ( JCreazy@midwest.social ) 
        link
        fedilink
        English
        arrow-up
        29
        ·
        2 years ago

        Assuming the bootloader is unlockable

        • delirious_owl ( delirious_owl@discuss.online ) 
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          You could just buy an android phone that encourages this. All Pixels, for example.

          • asexualchangeling ( asexualchangeling@lemmy.ml ) Banned
            link
            fedilink
            arrow-up
            20
            ·
            2 years ago

            deleted by creator

            • delirious_owl ( delirious_owl@discuss.online ) 
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              No, but buy a different one when this one breaks is.

              • asexualchangeling ( asexualchangeling@lemmy.ml ) Banned
                link
                fedilink
                arrow-up
                7
                ·
                2 years ago

                deleted by creator

                • delirious_owl ( delirious_owl@discuss.online ) 
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  2 years ago

                  Of course it helps them

                • Possibly linux ( possiblylinux127@lemmy.zip ) 
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 years ago

                  It helps them long term

          • ProgrammingSocks ( ProgrammingSocks@pawb.social ) 
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            +1 for Pixels but -1 for Google’s “support”. You’ll never talk to a human with them. I love GrapheneOS on my Pixel though, and they’re really the only phones you can install it on cause you can re-lock the bootloader on it after installing. CalyxOS (fork of Graphene with slightly less sandboxing) does support FairPhone 4&5 and a few Motorola phones though.

  • applepie ( applepie@kbin.social ) 
    link
    fedilink
    arrow-up
    14
    ·
    2 years ago

    Is this even new?

    I thought this already circulated a few months back.

    • lemmyvore ( lemmyvore@feddit.nl ) 
      link
      fedilink
      English
      arrow-up
      19
      ·
      2 years ago

      Even Debian stable has already patched it.

      • Possibly linux ( possiblylinux127@lemmy.zip ) 
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        2 years ago

        Debian is actually one of the fastest patchers

        RHEL on the other hand

      • caseyweederman ( caseyweederman@lemmy.ca ) 
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        Security patches do the opposite of break stuff

  • AutoTL;DR ( autotldr@lemmings.world ) B
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 years ago

    This is the best summary I could come up with:


    It’s the result of a use-after-free error, a class of vulnerability that occurs in software written in the C and C++ languages when a process continues to access a memory location after it has been freed or deallocated.

    At the time this Ars post went live, there were no known details about the active exploitation.

    A deep-dive write-up of the vulnerability reveals that these exploits provide “a very powerful double-free primitive when the correct code paths are hit.” Double-free vulnerabilities are a subclass of use-after-free errors that occur when the free() function for freeing memory is called more than once for the same location.

    The write-up lists multiple ways to exploit the vulnerability, along with code for doing so.

    The double-free error is the result of a failure to achieve input sanitization in netfilter verdicts when nf_tables and unprivileged user namespaces are enabled.

    Some of the most effective exploitation techniques allow for arbitrary code execution in the kernel and can be fashioned to drop a universal root shell.


    The original article contains 351 words, the summary contains 168 words. Saved 52%. I’m a bot and I’m open source!

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 2.09K users / month
  • 6.2K users / 6 months
  • 1.31K local subscribers
  • 68.1K subscribers
  • 8.11K Posts
  • 109K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • nooter692 ( nooter692@lemmy.ml ) 
  • MarcellusDrum ( MarcellusDrum@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • d3Xt3r ( d3Xt3r@lemmy.nz ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code