data/reports: add GO-2024-2979

  - data/reports/GO-2024-2979.yaml

Fixes golang/vulndb#2979

Change-Id: I58f0a0973004be2bf7869e8b6f36a70435e170b0
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/597495
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
diff --git a/data/osv/GO-2024-2979.json b/data/osv/GO-2024-2979.json
new file mode 100644
index 0000000..b604833
--- /dev/null
+++ b/data/osv/GO-2024-2979.json
@@ -0,0 +1,94 @@
+{
+  "schema_version": "1.3.1",
+  "id": "GO-2024-2979",
+  "modified": "0001-01-01T00:00:00Z",
+  "published": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2024-39897",
+    "GHSA-55r9-5mx9-qq7r"
+  ],
+  "summary": "Cache driver GetBlob() allows read access to any blob without access control check in zotregistry.dev/zot",
+  "details": "Cache driver GetBlob() allows read access to any blob without access control check in zotregistry.dev/zot.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: zotregistry.dev/zot before v2.1.0.; zotregistry.io/zot before v2.1.0.",
+  "affected": [
+    {
+      "package": {
+        "name": "zotregistry.dev/zot",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {
+        "custom_ranges": [
+          {
+            "type": "ECOSYSTEM",
+            "events": [
+              {
+                "introduced": "0"
+              },
+              {
+                "fixed": "2.1.0"
+              }
+            ]
+          }
+        ]
+      }
+    },
+    {
+      "package": {
+        "name": "zotregistry.io/zot",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {
+        "custom_ranges": [
+          {
+            "type": "ECOSYSTEM",
+            "events": [
+              {
+                "introduced": "0"
+              },
+              {
+                "fixed": "2.1.0"
+              }
+            ]
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "ADVISORY",
+      "url": "https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r"
+    },
+    {
+      "type": "ADVISORY",
+      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39897"
+    },
+    {
+      "type": "WEB",
+      "url": "https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df"
+    }
+  ],
+  "database_specific": {
+    "url": "https://pkg.go.dev/vuln/GO-2024-2979",
+    "review_status": "UNREVIEWED"
+  }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2979.yaml b/data/reports/GO-2024-2979.yaml
new file mode 100644
index 0000000..7ea9e4f
--- /dev/null
+++ b/data/reports/GO-2024-2979.yaml
@@ -0,0 +1,25 @@
+id: GO-2024-2979
+modules:
+    - module: zotregistry.dev/zot
+      non_go_versions:
+        - fixed: 2.1.0
+      vulnerable_at: 1.4.3
+    - module: zotregistry.io/zot
+      non_go_versions:
+        - fixed: 2.1.0
+      vulnerable_at: 1.4.3
+summary: |-
+    Cache driver GetBlob() allows read access to any blob without access control
+    check in zotregistry.dev/zot
+cves:
+    - CVE-2024-39897
+ghsas:
+    - GHSA-55r9-5mx9-qq7r
+references:
+    - advisory: https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r
+    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-39897
+    - web: https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df
+source:
+    id: GHSA-55r9-5mx9-qq7r
+    created: 2024-07-10T14:10:22.351360194Z
+review_status: UNREVIEWED