Description
The _UpgradeBeforeConfigurationChange function in lib/client/gnt_cluster.py in Ganeti 2.10.0 before 2.10.7 and 2.11.0 before 2.11.5 uses world-readable permissions for the configuration backup file, which allows local users to obtain SSL keys, remote API credentials, and other sensitive information by reading the file, related to the upgrade command.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | ganeti | 2.11.5-1 | — |
| Debian 12 | ganeti | 2.11.5-1 | — |
References
- http://git.ganeti.org/?p=ganeti.git%3Ba=commit%3Bh=a89f62e2db9ccf715d64d1a6322474b54d2d9ae0
- ganeti-gntcluster-info-disc(95256) vdb-entry
- http://packetstormsecurity.com/files/127851/Ganeti-Insecure-Archive-Permission.html
- 20140812 [oCERT-2014-006] Ganeti insecure archive permission mailing-list
- 69186 vdb-entry
- [oss-security] 20140814 Re: [oCERT-2014-006] Ganeti insecure archive permission mailing-list
- http://www.ocert.org/advisories/ocert-2014-006.html