MEDIUM5.5
GHSA-m25m-5778-fm22
Grafana world readable configuration files
Quick fix
GHSA-m25m-5778-fm22 — github.com/grafana/grafana: upgrade to the fixed version with the command below.
go get github.com/grafana/grafana@v7.2.1Details
In certain Red Hat packages for Grafana 6.x through 6.3.6, the configuration files `/etc/grafana/grafana.ini` and `/etc/grafana/ldap.toml` (which contain a secret_key and a bind_password) are world readable.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/grafana/grafana
Introduced in:
6.0.0-beta1Fixed in: 7.2.1Fix
go get github.com/grafana/grafana@v7.2.1References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12459[ADVISORY]
- https://github.com/grafana/grafana/issues/8283[WEB]
- https://github.com/grafana/grafana/commit/102448040d5132460e3b0013e03ebedec0677e00[WEB]
- https://access.redhat.com/security/cve/CVE-2020-12459[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1827765[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1829724[WEB]
- https://github.com/grafana/grafana[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CTQCKJZZYXMCSHJFZZ3YXEO5NUBANGZS[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEBCIEVSYIDDCA7FTRS2IFUOYLIQU34A[WEB]
- https://security.netapp.com/advisory/ntap-20200518-0004[WEB]
- https://src.fedoraproject.org/rpms/grafana/c/fab93d67363eb0a9678d9faf160cc88237f26277[WEB]