CVE-2020-13379 is a high-severity (CVSS 8.2) Server-Side Request Forgery (SSRF) vulnerability in github.com/grafana/grafana. 5 public exploit references exist, so weaponization risk is real. A fix is available for github.com/grafana/grafana — see the affected versions and patch details below.
Server Side Request Forgery in Grafana
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-13379 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/grafana/grafana🐹github.com/grafana/grafanaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. This vulnerability allows any unauthenticated user/client to make Grafana send HTTP requests to any URL and return its result to the user/client. This can be used to gain information about the network that Grafana is running on. Furthermore, passing invalid URL objects could be used for DOS'ing Grafana via SegFault.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/grafana/grafana | ≥ 3.0.1&&< 6.7.4 | 6.7.4go get github.com/grafana/grafana@v6.7.4 |
| 🐹Go | github.com/grafana/grafana | ≥ 7.0.0&&< 7.0.2 | 7.0.2go get github.com/grafana/grafana@v7.0.2 |
Affected Products
fedorafedoraprojectgrafanagrafanae-series performance analyzernetappbackports sleopensuseleapopensuseResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Grafana 7.0.1 - Denial of Service (PoC)
by mostwanted002 · Jul 6, 2020
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/grafana/grafana, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/grafana/grafana to 6.7.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13379 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
How to detect CVE-2020-13379
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2020-13379 -u https://target- Template
- Grafana 3.0.1-7.0.1 - Server-Side Request Forgery
- Severity
- high
- Impact
- An attacker can exploit this vulnerability to bypass security controls, access internal resources, and potentially perform further attacks.
- Remediation
- Upgrade to 6.3.4 or higher.
Template by ProjectDiscovery nuclei-templates (Joshua Rogers), MIT licensed. View the full template. Scan only systems you are authorised to test.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the Grafana containers are behind OpenShift OAuth restricting access to the vulnerable path to authenticated users only. However, other pods may still access the vulnerable URL within the cluster. Therefore the impact is moderate for both…
This issue can be mitigated by blocking access to the URL path /avatar/*, through a method such as a reverse proxy, load balancer, application firewall etc.Source: Red Hat security advisory for CVE-2020-13379 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| OpenShift Service Mesh 1.0 | servicemesh-grafana-0:6.2.2-38.el8 | RHSA-2020:2861 |
| OpenShift Service Mesh 1.1 | servicemesh-grafana-0:6.4.3-11.el8 | RHSA-2020:2796 |
| Red Hat Ceph Storage 3 - ELS | ceph-2:12.2.12-139.el7cp | RHSA-2021:1518 |
| Red Hat Ceph Storage 4.2 | rhceph/rhceph-4-dashboard-rhel8:4-22 | RHSA-2021:0083 |
| Red Hat Enterprise Linux 8 | grafana-0:6.3.6-2.el8_2 | RHSA-2020:2641 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | grafana-0:6.2.2-6.el8_1 | RHSA-2020:2676 |
| Red Hat Gluster Storage 3.5 for RHEL 7 | grafana-0:5.2.4-3.el7rhgs | RHSA-2020:5599 |
| Red Hat OpenShift Container Platform 4.4 | openshift4/ose-grafana:v4.4.0-202006290400.p0 | RHSA-2020:2792 |
Frequently Asked Questions
Is CVE-2020-13379 in your dependencies?
Find it across Go, including transitive dependencies.