Link Following Affecting grafana-12.0-oci-compat package, versions <12.0.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-GRAFANA120OCICOMPAT-13331015
  • published6 Oct 2025
  • disclosed11 Jun 2025

Introduced: 11 Jun 2025

CVE-2025-0913  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Minimos:latest grafana-12.0-oci-compat to version 12.0.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grafana-12.0-oci-compat package and not the grafana-12.0-oci-compat package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL flags never follows symlinks. On Windows, when the target path was a symlink to a nonexistent location, OpenFile would create a file in that location. OpenFile now always returns an error when the O_CREATE and O_EXCL flags are both set and the target path is a symlink.

CVSS Base Scores

version 3.1