Some Docker containers may not be as secure as they like, experts warn

  • Three runC flaws could allow container escape and host access with admin privileges
  • Bugs affect Docker/Kubernetes setups using custom mounts and older runC versions
  • Mitigation includes user namespaces and rootless containers to limit exploit impact

The runC container runtime, used in both Docker and Kubernetes, carried three high-severity vulnerabilities that could be used to access the underlying system, security researchers have warned.

Security researcher Aleksa Sarai disclosed discovering CVE-2025-31133, CVE-2025-52565, and CVE-2025-52881, three bugs that, when chained together, granted access to the underlying container host with admin privileges.

runC is a lightweight, low-level container runtime used to create and run containers on Linux systems – making it basically the component that starts and manages containers on a machine.

No evidence of abuse

CVE-2025-31133, with a severity score of 7.3/10 (high), stemmed from the fact that runc wouldn’t perform sufficient verifications, leading to information disclosure, denial of service, and even container escape.

CVE-2025-52565, another insufficient checks flaw, also leads to denial of service. This bug was given a 8.4/10 score, while the final, CVE-2025-52881, was described as a race condition in runc, allowing an attacker to redirect /proc writes via shared mounts. This one was given a score of 7.3/10 (high).

To abuse the flaws, the attackers would first need to be able to start containers with custom mount configurations, researchers from Sysdig noted, stressing that, in theory, it could be achieved through malicious container images or Dockerfiles.

All three bugs are affecting versions 1.2.7, 1.3.2 and 1.4.0-rc.2, and were fixed in versions 1.2.8, 1.3.3, and 1.4.0-rc.3.

Fortunately, there are currently no reports of any of the three bugs being actively abused in the wild, and runC developers have been sharing mitigation actions, including activating user namespaces for all containers without mapping the host root user into the container’s namespace.

“This precaution should block the most important parts of the attack because of the Unix DAC permissions that would prevent namespaced users from accessing relevant files,” it reported, adding that using rootless containers is also recommended, since this reduces the potential damage from exploiting the flaws.

Via BleepingComputer

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

ChatGPT’s upgraded voice mode is better at shutting up

OpenAI is overhauling ChatGPT's voice mode with a new model that it says is more like "talking to another person." The new GPT-Live-1 is...

Twelve South’s AirFly Pro is a great travel companion, and it’s on sale for $40

Twelve South’s AirFly Pro is just $5 more than the SE model. | Image: Twelve South If you’ve got a summer trip coming up, the...

If Microsoft sold off Xbox, who would even buy it?

This week, Microsoft took a huge ax to its Xbox business. The company announced that it would be laying off 1,600 workers now, 1,600...

Cockroaches will learn to fear my SwitchBot Bot Rechargeable

A little robotic switch-flipper has become my sidekick in combating cockroaches. Before I got the SwitchBot Bot Rechargeable, I'd tiptoe through the dark every...

America’s cheapest new EV is smaller than a ping-pong table and tops out at 19mph

When searching for an affordable electric vehicle these days, there are always tradeoffs. How much range are you willing to sacrifice, how much leg...

Microsoft’s Xbox reset is pivoting Obsidian to make Fallout instead of Avowed

As part of Microsoft's big Xbox "reset," which includes layoffs affecting 3,200 staffers, jettisoning studios, and shifting investments to focus on "higher priority projects,"...

Get a $30 credit when you reserve Samsung’s upcoming Galaxy phones

Even though they haven’t been officially announced yet, Samsung is giving you a chance to save some cash when you preorder what we’re expecting...

Google is changing how it judges AI models for Android coding, updates list with Fable 5

Google is changing how it tests AI models for Android coding following new rankings led by Fable 5. Read more @ 9to5google

Google Photos widely rolling floating bottom bar on Android

Google Photos is finally rolling out a floating bottom bar redesign on Android that updates how you navigate the app. Read more @ 9to5google

Google Photos rolling out ‘Video Remix’ powered by Gemini Omni

Google Photos is using Gemini’s “create anything from any input” model to offer a new Video Remix capability for fast and stylized editing. Read more...