GHSA-w42p-3wwv-553c
Malicious code in Dendreo (RubyGems)
Auswirkung
Dendreo 1.1.3 and 1.1.4 were published on 2026-07-18 from the gem's long-dormant maintainer account (previous release 1.1.2, 2020-10-24) and add the malicious git_credential_manager gem as a dependency (SleeperGem campaign). The loader exits if any of about 30 CI environment variables is set; otherwise it downloads a second stage from https://git.disroot.org/git-ecosystem/ (an account on a public Forgejo instance) with TLS verification disabled and runs it. The second stage installs a daemon at $HOME/.local/share/gcm/git-credential-manager with systemd user service and cron persistence, probes sudo/wheel membership, and when run as root drops a setuid-root shell at /usr/local/sbin/ping6. Reported by Aikido Security and analyzed by StepSecurity. Only 1.1.3 and 1.1.4 are affected; both were yanked, and 1.1.2 and earlier are the legitimate releases. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6d136a822423375726bfd63d1fd290d2b4c94aa9/osv/malicious/rubygems/dendreo/MAL-2026-20684.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | Dendreo | = 1.1.3 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-w42p-3wwv-553c
- https://aikido.dev/blog/sleepergem-rubygems-supply-chain-attack
- https://github.com/ossf/malicious-packages/blob/6d136a822423375726bfd63d1fd290d2b4c94aa9/osv/malicious/rubygems/dendreo/MAL-2026-20684.json
- https://www.stepsecurity.io/blog/sleepergem-compromised-rubygems-drop-persistent-backdoor