-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kdevtmpfsi malware miner found in 12-Alpine docker #817
Comments
This is an unfortunate consequence of having a public-facing instance with a compromised (or simple) password. See also: |
I have postgres behing traefik and on internal docker network only, Its not public facing and the password is strong (UID based). I was using postgres:latest image and there is no problem like this, as soon as I downloaded 12.alpine today, i see this happening. Not sure what or how this attack got initiated, but as soon as i deleted all present instance of kdevtmpfsi running on machine (only source found was from docker images temp folders) and then removed 12-alpine it is back to normal. This is more of a FYI for postgres team incase their image is compromised. I will close the issue if team is sure its a mistake on my part, I will deep dive to root cause it later, Cheers |
Can you share your container runtime parameters? The image itself definitely doesn't have $ docker pull postgres:12-alpine
12-alpine: Pulling from library/postgres
ba3557a56b15: Already exists
0dae7ecc9e7b: Pull complete
e47d778d7c5a: Pull complete
eaa7d72c898f: Pull complete
915125e90fa6: Pull complete
d7790599cf66: Pull complete
2243c254efcb: Pull complete
27471ff83dbb: Pull complete
Digest: sha256:af41889f0fa073328856551f1dc1df68b5a5b9540ddc4ab2b892c32843882028
Status: Downloaded newer image for postgres:12-alpine
docker.io/library/postgres:12-alpine
$ docker run -it --rm postgres:12-alpine sh
/ # find / -name kdevtmpfsi
/ # |
Going to close since this seems resolved and is a duplicate of the other |
Hi Postgres team
I had a few hours back taken the 12-Alpine docker image of postgres and in 30 mins kdevtmpfsi was running in my system.
I traced it back to this container. On stopping this container, the miner also stopped. I have decent security and everything was stable until I installed this package. I am pretty sure this package is compromised. Please check. FYI
Thanks for the open source software and support, You guys are awesome :)
Cheers
The text was updated successfully, but these errors were encountered: