{
	"document":{
		"aggregate_severity":{
			"namespace":"https://nvd.nist.gov/vuln-metrics/cvss",
			"text":"High"
		},
		"category":"csaf_vex",
		"csaf_version":"2.0",
		"distribution":{
			"tlp":{
				"label":"WHITE",
				"url":"https:/www.first.org/tlp/"
			}
		},
		"lang":"en",
		"notes":[
			{
				"text":"grafana security update",
				"category":"general",
				"title":"Synopsis"
			},
			{
				"text":"An update for grafana is now available for openEuler-20.03-LTS-SP3.",
				"category":"general",
				"title":"Summary"
			},
			{
				"text":"\n\nSecurity Fix(es):\n\nGrafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot \"public_mode\" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot \"public_mode\" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.(CVE-2021-39226)\n\nGrafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. For users who cannot upgrade, running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.(CVE-2021-43813)",
				"category":"general",
				"title":"Description"
			},
			{
				"text":"An update for grafana is now available for openEuler-20.03-LTS-SP3.\n\nopenEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.",
				"category":"general",
				"title":"Topic"
			},
			{
				"text":"High",
				"category":"general",
				"title":"Severity"
			},
			{
				"text":"grafana",
				"category":"general",
				"title":"Affected Component"
			}
		],
		"publisher":{
			"issuing_authority":"openEuler security committee",
			"name":"openEuler",
			"namespace":"https://www.openeuler.org",
			"contact_details":"openeuler-security@openeuler.org",
			"category":"vendor"
		},
		"references":[
			{
				"summary":"openEuler-SA-2022-1929",
				"category":"self",
				"url":"https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1929"
			},
			{
				"summary":"CVE-2021-39226",
				"category":"self",
				"url":"https://www.openeuler.org/en/security/cve/detail?cveId=CVE-2021-39226&packageName=grafana"
			},
			{
				"summary":"CVE-2021-43813",
				"category":"self",
				"url":"https://www.openeuler.org/en/security/cve/detail?cveId=CVE-2021-43813&packageName=grafana"
			},
			{
				"summary":"nvd cve",
				"category":"external",
				"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39226"
			},
			{
				"summary":"nvd cve",
				"category":"external",
				"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43813"
			},
			{
				"summary":"openEuler-SA-2022-1929 vex file",
				"category":"self",
				"url":"https://repo.openeuler.org/security/data/csaf/advisories/2022/csaf-openeuler-sa-2022-1929.json"
			}
		],
		"title":"An update for grafana is now available for openEuler-20.03-LTS-SP3",
		"tracking":{
			"initial_release_date":"2022-09-23T09:45:09+08:00",
			"revision_history":[
				{
					"date":"2022-09-23T09:45:09+08:00",
					"summary":"Initial",
					"number":"1.0.0"
				},
				{
					"date":"2024-10-31T09:45:09+08:00",
					"summary":"final",
					"number":"2.0.0"
				}
			],
			"generator":{
				"date":"2024-10-31T09:45:09+08:00",
				"engine":{
					"name":"openEuler CSAF Tool V1.0"
				}
			},
			"current_release_date":"2024-10-31T09:45:09+08:00",
			"id":"openEuler-SA-2022-1929",
			"version":"2.0.0",
			"status":"final"
		}
	},
	"product_tree":{
		"branches":[
			{
				"name":"openEuler",
				"category":"vendor",
				"branches":[
					{
						"name":"openEuler",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"openEuler-20.03-LTS-SP3",
									"name":"openEuler-20.03-LTS-SP3"
								},
								"name":"openEuler-20.03-LTS-SP3",
								"category":"product_version"
							}
						],
						"category":"product_name"
					},
					{
						"name":"aarch64",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm(20.03-LTS-SP3)",
									"name":"grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm"
								},
								"name":"grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"grafana-7.5.15-3.oe1.aarch64.rpm(20.03-LTS-SP3)",
									"name":"grafana-7.5.15-3.oe1.aarch64.rpm"
								},
								"name":"grafana-7.5.15-3.oe1.aarch64.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"src",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"grafana-7.5.15-3.oe1.src.rpm(20.03-LTS-SP3)",
									"name":"grafana-7.5.15-3.oe1.src.rpm"
								},
								"name":"grafana-7.5.15-3.oe1.src.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					},
					{
						"name":"x86_64",
						"branches":[
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm(20.03-LTS-SP3)",
									"name":"grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm"
								},
								"name":"grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm",
								"category":"product_version"
							},
							{
								"product":{
									"product_identification_helper":{
										"cpe":"cpe:/a:openEuler:openEuler:20.03-LTS-SP3"
									},
									"product_id":"grafana-7.5.15-3.oe1.x86_64.rpm(20.03-LTS-SP3)",
									"name":"grafana-7.5.15-3.oe1.x86_64.rpm"
								},
								"name":"grafana-7.5.15-3.oe1.x86_64.rpm",
								"category":"product_version"
							}
						],
						"category":"architecture"
					}
				]
			}
		],
		"relationships":[
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"grafana-debuginfo-7.5.15-3.oe1.aarch64.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
					"name":"grafana-debuginfo-7.5.15-3.oe1.aarch64 as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"grafana-7.5.15-3.oe1.aarch64.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
					"name":"grafana-7.5.15-3.oe1.aarch64 as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"grafana-7.5.15-3.oe1.src.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
					"name":"grafana-7.5.15-3.oe1.src as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"grafana-debuginfo-7.5.15-3.oe1.x86_64.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
					"name":"grafana-debuginfo-7.5.15-3.oe1.x86_64 as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			},
			{
				"relates_to_product_reference":"openEuler-20.03-LTS-SP3",
				"product_reference":"grafana-7.5.15-3.oe1.x86_64.rpm(20.03-LTS-SP3)",
				"full_product_name":{
					"product_id":"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64",
					"name":"grafana-7.5.15-3.oe1.x86_64 as a component of openEuler-20.03-LTS-SP3"
				},
				"category":"default_component_of"
			}
		]
	},
	"vulnerabilities":[
		{
			"cve":"CVE-2021-39226",
			"notes":[
				{
					"text":"Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot  public_mode  configuration setting is set to True (vs default of False), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot  public_mode  setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.",
					"category":"description",
					"title":"Vulnerability Description"
				}
			],
			"product_status":{
				"fixed":[
					"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
					"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
				]
			},
			"remediations":[
				{
					"product_ids":[
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
					],
					"details":"grafana security update",
					"category":"vendor_fix",
					"url":"https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1929"
				}
			],
			"scores":[
				{
					"cvss_v3":{
						"baseSeverity":"HIGH",
						"baseScore":7.3,
						"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
						"version":"3.1"
					},
					"products":[
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
					]
				}
			],
			"threats":[
				{
					"details":"High",
					"category":"impact"
				}
			],
			"title":"CVE-2021-39226"
		},
		{
			"cve":"CVE-2021-43813",
			"notes":[
				{
					"text":"Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. For users who cannot upgrade, running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.",
					"category":"description",
					"title":"Vulnerability Description"
				}
			],
			"product_status":{
				"fixed":[
					"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
					"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
					"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
				]
			},
			"remediations":[
				{
					"product_ids":[
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
					],
					"details":"grafana security update",
					"category":"vendor_fix",
					"url":"https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1929"
				}
			],
			"scores":[
				{
					"cvss_v3":{
						"baseSeverity":"MEDIUM",
						"baseScore":4.3,
						"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
						"version":"3.1"
					},
					"products":[
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.aarch64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.src",
						"openEuler-20.03-LTS-SP3:grafana-debuginfo-7.5.15-3.oe1.x86_64",
						"openEuler-20.03-LTS-SP3:grafana-7.5.15-3.oe1.x86_64"
					]
				}
			],
			"threats":[
				{
					"details":"Medium",
					"category":"impact"
				}
			],
			"title":"CVE-2021-43813"
		}
	]
}