podman-4.6.1-5.el9
エラータID: AXSA:2023-6760:07
以下項目について対処しました。
[Security Fix]
- container-tools の HPACK デコーダには、CPU リソースを消費
してしまう問題があるため、リモートの攻撃者により、細工された
HTTP/2 プロトコルによる要求を介して、サービス拒否攻撃を可能
とする脆弱性が存在します。(CVE-2022-41723)
- Go には、TLS ハンドシェイクレコードが大きい場合に応答を
構築しようとするとサーバーとクライアントでそれぞれパニック
を引き起こす問題があるため、リモートの攻撃者により、大きな
TLS ハンドシェイクレコードの送信を介して、サービス拒否
(システムクラッシュ) 状態を引き起こすことを可能とする脆弱性
が存在します。(CVE-2022-41724)
- Go には、net/http および mime/multipart での過剰なリソース
消費の問題があるため、リモートの攻撃者により、巧妙な
リクエストの送信を介して、サービス拒否攻撃を可能とする
脆弱性が存在します。(CVE-2022-41725)
- Go の HTTP および MIME ヘッダーの解析処理には、必要以上
の大量のメモリを割り当ててしまう問題があるため、リモートの
攻撃者により、細工された HTTP もしくは MIME ヘッダーの入力
を介して、サービス拒否攻撃 (メモリ枯渇) を可能とする脆弱性が
存在します。(CVE-2023-24534)
- Go の mime/multipart モジュールの Reader.ReadForm() 関数
には、大量の CPU リソースおよびメモリ量を消費してしまう問題
があるため、リモートの攻撃者により、非常に多くのパートを含む
ように細工された Web フォームの処理を介して、サービス拒否
攻撃 (CPU リソースおよびメモリ枯渇) を可能とする脆弱性が存在
します。(CVE-2023-24536)
- Go の Parse() 関数には、整数オーバーフローに起因する無限
ループの問題があるため、リモートの攻撃者により、非常に大きい
行番号が設定された //line ディレクティブの指定を介して、サービス
拒否攻撃を可能とする脆弱性が存在します。(CVE-2023-24537)
- Go には、HTML テンプレート内のバッククォート文字 "`" を
JavaScript の区切り文字として適切にエスケープしない問題が
あるため、リモートの攻撃者により、巧妙に細工されたリクエスト
の送信を介して、任意のコードの実行を可能とする脆弱性が存在
します。(CVE-2023-24538)
- Go には、"/" 文字で区切られた複数の埋め込み文字を含む
テンプレートの解析時に CSS コンテキストが予期せず閉じられて
しまう問題があるため、リモートの攻撃者により、信頼できない
入力を介して、予期しない HTML タグなどの挿入を可能とする
脆弱性が存在します。(CVE-2023-24539)
- Go には、JavaScript で利用できる空白文字の一部を空白として
サニタイズ処理しない問題があるため、リモートの攻撃者により、
特定の空白文字を含むように細工されたテンプレートを介して、
意図しない動作を可能とする脆弱性が存在します。
(CVE-2023-24540)
- containerd には、サプリメンタルグループの設定がコンテナ内
に適切に反映されず、プライマリグループによるアクセス制限
を迂回できてしまう問題があるため、ローカルの攻撃者により、
コンテナ内でのサプリメンタルグループの操作を介して、任意
のコードの実行、および情報の漏洩を可能とする脆弱性が存在
します。(CVE-2023-25173)
- Go には、HTML テンプレートの解析処理時に予期しない結果
が出力されてしまう問題があるため、リモートの攻撃者により、
引用符で囲まれていない HTML 属性を含むテンプレートの解析
を介して、HTML タグへの任意の属性の埋め込みを可能とする
脆弱性が存在します。(CVE-2023-29400)
- Go の HTTP/1 クライアントには、Host ヘッダーの内容の検証
が不十分な問題があるため、リモートの攻撃者により、巧妙に
細工された Host ヘッダーを介して、リクエストの送信時に
ヘッダーやリクエストの追加を可能とする脆弱性が存在します。
(CVE-2023-29406)
- Go の html モジュールには、HTML 名前空間に存在しない
テキストノードをエスケープ処理を行わずに表示してしまう
問題があるため、リモートの攻撃者により、巧妙に細工された
URL を介して、クロスサイトスクリプティング攻撃、および
Cookie に記録された認証情報の漏洩を可能とする脆弱性が
存在します。(CVE-2023-3978)
パッケージをアップデートしてください。
A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
Large handshake records may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses. This affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).
A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively large and can potentially open a denial of service vector on its own. However, ReadForm did not properly account for all memory consumed by a parsed form, such as map entry overhead, part names, and MIME headers, permitting a maliciously crafted form to consume well over 10MB. In addition, ReadForm contained no limit on the number of disk files created, permitting a relatively small request body to create a large number of disk temporary files. With fix, ReadForm now properly accounts for various forms of memory overhead, and should now stay within its documented limit of 10MB + maxMemory bytes of memory consumption. Users should still be aware that this limit is high and may still be hazardous. In addition, ReadForm now creates at most one on-disk temporary file, combining multiple form parts into a single temporary file. The mime/multipart.File interface type's documentation states, "If stored on disk, the File's underlying concrete type will be an *os.File.". This is no longer the case when a form contains more than one file part, due to this coalescing of parts into a single file. The previous behavior of using distinct files for each form part may be reenabled with the environment variable GODEBUG=multipartfiles=distinct. Users should be aware that multipart.ReadForm and the http.Request methods that call it do not limit the amount of disk consumed by temporary files. Callers can limit the size of form data with http.MaxBytesReader.
HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can 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. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.
Multipart 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=.
Calling 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.
Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.
Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. Downstream applications that use the containerd client library may be affected as well. This bug has been fixed in containerd v1.6.18 and v.1.5.18. Users should update to these versions and recreate containers to resolve this issue. Users who rely on a downstream application that uses containerd's client library should check that application for a separate advisory and instructions. As a workaround, ensure that the `"USER $USERNAME"` Dockerfile instruction is not used. Instead, set the container entrypoint to a value similar to `ENTRYPOINT ["su", "-", "user"]` to allow `su` to properly set up supplementary groups.
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
N/A
SRPMS
- podman-4.6.1-5.el9.src.rpm
MD5: 7f688febe8479198eaa00af35a6ea5f9
SHA-256: da3bae95f9949ab39b2be9e1ed9fe24d4fff531679d2b8001a8a167a4c518d0c
Size: 22.68 MB
Asianux Server 9 for x86_64
- podman-4.6.1-5.el9.x86_64.rpm
MD5: 4c6b481e69d5c8ff33568b0c0081c0e5
SHA-256: 15d9683597664bb1d7b5039dc5b41f95b6b9bfb91cd94d149411020d63badc35
Size: 14.87 MB - podman-docker-4.6.1-5.el9.noarch.rpm
MD5: 0027faa8aea8092f4668bb57e7a76bb8
SHA-256: 80e6f6facc0dde7d1c2c4fad0a346e75d8bc303e78b4ee6e56cec5a6c8ae75b3
Size: 65.53 kB - podman-gvproxy-4.6.1-5.el9.x86_64.rpm
MD5: ad1dc623e6357468ef639add91ab6976
SHA-256: 6032b781ffd36b5dfd9dd3f34528c15237e65cd45f8c5632453d6d5e7fa9371d
Size: 3.73 MB - podman-plugins-4.6.1-5.el9.x86_64.rpm
MD5: 950b8bbd00e15e84cc5b1b25ff5e5739
SHA-256: e0405f0982df69c7be997146f220938dc673d6ba1b4ada2847c01e3925fec7e4
Size: 1.23 MB - podman-remote-4.6.1-5.el9.x86_64.rpm
MD5: 60a557184b3cd3c43a5f5dc16128c81a
SHA-256: 3053a2bf9cdcd57792df7eebda96bfdda790f9e243de0c5ae65835190d9fe3c7
Size: 9.44 MB - podman-tests-4.6.1-5.el9.x86_64.rpm
MD5: 81e12327e41b89b28a09808849b0d796
SHA-256: b71ecca30c2b27de452645c324e3c8044c34497c13ac75e8415fcb767fdf74f3
Size: 181.11 kB