Security Market Segment LS
Sunday, 28 April 2019 15:43

Official site for Docker container images breached

Official site for Docker container images breached Image by Mudassar Iqbal from Pixabay

The credentials of some 190,000 account holders at Docker Hub, the official repository for Docker container images, have been exposed due to "a brief moment of unauthorised access", the site says.

Kent Lamb, the director of support for Docker Hub, said in a statement the unauthorised access had been noticed on 25 April.

A single Docker Hub database, which was used to store non-financial data, was discovered to have been breached and it had now been secured, he added.

Among the data that could have been stolen were usernames and hashed passwords for a small percentage of the 190,000 users, as well as GitHub and BitBucket tokens for Docker autobuilds, Lamb said.

He added that all these tokens had been revoked.

Docker Hub is used for building images that are then deployed elsewhere. An attacker who gains access could theoretically modify an image to contain any code of his/her choice.

Any user whose account was known to have been affected would be notified by email, Lamb said. "We have sent a password reset link to each user whose password hash may have been impacted."

He said anyone who received such a link would have had their password hash potentially exposed.

"We have invalidated it and sent you a password reset link as a precaution. If you are using autobuilds and your GitHub or BitBucket repositories have been unlinked from Docker Hub, you will need to relink those repositories for autobuilds to work correctly," Lamb said.

Lavi Lazarovitz, Security Research Team Lead at privileged account security firm CyberArk, said the breach could lead to a classic supply chain attack made possible, seemingly, by compromise of privileged tokens.

"The autobuild functionality is used to integrate the code repository with Docker Hub so every change to the code will trigger a build of a new image for developers and DevOps engineers to use," he told iTWire.

"The tokens are used for authentication and usually allow only limited read access to the code and its metadata, thus changing code won’t be possible in most cases – exposure of private repositories will be possible.

"So why worry? Because when write access is granted to the access token, the publicly available image that relies on the compromised code repository might be backdoored or infected and so potentially affect apps and services that rely on the compromised image."

As an example, Lazarovitz said a developer might choose to download a Web server image that had been backdoored and so expose its own server.

"Multiply that by the number of developers using this service and it’s easy to see how large the potential attack surface could be," he added.


26-27 February 2020 | Hilton Brisbane

Connecting the region’s leading data analytics professionals to drive and inspire your future strategy

Leading the data analytics division has never been easy, but now the challenge is on to remain ahead of the competition and reap the massive rewards as a strategic executive.

Do you want to leverage data governance as an enabler?Are you working at driving AI/ML implementation?

Want to stay abreast of data privacy and AI ethics requirements? Are you working hard to push predictive analytics to the limits?

With so much to keep on top of in such a rapidly changing technology space, collaboration is key to success. You don't need to struggle alone, network and share your struggles as well as your tips for success at CDAO Brisbane.

Discover how your peers have tackled the very same issues you face daily. Network with over 140 of your peers and hear from the leading professionals in your industry. Leverage this community of data and analytics enthusiasts to advance your strategy to the next level.

Download the Agenda to find out more


Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.



Recent Comments