blob: d566018c24f2aab3e28ba7e0a7ae8738631e8b4b [file] [log] [blame]
[{"id":"GO-2021-0067","published":"2021-04-14T20:04:52Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-27919"],"details":"Using Reader.Open on an archive containing a file with a path prefixed by \"../\" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.16.0"},{"fixed":"1.16.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0067"},"ecosystem_specific":{"imports":[{"path":"archive/zip","symbols":["toValidName"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/300489"},{"type":"FIX","url":"https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8"},{"type":"REPORT","url":"https://go.dev/issue/44916"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ"}]},{"id":"GO-2021-0069","published":"2021-04-14T20:04:52Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-28362"],"details":"A number of math/big.Int methods can panic when provided large inputs due to a flawed division method.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.14.0"},{"fixed":"1.14.12"},{"introduced":"1.15.0"},{"fixed":"1.15.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0069"},"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["nat.divRecursiveStep"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/269657"},{"type":"FIX","url":"https://go.googlesource.com/go/+/1e1fa5903b760c6714ba17e50bf850b01f49135c"},{"type":"REPORT","url":"https://go.dev/issue/42552"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM/m/fLguyiM2CAAJ"}]},{"id":"GO-2021-0142","published":"2022-07-01T20:11:09Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-16845","GHSA-q6gq-997w-f55g"],"details":"ReadUvarint and ReadVarint can read an unlimited number of bytes from invalid inputs.\n\nCertain invalid inputs to ReadUvarint or ReadVarint can cause these functions to read an unlimited number of bytes from the ByteReader parameter before returning an error. This can lead to processing more input than expected when the caller is reading directly from a network and depends on ReadUvarint or ReadVarint only consuming a small, bounded number of bytes, even from invalid inputs.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.15"},{"introduced":"1.14.0"},{"fixed":"1.14.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0142"},"ecosystem_specific":{"imports":[{"path":"encoding/binary","symbols":["ReadUvarint","ReadVarint"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/247120"},{"type":"FIX","url":"https://go.googlesource.com/go/+/027d7241ce050d197e7fabea3d541ffbe3487258"},{"type":"REPORT","url":"https://go.dev/issue/40618"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/NyPIaucMgXo"}],"credits":[{"name":"Diederik Loerakker, Jonny Rhea, Raúl Kripalani, and Preston Van Loon"}]},{"id":"GO-2021-0154","published":"2022-05-25T21:11:41Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2014-7189"],"details":"When SessionTicketsDisabled is enabled, crypto/tls allowed man-in-the-middle attackers to spoof clients via unspecified vectors.\n\nIf the server enables TLS client authentication using certificates (this is rare) and explicitly sets SessionTicketsDisabled to true in the tls.Config, then a malicious client can falsely assert ownership of any client certificate it wishes.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.3.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0154"},"ecosystem_specific":{"imports":[{"path":"crypto/tls","symbols":["checkForResumption","decryptTicket"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/148080043"},{"type":"FIX","url":"https://go.googlesource.com/go/+/commit/64df53ed7f"},{"type":"REPORT","url":"https://go.dev/issue/53085"},{"type":"WEB","url":"https://groups.google.com/g/golang-nuts/c/eeOHNw_shwU/m/OHALUmroA5kJ"}],"credits":[{"name":"Go Team"}]},{"id":"GO-2021-0159","published":"2022-01-05T21:39:14Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2015-5739","CVE-2015-5740","CVE-2015-5741"],"details":"HTTP headers were not properly parsed, which allows remote attackers to conduct HTTP request smuggling attacks via a request that contains Content-Length and Transfer-Encoding header fields.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0159"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["CanonicalMIMEHeaderKey","body.readLocked","canonicalMIMEHeaderKey","chunkWriter.writeHeader","fixLength","fixTransferEncoding","readTransfer","transferWriter.shouldSendContentLength","validHeaderFieldByte"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/13148"},{"type":"FIX","url":"https://go.googlesource.com/go/+/26049f6f9171d1190f3bbe05ec304845cfe6399f"},{"type":"FIX","url":"https://go.dev/cl/11772"},{"type":"FIX","url":"https://go.dev/cl/11810"},{"type":"FIX","url":"https://go.dev/cl/12865"},{"type":"FIX","url":"https://go.googlesource.com/go/+/117ddcb83d7f42d6aa72241240af99ded81118e9"},{"type":"FIX","url":"https://go.googlesource.com/go/+/300d9a21583e7cf0149a778a0611e76ff7c6680f"},{"type":"FIX","url":"https://go.googlesource.com/go/+/c2db5f4ccc61ba7df96a747e268a277b802cbb87"},{"type":"REPORT","url":"https://go.dev/issue/12027"},{"type":"REPORT","url":"https://go.dev/issue/11930"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/iSIyW4lM4hY/m/ADuQR4DiDwAJ"}],"credits":[{"name":"Jed Denlea and Régis Leroy"}]},{"id":"GO-2021-0160","published":"2022-01-05T15:31:16Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2015-8618"],"details":"Int.Exp Montgomery mishandled carry propagation and produced an incorrect output, which makes it easier for attackers to obtain private RSA keys via unspecified vectors.\n\nThis issue can affect RSA computations in crypto/rsa, which is used by crypto/tls. TLS servers on 32-bit systems could plausibly leak their RSA private key due to this issue. Other protocol implementations that create many RSA signatures could also be impacted in the same way.\n\nSpecifically, incorrect results in one part of the RSA Chinese Remainder computation can cause the result to be incorrect in such a way that it leaks one of the primes. While RSA blinding should prevent an attacker from crafting specific inputs that trigger the bug, on 32-bit systems the bug can be expected to occur at random around one in 2^26 times. Thus collecting around 64 million signatures (of known data) from an affected server should be enough to extract the private key used.\n\nNote that on 64-bit systems, the frequency of the bug is so low (less than one in 2^50) that it would be very difficult to exploit.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.5.0"},{"fixed":"1.5.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0160"},"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["nat.expNNMontgomery","nat.montgomery"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/18491"},{"type":"FIX","url":"https://go.googlesource.com/go/+/1e066cad1ba23f4064545355b8737e4762dd6838"},{"type":"FIX","url":"https://go.googlesource.com/go/+/4306352182bf94f86f0cfc6a8b0ed461cbf1d82c"},{"type":"FIX","url":"https://go.dev/cl/17672"},{"type":"REPORT","url":"https://go.dev/issue/13515"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/MEATuOi_ei4"}],"credits":[{"name":"Nick Craig-Wood"}]},{"id":"GO-2021-0163","published":"2022-01-05T22:41:50Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2016-3958"],"details":"Untrusted search path vulnerability on Windows related to LoadLibrary allows local users to gain privileges via a malicious DLL in the current working directory.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.4"},{"introduced":"1.6.0"},{"fixed":"1.6.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0163"},"ecosystem_specific":{"imports":[{"path":"syscall","symbols":["LoadLibrary"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/21428"},{"type":"FIX","url":"https://go.googlesource.com/go/+/6a0bb87bd0bf0fdf8ddbd35f77a75ebd412f61b0"},{"type":"REPORT","url":"https://go.dev/issue/14959"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/9eqIHqaWvck"}]},{"id":"GO-2021-0172","published":"2022-02-15T23:56:14Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2017-1000098"],"details":"When parsing large multipart/form-data, an attacker can cause a HTTP server to open a large number of file descriptors. This may be used as a denial-of-service vector.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.4"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0172"},"ecosystem_specific":{"imports":[{"path":"mime/multipart","symbols":["Reader.readForm"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/30410"},{"type":"FIX","url":"https://go.googlesource.com/go/+/7478ea5dba7ed02ddffd91c1d17ec8141f7cf184"},{"type":"REPORT","url":"https://go.dev/issue/16296"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ"}],"credits":[{"name":"Simon Rawet"}]},{"id":"GO-2021-0178","published":"2022-01-07T20:35:00Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2017-15042"],"details":"SMTP clients using net/smtp can use the PLAIN authentication scheme on network connections not secured with TLS, exposing passwords to man-in-the-middle SMTP servers.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.8.4"},{"introduced":"1.9.0"},{"fixed":"1.9.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0178"},"ecosystem_specific":{"imports":[{"path":"net/smtp","symbols":["plainAuth.Start"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/68170"},{"type":"FIX","url":"https://go.googlesource.com/go/+/ec3b6131de8f9c9c25283260c95c616c74f6d790"},{"type":"REPORT","url":"https://go.dev/issue/22134"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/RinSE3EiJBI/m/kYL7zb07AgAJ"}],"credits":[{"name":"Stevie Johnstone"}]},{"id":"GO-2021-0223","published":"2022-02-17T17:46:03Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-14039"],"details":"On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.13"},{"introduced":"1.14.0"},{"fixed":"1.14.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0223"},"ecosystem_specific":{"imports":[{"path":"crypto/x509","goos":["windows"],"symbols":["Certificate.systemVerify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/242597"},{"type":"FIX","url":"https://go.googlesource.com/go/+/82175e699a2e2cd83d3aa34949e9b922d66d52f5"},{"type":"REPORT","url":"https://go.dev/issue/39360"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/XZNfaiwgt2w"}],"credits":[{"name":"Niall Newman"}]},{"id":"GO-2021-0224","published":"2022-02-17T17:36:04Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-15586"],"details":"HTTP servers where the Handler concurrently reads the request body and writes a response can encounter a data race and crash. The httputil.ReverseProxy Handler is affected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.13"},{"introduced":"1.14.0"},{"fixed":"1.14.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0224"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["expectContinueReader.Read"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/242598"},{"type":"FIX","url":"https://go.googlesource.com/go/+/fa98f46741f818913a8c11b877520a548715131f"},{"type":"REPORT","url":"https://go.dev/issue/34902"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/XZNfaiwgt2w"}],"credits":[{"name":"Mikael Manukyan, Andrew Kutz, Dave McClure, Tim Downey, Clay\nKauzlaric, and Gabe Rosenhouse\n"}]},{"id":"GO-2021-0226","published":"2022-01-13T03:44:58Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-24553"],"details":"When a Handler does not explicitly set the Content-Type header, the the package would default to “text/html”, which could cause a Cross-Site Scripting vulnerability if an attacker can control any part of the contents of a response.\n\nThe Content-Type header is now set based on the contents of the first Write using http.DetectContentType, which is consistent with the behavior of the net/http package.\n\nAlthough this protects some applications that validate the contents of uploaded files, not setting the Content-Type header explicitly on any attacker-controlled file is unsafe and should be avoided.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.14.8"},{"introduced":"1.15.0"},{"fixed":"1.15.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0226"},"ecosystem_specific":{"imports":[{"path":"net/http/cgi","symbols":["response.Write","response.WriteHeader","response.writeCGIHeader"]},{"path":"net/http/fcgi","symbols":["response.Write","response.WriteHeader","response.writeCGIHeader"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/252179"},{"type":"FIX","url":"https://go.googlesource.com/go/+/4f5cd0c0331943c7ec72df3b827d972584f77833"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/8wqlSbkLdPs"},{"type":"REPORT","url":"https://go.dev/issue/40928"}],"credits":[{"name":"RedTeam Pentesting GmbH"}]},{"id":"GO-2021-0234","published":"2022-02-17T17:34:24Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-27918"],"details":"The Decode, DecodeElement, and Skip methods of an xml.Decoder provided by xml.NewTokenDecoder may enter an infinite loop when operating on a custom xml.TokenReader which returns an EOF in the middle of an open XML element.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.9"},{"introduced":"1.16.0"},{"fixed":"1.16.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0234"},"ecosystem_specific":{"imports":[{"path":"encoding/xml","symbols":["Decoder.Token"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/300391"},{"type":"FIX","url":"https://go.googlesource.com/go/+/d0b79e3513a29628f3599dc8860666b6eed75372"},{"type":"REPORT","url":"https://go.dev/issue/44913"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw"}],"credits":[{"name":"Sam Whited"}]},{"id":"GO-2021-0235","published":"2022-02-17T17:34:14Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-3114"],"details":"The P224() Curve implementation can in rare circumstances generate incorrect outputs, including returning invalid points from ScalarMult.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.14.14"},{"introduced":"1.15.0"},{"fixed":"1.15.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0235"},"ecosystem_specific":{"imports":[{"path":"crypto/elliptic","symbols":["p224Contract"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/284779"},{"type":"FIX","url":"https://go.googlesource.com/go/+/d95ca9138026cbe40e0857d76a81a16d03230871"},{"type":"REPORT","url":"https://go.dev/issue/43786"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/mperVMGa98w"}],"credits":[{"name":"the elliptic-curve-differential-fuzzer project running on OSS-Fuzz\nand reported by Philippe Antoine (Catena cyber)\n"}]},{"id":"GO-2021-0239","published":"2022-02-17T17:33:35Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-33195"],"details":"The LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr functions and their respective methods on the Resolver type may return arbitrary values retrieved from DNS which do not follow the established RFC 1035 rules for domain names. If these names are used without further sanitization, for instance unsafely included in HTML, they may allow for injection of unexpected content. Note that LookupTXT may still return arbitrary values that could require sanitization before further use.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.13"},{"introduced":"1.16.0"},{"fixed":"1.16.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0239"},"ecosystem_specific":{"imports":[{"path":"net","symbols":["Resolver.LookupAddr","Resolver.LookupCNAME","Resolver.LookupMX","Resolver.LookupNS","Resolver.LookupSRV"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/320949"},{"type":"FIX","url":"https://go.googlesource.com/go/+/c89f1224a544cde464fcb86e78ebb0cc97eedba2"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI"},{"type":"REPORT","url":"https://go.dev/issue/46241"}],"credits":[{"name":"Philipp Jeitner and Haya Shulman from Fraunhofer SIT"}]},{"id":"GO-2021-0240","published":"2022-02-17T17:33:25Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-33196"],"details":"NewReader and OpenReader can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.13"},{"introduced":"1.16.0"},{"fixed":"1.16.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0240"},"ecosystem_specific":{"imports":[{"path":"archive/zip","symbols":["Reader.init"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/318909"},{"type":"FIX","url":"https://go.googlesource.com/go/+/74242baa4136c7a9132a8ccd9881354442788c8c"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI"},{"type":"REPORT","url":"https://go.dev/issue/46242"}],"credits":[{"name":"the OSS-Fuzz project for discovering this issue and\nEmmanuel Odeke for reporting it\n"}]},{"id":"GO-2021-0241","published":"2022-02-17T17:33:16Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-33197"],"details":"ReverseProxy can be made to forward certain hop-by-hop headers, including Connection. If the target of the ReverseProxy is itself a reverse proxy, this lets an attacker drop arbitrary headers, including those set by the ReverseProxy.Director.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.13"},{"introduced":"1.16.0"},{"fixed":"1.16.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0241"},"ecosystem_specific":{"imports":[{"path":"net/http/httputil","symbols":["ReverseProxy.ServeHTTP"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/321929"},{"type":"FIX","url":"https://go.googlesource.com/go/+/950fa11c4cb01a145bb07eeb167d90a1846061b3"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI"},{"type":"REPORT","url":"https://go.dev/issue/46313"}],"credits":[{"name":"Mattias Grenfeldt (https://grenfeldt.dev) and Asta Olofsson"}]},{"id":"GO-2021-0242","published":"2022-02-17T17:33:07Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-33198"],"details":"Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.13"},{"introduced":"1.16.0"},{"fixed":"1.16.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0242"},"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["Rat.SetString"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/316149"},{"type":"FIX","url":"https://go.googlesource.com/go/+/6c591f79b0b5327549bd4e94970f7a279efb4ab0"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI"},{"type":"REPORT","url":"https://go.dev/issue/45910"}],"credits":[{"name":"the OSS-Fuzz project for discovering this issue and to Emmanuel\nOdeke for reporting it\n"}]},{"id":"GO-2021-0243","published":"2022-02-17T17:32:57Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-34558"],"details":"crypto/tls clients can panic when provided a certificate of the wrong type for the negotiated parameters. net/http clients performing HTTPS requests are also affected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.14"},{"introduced":"1.16.0"},{"fixed":"1.16.6"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0243"},"ecosystem_specific":{"imports":[{"path":"crypto/tls","symbols":["rsaKeyAgreement.generateClientKeyExchange"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/334031"},{"type":"FIX","url":"https://go.googlesource.com/go/+/a98589711da5e9d935e8d690cfca92892e86d557"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ"},{"type":"REPORT","url":"https://go.dev/issue/47143"}],"credits":[{"name":"Imre Rad"}]},{"id":"GO-2021-0245","published":"2022-02-17T17:32:24Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-36221"],"details":"ReverseProxy can panic after encountering a problem copying a proxied response body.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.15"},{"introduced":"1.16.0"},{"fixed":"1.16.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0245"},"ecosystem_specific":{"imports":[{"path":"net/http/httputil","symbols":["ReverseProxy.ServeHTTP"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/333191"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b7a85e0003cedb1b48a1fd3ae5b746ec6330102e"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/uHACNfXAZqk"},{"type":"REPORT","url":"https://go.dev/issue/46866"}],"credits":[{"name":"Andrew Crump"}]},{"id":"GO-2021-0263","published":"2022-01-13T03:45:03Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-41771"],"details":"Calling File.ImportedSymbols on a loaded file which contains an invalid dynamic symbol table command can cause a panic, in particular if the encoded number of undefined symbols is larger than the number of symbols in the symbol table.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.10"},{"introduced":"1.17.0"},{"fixed":"1.17.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0263"},"ecosystem_specific":{"imports":[{"path":"debug/macho","symbols":["NewFile"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/367075"},{"type":"FIX","url":"https://go.googlesource.com/go/+/61536ec03063b4951163bd09609c86d82631fa27"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/0fM21h43arc"},{"type":"REPORT","url":"https://go.dev/issue/48990"}],"credits":[{"name":"Burak Çarıkçı - Yunus Yıldırım (CT-Zer0 Crypttech)"}]},{"id":"GO-2021-0264","published":"2022-01-13T20:54:43Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-41772"],"details":"Previously, opening a zip with (*Reader).Open could result in a panic if the zip contained a file whose name was exclusively made up of slash characters or \"..\" path elements.\n\nOpen could also panic if passed the empty string directly as an argument.\n\nNow, any files in the zip whose name could not be made valid for fs.FS.Open will be skipped, and no longer added to the fs.FS file list, although they are still accessible through (*Reader).File.\n\nNote that it was already the case that a file could be accessible from (*Reader).Open with a name different from the one in (*Reader).File, as the former is the cleaned name, while the latter is the original one.\n\nFinally, the actual panic site was made robust as a defense-in-depth measure.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.10"},{"introduced":"1.17.0"},{"fixed":"1.17.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0264"},"ecosystem_specific":{"imports":[{"path":"archive/zip","symbols":["Reader.Open","split"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/349770"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b24687394b55a93449e2be4e6892ead58ea9a10f"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/0fM21h43arc"},{"type":"REPORT","url":"https://go.dev/issue/48085"}],"credits":[{"name":"Colin Arnott, SiteHost and Noah Santschi-Cooney, Sourcegraph Code Intelligence Team"}]},{"id":"GO-2021-0317","published":"2022-05-23T22:15:42Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-23772"],"details":"Rat.SetString had an overflow issue that can lead to uncontrolled memory consumption.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.14"},{"introduced":"1.17.0"},{"fixed":"1.17.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0317"},"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["Rat.SetString"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/379537"},{"type":"FIX","url":"https://go.googlesource.com/go/+/ad345c265916bbf6c646865e4642eafce6d39e78"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ"},{"type":"REPORT","url":"https://go.dev/issue/50699"}],"credits":[{"name":"Emmanuel Odeke"}]},{"id":"GO-2021-0319","published":"2022-05-23T22:15:21Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-23806"],"details":"Some big.Int values that are not valid field elements (negative or overflowing) might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation. Note that Unmarshal will never return such values.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.14"},{"introduced":"1.17.0"},{"fixed":"1.17.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0319"},"ecosystem_specific":{"imports":[{"path":"crypto/elliptic","symbols":["CurveParams.IsOnCurve","p384PointFromAffine","p521PointFromAffine"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/382455"},{"type":"FIX","url":"https://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ"},{"type":"REPORT","url":"https://go.dev/issue/50974"}],"credits":[{"name":"Guido Vranken"}]},{"id":"GO-2021-0347","published":"2022-05-23T22:15:47Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-24921"],"details":"On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.15"},{"introduced":"1.17.0"},{"fixed":"1.17.8"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0347"},"ecosystem_specific":{"imports":[{"path":"regexp","symbols":["regexp.Compile"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/384616"},{"type":"FIX","url":"https://go.googlesource.com/go/+/452f24ae94f38afa3704d4361d91d51218405c0a"},{"type":"REPORT","url":"https://go.dev/issue/51112"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RP1hfrBYVuk"}],"credits":[{"name":"Juho Nurminen"}]},{"id":"GO-2022-0166","published":"2022-05-24T22:06:33Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2016-3959"],"details":"The Verify function in crypto/dsa passed certain parameters unchecked to the underlying big integer library, possibly leading to extremely long-running computations, which in turn makes Go programs vulnerable to remote denial of service attacks. Programs using HTTPS client certificates or the Go SSH server libraries are both exposed to this vulnerability.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.4"},{"introduced":"1.6.0"},{"fixed":"1.6.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0166"},"ecosystem_specific":{"imports":[{"path":"crypto/dsa","symbols":["Verify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/21533"},{"type":"FIX","url":"https://go.googlesource.com/go/+/eb876dd83cb8413335d64e50aae5d38337d1ebb4"},{"type":"REPORT","url":"https://go.dev/issue/15184"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/9eqIHqaWvck"}],"credits":[{"name":"David Wong"}]},{"id":"GO-2022-0171","published":"2022-05-24T20:17:59Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2017-1000097"],"details":"On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.4"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0171"},"ecosystem_specific":{"imports":[{"path":"crypto/x509","goos":["darwin"],"symbols":["FetchPEMRoots","execSecurityRoots"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/33721"},{"type":"FIX","url":"https://go.googlesource.com/go/+/7e5b2e0ec144d5f5b2923a7d5db0b9143f79a35a"},{"type":"REPORT","url":"https://go.dev/issue/18141"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/4NdLzS8sls8/m/uIz8QlnIBQAJ"}],"credits":[{"name":"Xy Ziemba"}]},{"id":"GO-2022-0187","published":"2022-07-01T20:11:15Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2017-8932"],"details":"The ScalarMult implementation of curve P-256 for amd64 architectures generates incorrect results for certain specific input points. An adaptive attack can progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0"},{"fixed":"1.7.6"},{"introduced":"1.8.0"},{"fixed":"1.8.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0187"},"ecosystem_specific":{"imports":[{"path":"crypto/elliptic","goarch":["amd64"],"symbols":["p256SubInternal"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/41070"},{"type":"FIX","url":"https://go.googlesource.com/go/+/9294fa2749ffee7edbbb817a0ef9fe633136fa9c"},{"type":"REPORT","url":"https://go.dev/issue/20040"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/B5ww0iFt1_Q/m/TgUFJV14BgAJ"}],"credits":[{"name":"Vlad Krasnov and Filippo Valsorda at Cloudflare"}]},{"id":"GO-2022-0191","published":"2022-07-15T23:03:26Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2018-16875"],"details":"The crypto/x509 package does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients verifying certificates are affected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.6"},{"introduced":"1.11.0"},{"fixed":"1.11.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0191"},"ecosystem_specific":{"imports":[{"path":"crypto/x509","symbols":["CertPool.findVerifiedParents","Certificate.buildChains"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/154105"},{"type":"FIX","url":"https://go.googlesource.com/go/+/770130659b6fb2acf271476579a3644e093dda7f"},{"type":"REPORT","url":"https://go.dev/issue/29233"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Kw31K8G7Fi0"}],"credits":[{"name":"Netflix"}]},{"id":"GO-2022-0211","published":"2022-07-01T20:15:30Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-14809"],"details":"The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.13"},{"introduced":"1.12.0"},{"fixed":"1.12.8"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0211"},"ecosystem_specific":{"imports":[{"path":"net/url","symbols":["URL.Hostname","URL.Port","parseHost"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/189258"},{"type":"FIX","url":"https://go.googlesource.com/go/+/61bb56ad63992a3199acc55b2537c8355ef887b6"},{"type":"REPORT","url":"https://go.dev/issue/29098"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/65QixT3tcmg"}],"credits":[{"name":"Julian Hector and Nikolai Krein from Cure53, and Adi Cohen (adico.me)"}]},{"id":"GO-2022-0212","published":"2022-05-23T22:46:20Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-16276"],"details":"net/http (through net/textproto) used to accept and normalize invalid HTTP/1.1 headers with a space before the colon, in violation of RFC 7230.\n\nIf a Go server is used behind an uncommon reverse proxy that accepts and forwards but doesn't normalize such invalid headers, the reverse proxy and the server can interpret the headers differently. This can lead to filter bypasses or request smuggling, the latter if requests from separate clients are multiplexed onto the same upstream connection by the proxy. Such invalid headers are now rejected by Go servers, and passed without normalization to Go client applications.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.10"},{"introduced":"1.13.0"},{"fixed":"1.13.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0212"},"ecosystem_specific":{"imports":[{"path":"net/textproto","symbols":["Reader.ReadMimeHeader"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/197503"},{"type":"FIX","url":"https://go.googlesource.com/go/+/41b1f88efab9d263408448bf139659119002ea50"},{"type":"REPORT","url":"https://go.dev/issue/34540"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/cszieYyuL9Q/m/g4Z7pKaqAgAJ"}],"credits":[{"name":"Andrew Stucki, Adam Scarr (99designs.com), and Jan Masarik (masarik.sh)"}]},{"id":"GO-2022-0213","published":"2022-05-24T20:14:11Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-17596"],"details":"Invalid DSA public keys can cause a panic in dsa.Verify. In particular, using crypto/x509.Verify on a crafted X.509 certificate chain can lead to a panic, even if the certificates don't chain to a trusted root. The chain can be delivered via a crypto/tls connection to a client, or to a server that accepts and verifies client certificates. net/http clients can be made to crash by an HTTPS server, while net/http servers that accept client certificates will recover the panic and are unaffected.\n\nMoreover, an application might crash invoking crypto/x509.(*CertificateRequest).CheckSignature on an X.509 certificate request, parsing a golang.org/x/crypto/openpgp Entity, or during a golang.org/x/crypto/otr conversation. Finally, a golang.org/x/crypto/ssh client can panic due to a malformed host key, while a server could panic if either PublicKeyCallback accepts a malformed public key, or if IsUserAuthority accepts a certificate with a malformed public key.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.11"},{"introduced":"1.13.0"},{"fixed":"1.13.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0213"},"ecosystem_specific":{"imports":[{"path":"crypto/dsa","symbols":["Verify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/205441"},{"type":"FIX","url":"https://go.googlesource.com/go/+/552987fdbf4c2bc9641016fd323c3ae5d3a0d9a3"},{"type":"REPORT","url":"https://go.dev/issue/34960"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/lVEm7llp0w0/m/VbafyRkgCgAJ"}],"credits":[{"name":"Daniel Mandragona"}]},{"id":"GO-2022-0217","published":"2022-05-24T15:21:01Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-6486"],"details":"A DoS vulnerability in the crypto/elliptic implementations of the P-521 and P-384 elliptic curves may let an attacker craft inputs that consume excessive amounts of CPU.\n\nThese inputs might be delivered via TLS handshakes, X.509 certificates, JWT tokens, ECDH shares or ECDSA signatures. In some cases, if an ECDH private key is reused more than once, the attack can also lead to key recovery.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.8"},{"introduced":"1.11.0"},{"fixed":"1.11.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0217"},"ecosystem_specific":{"imports":[{"path":"crypto/elliptic","symbols":["curve.doubleJacobian"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/159218"},{"type":"FIX","url":"https://go.googlesource.com/go/+/193c16a3648b8670a762e925b6ac6e074f468a20"},{"type":"REPORT","url":"https://go.dev/issue/29903"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/mVeX35iXuSw"}],"credits":[{"name":"Wycheproof Project"}]},{"id":"GO-2022-0220","published":"2022-05-25T18:01:46Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-9634"],"details":"Go on Windows misused certain LoadLibrary functionality, leading to DLL injection.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.10"},{"introduced":"1.12.0"},{"fixed":"1.12.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0220"},"ecosystem_specific":{"imports":[{"path":"runtime","goos":["windows"],"symbols":["loadOptionalSyscalls","osinit","syscall_loadsystemlibrary"]},{"path":"syscall","goos":["windows"],"symbols":["LoadDLL"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/165798"},{"type":"FIX","url":"https://go.googlesource.com/go/+/9b6e9f0c8c66355c0f0575d808b32f52c8c6d21c"},{"type":"REPORT","url":"https://go.dev/issue/28978"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/z9eTD34GEIs/m/Z_XmhTrVAwAJ"}],"credits":[{"name":"Samuel Cochran, Jason Donenfeld"}]},{"id":"GO-2022-0229","published":"2022-07-06T18:23:48Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-7919","GHSA-cjjc-xp8v-855w"],"details":"On 32-bit architectures, a malformed input to crypto/x509 or the ASN.1 parsing functions of golang.org/x/crypto/cryptobyte can lead to a panic.\n\nThe malformed certificate can be delivered via a crypto/tls connection to a client, or to a server that accepts client certificates. net/http clients can be made to crash by an HTTPS server, while net/http servers that accept client certificates will recover the panic and are unaffected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.16"},{"introduced":"1.13.0"},{"fixed":"1.13.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0229"},"ecosystem_specific":{"imports":[{"path":"crypto/x509"}]}},{"package":{"name":"golang.org/x/crypto","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20200124225646-8b5121be2f68"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0229"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/cryptobyte"}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/216680"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b13ce14c4a6aa59b7b041ad2b6eed2d23e15b574"},{"type":"FIX","url":"https://go.dev/cl/216677"},{"type":"REPORT","url":"https://go.dev/issue/36837"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Hsw4mHYc470"}],"credits":[{"name":"Project Wycheproof"}]},{"id":"GO-2022-0236","published":"2022-07-15T23:04:18Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-31525"],"details":"A malicious HTTP server or client can cause the net/http client or server to panic.\n\nReadRequest and ReadResponse can hit an unrecoverable panic when reading a very large header (over 7MB on 64-bit architectures, or over 4MB on 32-bit ones). Transport and Client are vulnerable and the program can be made to crash by a malicious server. Server is not vulnerable by default, but can be if the default max header of 1MB is overridden by setting Server.MaxHeaderBytes to a higher value, in which case the program can be made to crash by a malicious client.\n\nThis also affects golang.org/x/net/http2/h2c and HeaderValuesContainsToken in golang.org/x/net/http/httpguts.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.12"},{"introduced":"1.16.0"},{"fixed":"1.16.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0236"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["http2clientStream.writeRequest","http2isConnectionCloseRequest","isProtocolSwitchHeader","shouldClose"]}]}},{"package":{"name":"golang.org/x/net","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20210428140749-89ef3d95e781"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0236"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/net/http/httpguts","symbols":["HeaderValuesContainsToken","headerValueContainsToken"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/313069"},{"type":"FIX","url":"https://go.googlesource.com/net/+/89ef3d95e781148a0951956029c92a211477f7f9"},{"type":"REPORT","url":"https://go.dev/issue/45710"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc"}],"credits":[{"name":"Guido Vranken"}]},{"id":"GO-2022-0273","published":"2022-05-18T18:23:31Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-39293"],"details":"The NewReader and OpenReader functions in archive/zip can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size. This is caused by an incomplete fix for CVE-2021-33196.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.8"},{"introduced":"1.17.0"},{"fixed":"1.17.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0273"},"ecosystem_specific":{"imports":[{"path":"archive/zip","symbols":["NewReader","OpenReader"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/343434"},{"type":"FIX","url":"https://go.googlesource.com/go/+/bacbc33439b124ffd7392c91a5f5d96eca8c0c0b"},{"type":"REPORT","url":"https://go.dev/issue/47801"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/dx9d7IOseHw"}],"credits":[{"name":"OSS-Fuzz Project and Emmanuel Odeke"}]},{"id":"GO-2022-0288","published":"2022-07-15T23:08:33Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-44716"],"details":"An attacker can cause unbounded memory growth in servers accepting HTTP/2 requests.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.12"},{"introduced":"1.17.0"},{"fixed":"1.17.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0288"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["http2serverConn.canonicalHeader"]}]}},{"package":{"name":"golang.org/x/net","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20211209124913-491a49abca63"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0288"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/net/http2","symbols":["Server.ServeConn","serverConn.canonicalHeader"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/369794"},{"type":"REPORT","url":"https://go.dev/issue/50058"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/hcmEScgc00k"}],"credits":[{"name":"murakmii"}]},{"id":"GO-2022-0289","published":"2022-05-18T18:23:23Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2021-44717"],"details":"When a Go program running on a Unix system is out of file descriptors and calls syscall.ForkExec (including indirectly by using the os/exec package), syscall.ForkExec can close file descriptor 0 as it fails. If this happens (or can be provoked) repeatedly, it can result in misdirected I/O such as writing network traffic intended for one connection to a different connection, or content intended for one file to a different one.\n\nFor users who cannot immediately update to the new release, the bug can be mitigated by raising the per-process file descriptor limit.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.12"},{"introduced":"1.17.0"},{"fixed":"1.17.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0289"},"ecosystem_specific":{"imports":[{"path":"syscall","symbols":["ForkExec"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/370576"},{"type":"FIX","url":"https://go.googlesource.com/go/+/a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2"},{"type":"REPORT","url":"https://go.dev/issue/50057"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/hcmEScgc00k"},{"type":"FIX","url":"https://go.dev/cl/370577"},{"type":"FIX","url":"https://go.dev/cl/370795"}],"credits":[{"name":"Tomasz Maczukin and Kamil Trzciński of GitLab"}]},{"id":"GO-2022-0433","published":"2022-05-20T21:17:25Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-24675"],"details":"encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.9"},{"introduced":"1.18.0"},{"fixed":"1.18.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0433"},"ecosystem_specific":{"imports":[{"path":"encoding/pem","symbols":["Decode"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/399820"},{"type":"FIX","url":"https://go.googlesource.com/go/+/45c3387d777caf28f4b992ad9a6216e3085bb8fe"},{"type":"REPORT","url":"https://go.dev/issue/51853"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/oecdBNLOml8"}],"credits":[{"name":"Juho Nurminen of Mattermost"}]},{"id":"GO-2022-0434","published":"2022-05-23T21:59:00Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-27536"],"details":"Verifying certificate chains containing certificates which are not compliant with RFC 5280 causes Certificate.Verify to panic on macOS.\n\nThese chains can be delivered through TLS and can cause a crypto/tls or net/http client to crash.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.18.0"},{"fixed":"1.18.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0434"},"ecosystem_specific":{"imports":[{"path":"crypto/x509","goos":["darwin"],"symbols":["Certificate.Verify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/393655"},{"type":"FIX","url":"https://go.googlesource.com/go/+/0fca8a8f25cf4636fd980e72ba0bded4230922de"},{"type":"REPORT","url":"https://go.dev/issue/51759"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/oecdBNLOml8"}],"credits":[{"name":"Tailscale"}]},{"id":"GO-2022-0435","published":"2022-05-20T21:17:46Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-28327"],"details":"A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.9"},{"introduced":"1.18.0"},{"fixed":"1.18.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0435"},"ecosystem_specific":{"imports":[{"path":"crypto/elliptic","symbols":["P256.ScalarBaseMult","P256.ScalarMult"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/397135"},{"type":"FIX","url":"https://go.googlesource.com/go/+/37065847d87df92b5eb246c88ba2085efcf0b331"},{"type":"REPORT","url":"https://go.dev/issue/52075"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/oecdBNLOml8"}],"credits":[{"name":"Project Wycheproof"}]},{"id":"GO-2022-0477","published":"2022-06-09T01:43:37Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30634"],"details":"On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 \u003c\u003c 32 - 1 bytes.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0"},{"fixed":"1.18.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0477"},"ecosystem_specific":{"imports":[{"path":"crypto/rand","goos":["windows"],"symbols":["Read"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/402257"},{"type":"FIX","url":"https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863"},{"type":"REPORT","url":"https://go.dev/issue/52561"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"credits":[{"name":"Davis Goodin and Quim Muntal of Microsoft"}]},{"id":"GO-2022-0493","published":"2022-07-15T23:30:12Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-29526"],"details":"When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.10"},{"introduced":"1.18.0"},{"fixed":"1.18.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0493"},"ecosystem_specific":{"imports":[{"path":"syscall","symbols":["Faccessat"]}]}},{"package":{"name":"golang.org/x/sys","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20220412211240-33da011f77ad"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0493"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/sys/unix","symbols":["Access","Faccessat"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/399539"},{"type":"REPORT","url":"https://go.dev/issue/52313"},{"type":"FIX","url":"https://go.dev/cl/400074"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU"}],"credits":[{"name":"Joël Gähwiler (@256dpi)"}]},{"id":"GO-2022-0515","published":"2022-07-20T17:01:45Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-1962"],"details":"Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0515"},"ecosystem_specific":{"imports":[{"path":"go/parser","symbols":["ParseExprFrom","ParseFile","parser.parseBinaryExpr","parser.parseIfStmt","parser.parsePrimaryExpr","parser.parseStmt","parser.parseUnaryExpr","parser.tryIdentOrType","resolver.closeScope","resolver.openScope"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417063"},{"type":"FIX","url":"https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879"},{"type":"REPORT","url":"https://go.dev/issue/53616"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"credits":[{"name":"Juho Nurminen of Mattermost"}]},{"id":"GO-2022-0520","published":"2022-07-28T17:23:05Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-32148"],"details":"Client IP adresses may be unintentionally exposed via X-Forwarded-For headers.\n\nWhen httputil.ReverseProxy.ServeHTTP is called with a Request.Header map containing a nil value for the X-Forwarded-For header, ReverseProxy sets the client IP as the value of the X-Forwarded-For header, contrary to its documentation.\n\nIn the more usual case where a Director function sets the X-Forwarded-For header value to nil, ReverseProxy leaves the header unmodified as expected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0520"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["Header.Clone"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/412857"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a"},{"type":"REPORT","url":"https://go.dev/issue/53423"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"credits":[{"name":"Christian Mehlmauer"}]},{"id":"GO-2022-0521","published":"2022-07-20T17:02:04Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-28131"],"details":"Calling Decoder.Skip when parsing a deeply nested XML document can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0521"},"ecosystem_specific":{"imports":[{"path":"encoding/xml","symbols":["Decoder.Skip"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417062"},{"type":"FIX","url":"https://go.googlesource.com/go/+/08c46ed43d80bbb67cb904944ea3417989be4af3"},{"type":"REPORT","url":"https://go.dev/issue/53614"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"credits":[{"name":"Go Security Team and Juho Nurminen of Mattermost"}]},{"id":"GO-2022-0522","published":"2022-07-20T17:02:29Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30632"],"details":"Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0522"},"ecosystem_specific":{"imports":[{"path":"path/filepath","symbols":["Glob"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417066"},{"type":"FIX","url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"},{"type":"REPORT","url":"https://go.dev/issue/53416"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"credits":[{"name":"Juho Nurminen of Mattermost"}]},{"id":"GO-2022-0523","published":"2022-07-20T20:52:06Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30633"],"details":"Unmarshaling an XML document into a Go struct which has a nested field that uses the 'any' field tag can panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0523"},"ecosystem_specific":{"imports":[{"path":"encoding/xml","symbols":["Decoder.DecodeElement","Decoder.unmarshal","Decoder.unmarshalPath"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417061"},{"type":"FIX","url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08"},{"type":"REPORT","url":"https://go.dev/issue/53611"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}]},{"id":"GO-2022-0524","published":"2022-07-20T20:52:11Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30631"],"details":"Calling Reader.Read on an archive containing a large number of concatenated 0-length compressed files can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0524"},"ecosystem_specific":{"imports":[{"path":"compress/gzip","symbols":["Reader.Read"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417067"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e"},{"type":"REPORT","url":"https://go.dev/issue/53168"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}]},{"id":"GO-2022-0525","published":"2022-07-25T17:34:18Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-1705"],"details":"The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating a \"chunked\" encoding. This could potentially allow for request smuggling, but only if combined with an intermediate server that also improperly failed to reject the header as invalid.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0525"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["transferReader.parseTransferEncoding"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/409874"},{"type":"FIX","url":"https://go.googlesource.com/go/+/e5017a93fcde94f09836200bca55324af037ee5f"},{"type":"REPORT","url":"https://go.dev/issue/53188"},{"type":"FIX","url":"https://go.dev/cl/410714"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"credits":[{"name":"Zeyu Zhang (https://www.zeyu2001.com/)"}]},{"id":"GO-2022-0526","published":"2022-07-20T20:52:17Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30635"],"details":"Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0526"},"ecosystem_specific":{"imports":[{"path":"encoding/gob","symbols":["Decoder.compileDec","Decoder.compileIgnoreSingle","Decoder.decIgnoreOpFor"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417064"},{"type":"FIX","url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7"},{"type":"REPORT","url":"https://go.dev/issue/53615"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}]},{"id":"GO-2022-0527","published":"2022-07-20T20:52:22Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30630"],"details":"Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0527"},"ecosystem_specific":{"imports":[{"path":"io/fs","symbols":["Glob"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417065"},{"type":"FIX","url":"https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59"},{"type":"REPORT","url":"https://go.dev/issue/53415"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}]},{"id":"GO-2022-0531","published":"2022-07-28T17:24:57Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30629"],"details":"An attacker can correlate a resumed TLS session with a previous connection.\n\nSession tickets generated by crypto/tls do not contain a randomly generated ticket_age_add, which allows an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0"},{"fixed":"1.18.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0531"},"ecosystem_specific":{"imports":[{"path":"crypto/tls","symbols":["serverHandshakeStateTLS13.sendSessionTickets"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/405994"},{"type":"FIX","url":"https://go.googlesource.com/go/+/fe4de36198794c447fbd9d7cc2d7199a506c76a5"},{"type":"REPORT","url":"https://go.dev/issue/52814"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"credits":[{"name":"Github user @nervuri"}]},{"id":"GO-2022-0532","published":"2022-07-26T21:41:20Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-30580"],"details":"On Windows, executing Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset will unintentionally trigger execution of any binaries in the working directory named either \"..com\" or \"..exe\".","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0"},{"fixed":"1.18.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0532"},"ecosystem_specific":{"imports":[{"path":"os/exec","goos":["windows"],"symbols":["Cmd.Start"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/403759"},{"type":"FIX","url":"https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e"},{"type":"REPORT","url":"https://go.dev/issue/52574"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"credits":[{"name":"Chris Darroch (chrisd8088@github.com), brian m. carlson (bk2204@github.com),\nand Mikhail Shcherbakov (https://twitter.com/yu5k3)\n"}]},{"id":"GO-2022-0533","published":"2022-07-28T17:25:07Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-29804"],"details":"On Windows, the filepath.Clean function can convert certain invalid paths to valid, absolute paths, potentially allowing a directory traversal attack.\n\nFor example, Clean(`.\\c:`) returns `c:`.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0"},{"fixed":"1.18.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0533"},"ecosystem_specific":{"imports":[{"path":"path/filepath","goos":["windows"],"symbols":["Clean"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/401595"},{"type":"FIX","url":"https://go.googlesource.com/go/+/9cd1818a7d019c02fa4898b3e45a323e35033290"},{"type":"REPORT","url":"https://go.dev/issue/52476"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"credits":[{"name":"Unrud"}]},{"id":"GO-2022-0535","published":"2022-08-01T22:21:17Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2020-0601"],"details":"A Windows vulnerability allows attackers to spoof valid certificate chains when the system root store is in use.\n\nA workaround is present in Go 1.12.6+ and Go 1.13.7+, but affected users should additionally install the Windows security update to protect their system.\n\nSee https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2020-0601 for details on the Windows vulnerability.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.16"},{"introduced":"1.13.0"},{"fixed":"1.13.7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0535"},"ecosystem_specific":{"imports":[{"path":"crypto/x509","goos":["windows"],"symbols":["Certificate.systemVerify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/215905"},{"type":"FIX","url":"https://go.googlesource.com/go/+/953bc8f391a63adf00bac2515dba62abe8a1e2c2"},{"type":"REPORT","url":"https://go.dev/issue/36834"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/Hsw4mHYc470/m/WJeW5wguEgAJ"}]},{"id":"GO-2022-0536","published":"2022-08-01T22:20:53Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2019-9512","CVE-2019-9514"],"details":"Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service.\n\nServers that accept direct connections from untrusted clients could be remotely made to allocate an unlimited amount of memory, until the program crashes. The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.13"},{"introduced":"1.12.0"},{"fixed":"1.12.8"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0536"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["http2serverConn.scheduleFrameWrite","http2serverConn.serve","http2serverConn.writeFrame"]}]}},{"package":{"name":"golang.org/x/net","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20190813141303-74dc4d7220e7"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0536"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/net/http","symbols":["serverConn.scheduleFrameWrite","serverConn.serve","serverConn.writeFrame"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/190137"},{"type":"FIX","url":"https://go.googlesource.com/go/+/145e193131eb486077b66009beb051aba07c52a5"},{"type":"REPORT","url":"https://go.dev/issue/33606"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/65QixT3tcmg/m/DrFiG6vvCwAJ"}],"credits":[{"name":"Jonathan Looney of Netflix"}]},{"id":"GO-2022-0537","published":"2022-08-01T22:21:06Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-32189"],"details":"Decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.13"},{"introduced":"1.18.0"},{"fixed":"1.18.5"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0537"},"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["Float.GobDecode","Rat.GobDecode"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417774"},{"type":"FIX","url":"https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"},{"type":"REPORT","url":"https://go.dev/issue/53871"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/YqYYG87xB10"}],"credits":[{"name":"@catenacyber"}]},{"id":"GO-2022-0761","published":"2022-08-09T17:05:15Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2016-5386"],"details":"An input validation flaw in the CGI components allows the HTTP_PROXY environment variable to be set by the incoming Proxy header, which changes where Go by default proxies all outbound HTTP requests.\n\nThis environment variable is also used to set the outgoing proxy, enabling an attacker to insert a proxy into outgoing requests of a CGI program.\n\nRead more about \"httpoxy\" here: https://httpoxy.org.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0761"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["Handler.ServeHTTP"]},{"path":"net/http/cgi","symbols":["ProxyFromEnvironment"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/25010"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b97df54c31d6c4cc2a28a3c83725366d52329223"},{"type":"REPORT","url":"https://go.dev/issue/16405"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/7jZDOQ8f8tM/m/eWRWHnc8CgAJ"}],"credits":[{"name":"Dominic Scheirlinck"}]},{"id":"GO-2022-0969","published":"2022-09-12T20:23:06Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-27664"],"details":"HTTP/2 server connections can hang forever waiting for a clean shutdown that was preempted by a fatal error. This condition can be exploited by a malicious client to cause a denial of service.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.6"},{"introduced":"1.19.0"},{"fixed":"1.19.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0969"},"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["ListenAndServe","ListenAndServeTLS","Serve","ServeTLS","Server.ListenAndServe","Server.ListenAndServeTLS","Server.Serve","Server.ServeTLS","http2Server.ServeConn","http2serverConn.goAway"]}]}},{"package":{"name":"golang.org/x/net","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20220906165146-f3363e06e74c"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0969"},"ecosystem_specific":{"imports":[{"path":"golang.org/x/net/http2","symbols":["Server.ServeConn","serverConn.goAway"]}]}}],"references":[{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"},{"type":"REPORT","url":"https://go.dev/issue/54658"},{"type":"FIX","url":"https://go.dev/cl/428735"}],"credits":[{"name":"Bahruz Jabiyev, Tommaso Innocenti, Anthony Gavazzi, Steven Sprecher, and Kaan Onarlioglu"}]},{"id":"GO-2022-0988","published":"2022-09-12T20:23:15Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-32190"],"details":"JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath(\"https://go.dev\", \"../go\") returns the URL \"https://go.dev/../go\", despite the JoinPath documentation stating that ../ path elements are removed from the result.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.19.0"},{"fixed":"1.19.1"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0988"},"ecosystem_specific":{"imports":[{"path":"net/url","symbols":["JoinPath","URL.JoinPath"]}]}}],"references":[{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"},{"type":"REPORT","url":"https://go.dev/issue/54385"},{"type":"FIX","url":"https://go.dev/cl/423514"}],"credits":[{"name":"@q0jt"}]},{"id":"GO-2022-1037","published":"2022-10-06T16:26:05Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-2879"],"details":"Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.7"},{"introduced":"1.19.0"},{"fixed":"1.19.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-1037"},"ecosystem_specific":{"imports":[{"path":"archive/tar","symbols":["Reader.Next","Reader.next","Writer.WriteHeader","Writer.writePAXHeader","parsePAX"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/54853"},{"type":"FIX","url":"https://go.dev/cl/439355"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"}],"credits":[{"name":"Adam Korczynski (ADA Logics) and OSS-Fuzz"}]},{"id":"GO-2022-1038","published":"2022-10-06T16:42:43Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-2880"],"details":"Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value.\n\nAfter fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.7"},{"introduced":"1.19.0"},{"fixed":"1.19.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-1038"},"ecosystem_specific":{"imports":[{"path":"net/http/httputil","symbols":["ReverseProxy.ServeHTTP"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/54663"},{"type":"FIX","url":"https://go.dev/cl/432976"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"}],"credits":[{"name":"Gal Goldstein (Security Researcher, Oxeye) and Daniel Abeles (Head of Research, Oxeye)\n"}]},{"id":"GO-2022-1039","published":"2022-10-06T16:42:07Z","modified":"2022-10-26T17:44:45Z","aliases":["CVE-2022-41715"],"details":"Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service.\n\nThe parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory.\n\nAfter fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.7"},{"introduced":"1.19.0"},{"fixed":"1.19.2"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-1039"},"ecosystem_specific":{"imports":[{"path":"regexp/syntax","symbols":["Parse","parse","parser.factor","parser.push","parser.repeat"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/55949"},{"type":"FIX","url":"https://go.dev/cl/439356"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"}],"credits":[{"name":"Adam Korczynski (ADA Logics) and OSS-Fuzz"}]},{"id":"GO-2022-1095","published":"2022-11-01T23:55:57Z","modified":"2022-11-01T23:55:57Z","aliases":["CVE-2022-41716"],"details":"Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows.\n\nIn syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string \"A=B\\x00C=D\" sets the variables \"A=B\" and \"C=D\".","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.18.8"},{"introduced":"1.19.0"},{"fixed":"1.19.3"}]}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-1095"},"ecosystem_specific":{"imports":[{"path":"syscall","goos":["windows"],"symbols":["StartProcess"]},{"path":"os/exec","goos":["windows"],"symbols":["Cmd.CombinedOutput","Cmd.Environ","Cmd.Output","Cmd.Run","Cmd.Start","Cmd.environ","dedupEnv","dedupEnvCase"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/56284"},{"type":"FIX","url":"https://go.dev/cl/446916"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ"}],"credits":[{"name":"RyotaK (https://twitter.com/ryotkak)"}]}]