• 0 Posts
  • 126 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle
  • But do you want to Morty your life?

    But I appreciate your comparison, it really is analagous to an overconfident jr dev code scenario. Anyone who actually knows understands he’s lucky it’s still intact and cringes at his ‘rated for cross-atlantic’ statement. But it’s been fine so far, so he feels super vindicated into extrapolating to how awesome it’s going to be if he managed to get the basics this in order.

    I went in prepared to be unambiguously appreciative of the adventuresome spirit, but turned to dismay as he spoke on what he thought the boat was capable of and close to being. Good job on the adventure, but need to have a bit more humility or he’ll be in over his head, literally.







  • Note that could prove you have it, but failure to execute does not prove yourself secure.

    For example, someone reported to me that their RHEL9 system was not vulnerable based on this result. But it was because python was 3.9 and didn’t have os.splice, so the demonstrator failed, but the actual issue was there.

    Similarly, if ‘/usr/bin/su’ isn’t exactly there (maybe it’s in /bin/su, or in /sbin/su, or /usr/sbin/su, or not there at all), the demonstrator will fail, but the kernel may still have the vulnerability, you just have to select a different victim utility (or change the cache for some other data other than an executable for other effects).



  • Note that this is a rather narrow view of the scope of things.

    Yes, the demonstrator is a python script that opens up ‘su’ and uses splice+this vulnerability to change it to ‘just assume all privileges and become sh’.

    However, it’s that any process in any namespace can leverage a certain socket type and splice to effectively modify any filesystem content they want. It’s easy to see how this could be part of a chained attack to, for example, replace a protected service that is firewalled off with a shell. An RCE in a service permits rewriting nginx in an entirely different container and replaces it with a shell backend of your choosing.

    That ‘flatpak’ application on your single user system that is guarded from touching your files that aren’t related? That isolation doesn’t mean anything if this issue is in play.

    In terms of shared systems, while it should be avoided if possible, practically speaking there’s a lot of shared resources.

    I don’t get why I’ve seen so many people saying “ehh, no big deal, privilege escalation is just a fact of life”.



  • Don’t have a Framework, but I think it’s due to the whole ‘modern standby’ approach where the firmware doesn’t implement ‘standby’ anymore and just let’s the OS put everything into as low power state as possible, component by component.

    It doesn’t work well for Windows either, which is why a Windows laptop I have will ‘standby’ for maybe 15 minutes before shutting itself down for ‘hibernate’. I figure they decided that NVME means resume from hibernate is ‘good enough’ and modern standby is such a power hog that they can’t pull it off.

    Problem in Linux is that they view SecureBoot as a promise they cannot keep if they resume from disk, so they block hibernate if SecureBoot is enabled, making it hard to bank on as a reliable recourse.



  • Because it can be a pretty steep hit to power output/efficiency compared to angling them to face the sun.

    Cost per watt is significantly higher this way compared to what you generally see. It allows more sharing of sun between other uses and solar, but it comes at the expense of not letting the solar get as much sun for the same panel cost.


  • jj4211@lemmy.worldtoSolarpunk@slrpnk.netObvious choice
    link
    fedilink
    arrow-up
    13
    arrow-down
    3
    ·
    28 days ago

    I think it’s unreasonable to say it’s fossil fuel propaganda. I like having shade and coverage in a car parking lot.

    It’s not that the solar covering is just for solar power, but it’s a convenient pitch to combine the use cases where sure, solar covering parking is more expensive than solar straight on the ground, and sure, a plain covering is cheaper than a solar covering, but right now the lots are uncovered bits of asphalt that could be better.



  • Of course I also see that the go spawns python and does stuff with that…

    And there’s lots of other dubious issues that look like an odd mismash of intro level programming stuff with unfortunate performance implications, and a very strong vibe code smell, though the commit interval is a bit larger than I would have presumed with vibe coding, but the volume of changes seem AI sloppy…

    Well, broadly it looks like slop, probably AI slop, but either way I wouldn’t go anywhere near this project…


  • jj4211@lemmy.worldtolinuxmemes@lemmy.worldGUIs
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    It depends on the complexity of the operation. “I want to rename all my files to have underscores to spaces”, CLI will let you construct that easily. I want to move all mp4/mkv files to one folder, but all ‘.opus/.mp3’ files to another folder, CLI is a bit quicker. Or I want to take the audio tracks out of all these mp4/mkv and then name the result according to the basename of the original file and move the result, well, mkvextract and mv are quicker than trying to wrangle all the content in comparable GUIs.

    But yes, if you are wanting to do an operation on a file or a range of files easily handled with shift-click to select, then GUI will be both approachable and quick.