{
  "cveId": "CVE-2022-30634",
  "url": "https://patchblox.com/security/cve/CVE-2022-30634",
  "summary": "CVE-2022-30634 is fixed in 10 products on 1 platform, first by ELSA-2022-17957, released July 12, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "delve vulnerability",
  "description": "Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities:\nCVE-2023-24538:\n\tTemplates did not properly consider backticks (\u0060) as Javascript string delimiters, and as such did\nnot escape them as expected. Backticks are used, since ES6, for JS template literals. If a template\ncontained a Go template action within a Javascript template literal, the contents of the action could\nbe used to terminate the literal, injecting arbitrary Javascript code into the Go template.\n\nCVE-2023-24537:\n\tCalling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.\n\nCVE-2023-24536:\n\tMultipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems from several causes: 1. mime/multipart.Reader.ReadForm limits the total memory a parsed multipart form can consume. ReadForm can undercount the amount of memory consumed, leading it to accept larger inputs than intended. 2. Limiting total memory does not account for increased pressure on the garbage collector from large numbers of small allocations in forms with many parts. 3. ReadForm can allocate a large number of short-lived buffers, further increasing pressure on the garbage collector. The combination of these factors can permit an attacker to cause an program that parses multipart forms to consume large amounts of CPU and memory, potentially resulting in a denial of service. This affects programs that use mime/multipart.Reader.ReadForm, as well as form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. With fix, ReadForm now does a better job of estimating the memory consumption of parsed forms, and performs many fewer short-lived allocations. In addition, the fixed mime/multipart.Reader imposes the following limits on the size of parsed forms: 1. Forms parsed with ReadForm may contain no more than 1000 parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxparts=. 2. Form parts parsed with NextPart and NextRawPart may contain no more than 10,000 header fields. In addition, forms parsed with ReadForm may contain no more than 10,000 header fields across all parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxheaders=.\n\nCVE-2023-24534:\n\tHTTP and MIME header parsing could allocate large amounts of memory, even when parsing small inputs.\n\nCertain unusual patterns of input data could cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service.\n\nCVE-2023-24532:\n\tThe ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.\n\nCVE-2022-41725:\n\tGolang: net/http, mime/multipart: denial of service from excessive resource consumption (https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E)\n\nCVE-2022-41724:\n\tRESERVED\nNOTE: https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E\n\nCVE-2022-41722:\n\tThe Go project has described this issue as follows:\n\n\u0022On Windows, the filepath.Clean function could transform an invalid path such as a/../c:/b into the valid path c:\\b. This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. The filepath.Clean function will now transform this path into the relative (but still invalid) path .\\c:\\b.\u0022\n\nCVE-2022-41717:\n\tAn attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.\n\nCVE-2022-30634:\n\tInfinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 \u003C\u003C 32 - 1 bytes.\n\nCVE-2022-30580:\n\tCode injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either \u0022..com\u0022 or \u0022..exe\u0022 by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.\n\nCVE-2022-2880:\n\tRequests 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. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request\u0027s 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.\n\nCVE-2022-23806:\n\tA flaw was found in the elliptic package of the crypto library in golang when the IsOnCurve function could return true for invalid field elements. This flaw allows an attacker to take advantage of this undefined behavior, affecting the availability and integrity of the resource.\n\nCVE-2022-23773:\n\tcmd/go in Go before 1.16.14 and 1.17.x before 1.17.7 can misinterpret branch names that falsely appear to be version tags. This can lead to incorrect access control if an actor is supposed to be able to create branches but not tags.\n\nCVE-2022-23772:\n\tRat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption.",
  "published": "2022-07-12T00:00:00Z",
  "severity": "IMPORTANT",
  "cvss": 7.5,
  "epss": 0.02278,
  "epssPercentile": 0.83226,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "delve",
      "release": "ol 8",
      "fixedVersion": "0:1.7.2-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "go-toolset",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-bin",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-bin",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-docs",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-docs",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-misc",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-misc",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-race",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-race",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-shared",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-src",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-src",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-tests",
      "release": "amzn 2023",
      "fixedVersion": "1.19.8-1.amzn2023.0.1",
      "fix": "ALAS2023-2023-175",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-175",
      "released": "2023-04-27T20:00:00Z"
    },
    {
      "platform": "linux",
      "product": "golang-tests",
      "release": "ol 8",
      "fixedVersion": "0:1.17.11-1.0.1.module\u002Bel8.6.0\u002B20703\u002B24a110ad",
      "fix": "ELSA-2022-17957",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-17957",
      "released": "2022-07-12T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}