data/reports: add GO-2023-1497.yaml

Aliases: CVE-2022-23538, GHSA-7p8m-22h4-9pj7

Fixes golang/vulndb#1497

Change-Id: I9238971a6292d3bdc10bffbef99cb7fc10c5dd40
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/464304
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
diff --git a/data/osv/GO-2023-1497.json b/data/osv/GO-2023-1497.json
new file mode 100644
index 0000000..182272a
--- /dev/null
+++ b/data/osv/GO-2023-1497.json
@@ -0,0 +1,90 @@
+{
+  "id": "GO-2023-1497",
+  "published": "0001-01-01T00:00:00Z",
+  "modified": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2022-23538",
+    "GHSA-7p8m-22h4-9pj7"
+  ],
+  "details": "When the scs-library-client is used to pull a container image, with authentication, the HTTP Authorization header sent by the client to the library service may be incorrectly leaked to an S3 backing storage provider.",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/sylabs/scs-library-client",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            },
+            {
+              "fixed": "1.3.4"
+            }
+          ]
+        }
+      ],
+      "database_specific": {
+        "url": "https://pkg.go.dev/vuln/GO-2023-1497"
+      },
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/sylabs/scs-library-client/client",
+            "symbols": [
+              "Client.ConcurrentDownloadImage",
+              "Client.UploadImage",
+              "Client.httpGetRangeRequest"
+            ]
+          }
+        ]
+      }
+    },
+    {
+      "package": {
+        "name": "github.com/sylabs/scs-library-client",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "1.4.0"
+            },
+            {
+              "fixed": "1.4.2"
+            }
+          ]
+        }
+      ],
+      "database_specific": {
+        "url": "https://pkg.go.dev/vuln/GO-2023-1497"
+      },
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/sylabs/scs-library-client/client",
+            "symbols": [
+              "Client.ConcurrentDownloadImage",
+              "Client.legacyDownloadImage"
+            ]
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "FIX",
+      "url": "https://github.com/sylabs/scs-library-client/commit/68ac4cab5cda0afd8758ff5b5e2e57be6a22fcfa"
+    },
+    {
+      "type": "FIX",
+      "url": "https://github.com/sylabs/scs-library-client/commit/eebd7caaab310b1fa803e55b8fc1acd9dcd2d00c"
+    }
+  ],
+  "schema_version": "1.3.1"
+}
\ No newline at end of file
diff --git a/data/reports/GO-2023-1497.yaml b/data/reports/GO-2023-1497.yaml
new file mode 100644
index 0000000..e33e586
--- /dev/null
+++ b/data/reports/GO-2023-1497.yaml
@@ -0,0 +1,34 @@
+modules:
+  - module: github.com/sylabs/scs-library-client
+    versions:
+      - fixed: 1.3.4
+    vulnerable_at: 1.3.3
+    packages:
+      - package: github.com/sylabs/scs-library-client/client
+        symbols:
+          - Client.httpGetRangeRequest
+        derived_symbols:
+          - Client.ConcurrentDownloadImage
+          - Client.UploadImage
+  - module: github.com/sylabs/scs-library-client
+    versions:
+      - introduced: 1.4.0
+        fixed: 1.4.2
+    vulnerable_at: 1.4.1
+    packages:
+      - package: github.com/sylabs/scs-library-client/client
+        symbols:
+          - Client.legacyDownloadImage
+        derived_symbols:
+          - Client.ConcurrentDownloadImage
+description: |
+    When the scs-library-client is used to pull a container image, with
+    authentication, the HTTP Authorization header sent by the client to the library
+    service may be incorrectly leaked to an S3 backing storage provider.
+cves:
+  - CVE-2022-23538
+ghsas:
+  - GHSA-7p8m-22h4-9pj7
+references:
+  - fix: https://github.com/sylabs/scs-library-client/commit/68ac4cab5cda0afd8758ff5b5e2e57be6a22fcfa
+  - fix: https://github.com/sylabs/scs-library-client/commit/eebd7caaab310b1fa803e55b8fc1acd9dcd2d00c