Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Security Ubuntu Linux

New Ubuntu Linux Security Bypasses Require Manual Mitigations (bleepingcomputer.com) 14

An anonymous reader shared this report from BleepingComputer: Three security bypasses have been discovered in Ubuntu Linux's unprivileged user namespace restrictions, which could be enable a local attacker to exploit vulnerabilities in kernel components. The issues allow local unprivileged users to create user namespaces with full administrative capabilities and impact Ubuntu versions 23.10, where unprivileged user namespaces restrictions are enabled, and 24.04 which has them active by default...

Ubuntu added AppArmor-based restrictions in version 23.10 and enabled them by default in 24.04 to limit the risk of namespace misuse. Researchers at cloud security and compliance company Qualys found that these restrictions can be bypassed in three different ways... The researchers note that these bypasses are dangerous when combined with kernel-related vulnerabilities, and they are not enough to obtain complete control of the system... Qualys notified the Ubuntu security team of their findings on January 15 and agreed to a coordinated release. However, the busybox bypass was discovered independently by vulnerability researcher Roddux, who published the details on March 21.

Canonical, the organization behind Ubuntu Linux, has acknowledged Qualys' findings and confirmed to BleepingComputer that they are developing improvements to the AppArmor protections. A spokesperson told us that they are not treating these findings as vulnerabilities per se but as limitations of a defense-in-depth mechanism. Hence, protections will be released according to standard release schedules and not as urgent security fixes.

Canonical shared hardening steps that administrators should consider in a bulletin published on their official "Ubuntu Discourse" discussion forum.

New Ubuntu Linux Security Bypasses Require Manual Mitigations

Comments Filter:
  • by simlox ( 6576120 ) on Saturday March 29, 2025 @12:25PM (#65267899)
    Adding extra "security" layers is just stupid: It breaks backwards functionality, and makes it very hard to mae code run on a lot of distros, because each add their security fad. Furthermore, with usernamespace restrictions the IT world have been forced into running containers as root via Docker instead of just running them as applications without privileges in the first place. Trust the Linux kernel's security or at least the ability to quickly fix issues, instead of adding non-compatible layers for each distribution.
    • If unprivileged user namespaces are considered such a clusterfuck that it's considered a security risk for applications being able to bypass access controls for them, then they probably need access controls.

      • Do you have a list of unsolved issues or is it just a hunch based on past issues and rumors? The alternative, running containers as real root (Docker) is far worse.
        • The issue is attack surface and making codepaths formerly only reachable by root reachable by users.

          To quote the Ubuntu developers "In a report from Google, 44% of the exploits they saw required unprivileged user namespaces as part of their exploit chain.".

    • by gweihir ( 88907 )

      Indeed. It is also cheap, because you do not have to think about what you did wrong in the first place. But all it does is add technological debt.

  • by hduff ( 570443 ) <<moc.liamg> <ta> <ffudtyoh>> on Saturday March 29, 2025 @02:48PM (#65268237) Homepage Journal

    Does this compromise ALL Linux?

    • by _merlin ( 160982 )

      No, it's a sandbox escape attack against AppArmor specifically. I haven't looked to see if it affects AppArmor in general or Ubuntu's configuration specifically. SELinux isn't affected.

    • by CommunityMember ( 6662188 ) on Saturday March 29, 2025 @11:46PM (#65269115)

      Does this compromise ALL Linux?

      AppArmor is used with a subset of the various Linux distributions. Ubuntu, and (legacy) OpenSUSE (OpenSUSE is moving to SELinux moving forward) are, perhaps, the most well known distributions using AppArmor.

      There are various advantages of AppArmor vs SELinux (and vice versa). As is usually the case, Linux offers options, and as always, for any specific use case, your options will vary and be more interesting.

      I do wonder if Ubuntu will end up continuing to be the last remaining major enterprise targeted distro using AppArmor rather than SELinux. There is more to life than enterprise targeted distros, but that is where the real money is.

"I may be synthetic, but I'm not stupid" -- the artificial person, from _Aliens_

Working...