VDB
KO

GO-2023-1941

Panic when handling invalid request in MITM mode in github.com/elazarl/goproxy

Quick fix

GO-2023-1941 — github.com/elazarl/goproxy: upgrade to the fixed version with the command below.

go get github.com/elazarl/goproxy@v0.0.0-20230731152917-f99041a5c027

Details

An invalid request can cause a panic when running in MITM mode.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/elazarl/goproxy
Introduced in: 0 Fixed in: 0.0.0-20230731152917-f99041a5c027
Fix go get github.com/elazarl/goproxy@v0.0.0-20230731152917-f99041a5c027

References