Docker Hub security dissed, dodgy container image data damned

Kromtech finds malicious code hiding in enterprise upstart's repositories of software

At DockerCon in San Francisco on Wednesday, CEO Steve Singh highlighted security as one of Docker's core principles.

Only a day earlier, Germany-based security software development shop Kromtech suggested security wasn't a priority for the code containerizer.

Over the past twelve months, Kromtech explained in a blog post, Docker Hub, the container maker's community image repository, hosted at least 17 malicious Docker images that were downloaded at least five million times.

These compromised container blueprints have been dealt with, but Kromtech sees Docker's decision to discontinue the free preview of Docker Security Scanning – a service the container biz provided for Docker Official Images on Docker Hub and for paid private repositories in Docker Cloud – as a sign of its disinterest in security.

"It seems that the Docker ecosystem is becoming more enterprise oriented and the responsibility for safe migration and further secure maintenance falls on ordinary developers," the software biz said.

“As with public repositories like GitHub, Docker Hub is there for the service of the community,” said David Lawrence, head of security at Docker, in a statement emailed to The Register.

“When dealing with open public repositories and open source code, we recommend that you follow a few best practices including: know the content author, scan images before running and use curated official images in Docker Hub and certified content in Docker Store whenever possible.”

Secure, if you pay...

Kromtech's assertion may not be entirely fair since Docker Security Scanning will still be available as a paid service for private repository subscribers. There's Docker Store for vetted images. And Docker says it aims to make scans available for public repositories and for teams and organizations, eventually.

But in appearing to prioritize payment over the security of its ecosystem, Docker risks being compared unfavorably to organizations like npm, which have stepped up security efforts in response to repeated problems with hosted JavaScript packages.

Container-related security woes aren't exclusive to Docker. Similar attacks have been documented on Kubernetes instances too. The most common goal has tended to be exploiting cloud-based code for crypto-mining.

Docker CEO Steve Singh

Docker seeks Golden State burnish for cloud container expansion


Docker has been dogged by security concerns for most of its short existence. A research paper on the subject published last year found 180 vulnerabilities among 356,218 Docker Hub images and argued for adoption of more automated security update mechanisms.

At the same time, those close to the company have argued that vulnerability counts exaggerate the extent of the risk. Back in 2015, Jérôme Petazzoni, then a Docker engineer, explained that a significant fraction of vulnerable Docker Hub images were vulnerable by design.

The reason? Build repeatability. Images with outdated and unsafe versions of Linux or Windows may be retained to ensure containerized applications built with that OS version can be reproduced; such apps might not run on an updated OS.

"For ordinary users, just pulling a Docker image from the DockerHub is like pulling arbitrary binary data from somewhere, executing it, and hoping for the best without really knowing what’s in it," Kromtech contends.

It might also be argued that pretty much any software download involves hoping for the best, because code signing may not be reliable, automated malware scans in app stores don't catch everything, and platform providers may let developers pilfer private data undetected for years. ®

Similar topics

Other stories you might like

  • Ubuntu 21.10: Plan to do yourself an Indri? Here's what's inside... including a bit of GNOME schooling

    Plus: Rounded corners make GNOME 40 look like Windows 11

    Review Canonical has released Ubuntu 21.10, or "Impish Indri" as this one is known. This is the last major version before next year's long-term support release of Ubuntu 22.04, and serves as a good preview of some of the changes coming for those who stick with LTS releases.

    If you prefer to run the latest and greatest, 21.10 is a solid release with a new kernel, a major GNOME update, and some theming changes. As a short-term support release, Ubuntu 21.10 will be supported for nine months, which covers you until July 2022, by which point 22.04 will already be out.

    Continue reading
  • Heart FM's borkfast show – a fine way to start your day

    Jamie and Amanda have a new co-presenter to contend with

    There can be few things worse than Microsoft Windows elbowing itself into a presenting partnership, as seen in this digital signage for the Heart breakfast show.

    For those unfamiliar with the station, Heart is a UK national broadcaster with Global as its parent. It currently consists of a dozen or so regional stations with a number of shows broadcast nationally. Including a perky breakfast show featuring former Live and Kicking presenter Jamie Theakston and Britain's Got Talent judge, Amanda Holden.

    Continue reading
  • Think your phone is snooping on you? Hold my beer, says basic physics

    Information wants to be free, and it's making its escape

    Opinion Forget the Singularity. That modern myth where AI learns to improve itself in an exponential feedback loop towards evil godhood ain't gonna happen. Spacetime itself sets hard limits on how fast information can be gathered and processed, no matter how clever you are.

    What we should expect in its place is the robot panopticon, a relatively dumb system with near-divine powers of perception. That's something the same laws of physics that prevent the Godbot practically guarantee. The latest foreshadowing of mankind's fate? The Ethernet cable.

    By itself, last week's story of a researcher picking up and decoding the unintended wireless emissions of an Ethernet cable is mildly interesting. It was the most labby of lab-based demos, with every possible tweak applied to maximise the chances of it working. It's not even as if it's a new discovery. The effect and its security implications have been known since the Second World War, when Bell Labs demonstrated to the US Army that a wired teleprinter encoder called SIGTOT was vulnerable. It could be monitored at a distance and the unencrypted messages extracted by the radio pulses it gave off in operation.

    Continue reading

Biting the hand that feeds IT © 1998–2021