From 9842529f66d4e775808ef83dc617208ef9037ea3 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Mon, 31 Jul 2023 13:20:28 -0700 Subject: [PATCH] data/reports: add GO-2023-1941.yaml Aliases: CVE-2023-37788, GHSA-4r8x-2p26-976p Fixes golang/vulndb#1941 Change-Id: If23de6db60a6e1cc959b3e1c124466b02836acaf Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/514595 Reviewed-by: Tatiana Bradley Run-TryBot: Damien Neil TryBot-Result: Gopher Robot --- data/osv/GO-2023-1941.json | 57 ++++++++++++++++++++++++++++++++++ data/reports/GO-2023-1941.yaml | 21 +++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 data/osv/GO-2023-1941.json create mode 100644 data/reports/GO-2023-1941.yaml diff --git a/data/osv/GO-2023-1941.json b/data/osv/GO-2023-1941.json new file mode 100644 index 00000000..caade70e --- /dev/null +++ b/data/osv/GO-2023-1941.json @@ -0,0 +1,57 @@ +{ + "schema_version": "1.3.1", + "id": "GO-2023-1941", + "modified": "0001-01-01T00:00:00Z", + "published": "0001-01-01T00:00:00Z", + "aliases": [ + "CVE-2023-37788", + "GHSA-4r8x-2p26-976p" + ], + "summary": "Panic when handling invalid request in MITM mode in github.com/elazarl/goproxy", + "details": "An invalid request can cause a panic when running in MITM mode.", + "affected": [ + { + "package": { + "name": "github.com/elazarl/goproxy", + "ecosystem": "Go" + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.0.0-20230731152917-f99041a5c027" + } + ] + } + ], + "ecosystem_specific": { + "imports": [ + { + "path": "github.com/elazarl/goproxy", + "symbols": [ + "ProxyHttpServer.ServeHTTP", + "ProxyHttpServer.handleHttps" + ] + } + ] + } + } + ], + "references": [ + { + "type": "REPORT", + "url": "https://github.com/elazarl/goproxy/issues/502" + }, + { + "type": "FIX", + "url": "https://github.com/elazarl/goproxy/pull/507" + } + ], + "database_specific": { + "url": "https://pkg.go.dev/vuln/GO-2023-1941" + } +} \ No newline at end of file diff --git a/data/reports/GO-2023-1941.yaml b/data/reports/GO-2023-1941.yaml new file mode 100644 index 00000000..fa4837d5 --- /dev/null +++ b/data/reports/GO-2023-1941.yaml @@ -0,0 +1,21 @@ +id: GO-2023-1941 +modules: + - module: github.com/elazarl/goproxy + versions: + - fixed: 0.0.0-20230731152917-f99041a5c027 + vulnerable_at: 0.0.0-20221015165544-a0805db90819 + packages: + - package: github.com/elazarl/goproxy + symbols: + - ProxyHttpServer.handleHttps + derived_symbols: + - ProxyHttpServer.ServeHTTP +summary: Panic when handling invalid request in MITM mode in github.com/elazarl/goproxy +description: An invalid request can cause a panic when running in MITM mode. +cves: + - CVE-2023-37788 +ghsas: + - GHSA-4r8x-2p26-976p +references: + - report: https://github.com/elazarl/goproxy/issues/502 + - fix: https://github.com/elazarl/goproxy/pull/507