

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 版本：2021 年 12 月 21 日 Elastic Beanstalk Amazon Linux 平台更新
<a name="release-2021-12-21-linux"></a>

此版本為以 Amazon Linux 為基礎的 AWS Elastic Beanstalk 平台提供了新版本。此發行版本包含安全性更新，包含 Apache Log4j 的熱修補。其中還包含 AMI、Go、Corretto、Tomcat、.NET Core、Node.js、Python 和 Ruby 更新。

**發行日期：**2021 年 12 月 21 日

## 變更
<a name="release-2021-12-21-linux.changes"></a>

下表列出此版本中包含的變更。

**重要**  
Elastic Beanstalk 會從 Amazon Linux 預設套件存儲庫在 Amazon Linux 1 和 Amazon Linux 2 的Tomcat 平台上安裝 Log4j。Amazon Linux 1 和 Amazon Linux 2 存儲庫中提供的 Log4j 版本不受預設組態中 [CVE-2021-44228](https://www.cve.org/CVERecord?id=CVE-2021-44228) 或 [CVE-2021-45046](https://www.cve.org/CVERecord?id=CVE-2021-45046) 的影響。  
*如果您對應用程式的 log4j 使用進行了組態更改，或者安裝了更新版本的 log4j，建議您更新應用程式的代碼以緩解此問題。*  
出於謹慎，Elastic Beanstalk 會在今天發佈新的平台版本，這些版本會使用最新的 Amazon Linux 預設套件存儲庫，其中包括 [Log4j 熱修補 JDK](https://aws.amazon.com/blogs/opensource/hotpatch-for-apache-log4j/)。如果您已將 log4j 安裝自訂為應用程式相依性，建議您升級到最新的 Elastic Beanstalk 平台版本，以減輕 CVE-2021-44228 或 CVE-2021-45046 的影響。作為正常更新實踐的一部分，您還可以啟用自動化受管更新。  
如需有關 Amazon Linux 安全相關軟體更新的詳細資訊，請造訪 [Amazon Linux 安全中心](https://alas.aws.amazon.com/)。

**備註**  
這些版本備註著重於目前支援平台分支的變更。如需 Elastic Beanstalk 淘汰 (已取代) 平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。
請注意，發佈這些版本備註時，新平台版本可能尚未在所有 Elastic Beanstalk 支援的 AWS 區域中提供。發行可能需要幾個小時才能完成。


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全性更新**  |  將 **2021 年 12 月 17 日**或之前在 [Amazon Linux 安全中心](https://alas.aws.amazon.com/alas2.html)發佈的所有安全性更新，套用至所有發行的 Amazon Linux 2 平台。 該版本特別包含[適用於 Apache Log4j 的 Amazon Linux 熱修補工具](https://alas.aws.amazon.com/announcements/2021-001.html)。此工具有助於緩解最近發現的 Log4j 漏洞。請參與此發行說明頁面頂部的**重要**消息。 **Go**、**Corretto**、**.NET Core** 和 **Ruby** 版本為安全性版本。如需詳細資訊，請參閱本表中的**平台特定更新**。  | 
|  **跨平台更新**  |  執行下列跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2021-12-21-linux.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2021-12-21-linux.html)  | 
|  **基本 AMI**  |  已將基本 AMI 更新至 **2.0.20211201** 版。  | 
|  **Go**  |  已將 Go 更新至 **1.17.5** 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.17](https://golang.org/doc/devel/release.html#go1.17)。 Go 1.17.5 版是安全性版本。  | 
|  **Corretto**、**Tomcat**  |  已將 Corretto 11 更新至 **11.0.13.8.2** 版。如需詳細資訊，請參閱 GitHub 上 Corretto 11 儲存庫中的 [Amazon Corretto 11 變更日誌](https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md)。 已將 Corretto 8 更新至 **8.312.07.2** 版。如需詳細資訊，請參閱 GitHub 上 Corretto 8 儲存庫中的 [Amazon Corretto 8 變更日誌](https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md)。 兩個 Corretto 更新都是安全性版本更新。  | 
|  **.NET Core**  |  已將 .NET Core 更新至 [5.0.13](https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0.13/5.0.13.md) 和 [3.1.22](https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.22/3.1.22.md) 版。 兩個 .NET Core 更新都是安全性版本更新。  | 
|  **Node.js**  |  已更新 Node.js 14 以新增對 Node [14.18.2](https://nodejs.org/en/blog/release/v14.18.2/) 版的支援。 已更新 Node.js 12 以新增對 Node [12.22.8](https://nodejs.org/en/blog/release/v12.22.8/) 版的支援。  | 
|  **Python**  |  更新 Pipenv 至 **2021.11.9** 版本。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://pipenv.pypa.io/en/latest/changelog/)。  | 
|  **Ruby**  |  將 Ruby 3.0、2.7 和 2.6 分別更新至 [3.0.3](https://www.ruby-lang.org/en/news/2021/11/24/ruby-3-0-3-released/)、[2.7.5](https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-7-5-released/) 和 [2.6.9](https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-6-9-released/) 版。 已將 RubyGems 更新至 [3.2.32](https://blog.rubygems.org/2021/11/23/3.2.32-released.html) 版。 所有三個 Ruby 更新都是安全性版本。  | 

## 新的平台版本
<a name="release-2021-12-21-linux.platforms"></a>

**Topics**
+ [

### Docker
](#release-2021-12-21-linux.platforms.docker)
+ [

### Go
](#release-2021-12-21-linux.platforms.go)
+ [

### Java SE
](#release-2021-12-21-linux.platforms.javase)
+ [

### Tomcat
](#release-2021-12-21-linux.platforms.java)
+ [

### Linux 上的 .NET Core
](#release-2021-12-21-linux.platforms.dotnetlinux)
+ [

### Node.js
](#release-2021-12-21-linux.platforms.nodejs)
+ [

### PHP
](#release-2021-12-21-linux.platforms.PHP)
+ [

### Python
](#release-2021-12-21-linux.platforms.python)
+ [

### Ruby
](#release-2021-12-21-linux.platforms.ruby)

### Docker
<a name="release-2021-12-21-linux.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Docker AL2 3.4.10 版**   * 64bit Amazon Linux 2 v3.4.10 running Docker *   |  2.0.20211201  |  20.10.7-3  |  1.29.2  |  nginx 1.20.0  | 

### Go
<a name="release-2021-12-21-linux.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2 3.4.4 版**   * 64bit Amazon Linux 2 v3.4.4 running Go 1 *   |  2.0.20211201  |  Go 1.17.5  |  3.2.0  |  nginx 1.20.0  | 

### Java SE
<a name="release-2021-12-21-linux.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 3.2.9 版**   * 64bit Amazon Linux 2 v3.2.9 running Corretto 11 *   |  2.0.20211201  |  Corretto 11.0.13.8.2  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.20.0  | 
|   ** Corretto 8 3.2.9 版**   * 64bit Amazon Linux 2 v3.2.9 running Corretto 8 *   |  2.0.20211201  |  Corretto 8.312.07.2  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.20.0  | 

### Tomcat
<a name="release-2021-12-21-linux.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 with Tomcat 8.5 AL2 4.2.9 版**   * 64bit Amazon Linux 2 v4.2.9 running Tomcat 8.5 Corretto 11 *   |  2.0.20211201  |  Corretto 11.0.13.8.2  |  3.2.0  |  Tomcat 8.5.72  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 
|   ** Corretto 8 with Tomcat 8.5 AL2 4.2.9 版**   * 64bit Amazon Linux 2 v4.2.9 running Tomcat 8.5 Corretto 8 *   |  2.0.20211201  |  Corretto 8.312.07.2  |  3.2.0  |  Tomcat 8.5.72  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 

### Linux 上的 .NET Core
<a name="release-2021-12-21-linux.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET Core on AL2 2.2.9 版**   * 64bit Amazon Linux 2 v2.2.9 running .NET Core *   |  .NET 5.0.13，支援 5.0.13、3.1.22、2.1.30  |  nginx 1.20.0  |  2.0.20211201  |  3.2.0  | 

### Node.js
<a name="release-2021-12-21-linux.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 14 AL2 5.4.9 版**   * 64bit Amazon Linux 2 v5.4.9 running Node.js 14 *   |  2.0.20211201  |  14.18.2 (6.14.15)、14.18.1 (6.14.15)、14.18.0 (6.14.15)、14.17.6 (6.14.15)、14.17.5 (6.14.14)、14.17.4 (6.14.14)、14.17.3 (6.14.13)、14.17.2 (6.14.13)、14.17.1 (6.14.13)、14.17.0 (6.14.13)、14.16.1 (6.14.12)、14.16.0 (6.14.11)、14.15.5 (6.14.11)、14.15.4 (6.14.10)、14.15.3 (6.14.9)、14.15.2 (6.14.9)、14.15.1 (6.14.8)、14.15.0 (6.14.8)、14.14.0 (6.14.8)、14.13.1 (6.14.8)、14.13.0 (6.14.8)、14.12.0 (6.14.8)、14.11.0 (6.14.8)、14.10.1 (6.14.8)、14.10.0 (6.14.8)、14.9.0 (6.14.8)、14.8.0 (6.14.7)、14.7.0 (6.14.7)、14.6.0 (6.14.6)、14.5.0 (6.14.5)、14.4.0 (6.14.5)、14.3.0 (6.14.5)、14.2.0 (6.14.4)、14.1.0 (6.14.4)、14.0.0 (6.14.4)  預設版本：14.18.2  |  nginx 1.20.0 (預設)，Apache 2.4.51  |  2.32.0  |  3.2.0  | 
|   ** Node.js 12 AL2 5.4.9 版**   * 64bit Amazon Linux 2 v5.4.9 running Node.js 12 *   |  2.0.20211201  |  12.22.8 (6.14.15)、12.22.7 (6.14.15)、12.22.6 (6.14.15)、12.22.5 (6.14.14)、12.22.4 (6.14.14)、12.22.3 (6.14.13)、12.22.2 (6.14.13)、12.22.1 (6.14.12)、12.22.0 (6.14.11)、12.21.0 (6.14.11)、12.20.2 (6.14.11)、12.20.1 (6.14.10)、12.20.0 (6.14.8)、12.19.1 (6.14.8)、12.19.0 (6.14.8)、12.18.4 (6.14.6)、12.18.3 (6.14.6)、12.18.2 (6.14.5)、12.18.1 (6.14.5)、12.18.0 (6.14.4)、12.17.0 (6.14.4)、12.16.3 (6.14.4)、12.16.2 (6.14.4)、12.16.1 (6.13.4)、12.16.0 (6.13.4)、12.15.0 (6.13.4)、12.14.1 (6.13.4)、12.14.0 (6.13.4)、12.13.1 (6.12.1)、12.13.0 (6.12.0)、12.12.0 (6.11.3)、12.11.1 (6.11.3)、12.11.0 (6.11.3)、12.10.0 (6.10.3)、12.9.1 (6.10.2)、12.9.0 (6.10.2)、12.8.1 (6.10.2)、12.8.0 (6.10.2)、12.7.0 (6.10.0)、12.6.0 (6.9.0)、12.5.0 (6.9.0)、12.4.0 (6.9.0)、12.3.1 (6.9.0)、12.3.0 (6.9.0)、12.2.0 (6.9.0)、12.1.0 (6.9.0)、12.0.0 (6.9.0)  預設版本：12.22.8  |  nginx 1.20.0 (預設)，Apache 2.4.51  |  2.32.0  |  3.2.0  | 

### PHP
<a name="release-2021-12-21-linux.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.0 AL2 3.3.9 版**   * 64bit Amazon Linux 2 v3.3.9 running PHP 8.0 *   |  2.0.20211201  |  PHP 8.0.8  |  2.0.13  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 
|   ** PHP 7.4 AL2 3.3.9 版**   * 64bit Amazon Linux 2 v3.3.9 running PHP 7.4 *   |  2.0.20211201  |  PHP 7.4.21  |  1.10.22  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 

### Python
<a name="release-2021-12-21-linux.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.8 AL2 3.3.9 版**   * 64bit Amazon Linux 2 v3.3.9 running Python 3.8 *   |  2.0.20211201  |  Python 3.8.5  |  pipenv 2021.11.9  |    |    |  3.2.0  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 
|   ** Python 3.7 AL2 3.3.9 版**   * 64bit Amazon Linux 2 v3.3.9 running Python 3.7 *   |  2.0.20211201  |  Python 3.7.10  |  pipenv 2021.11.9  |    |    |  3.2.0  |  nginx 1.20.0 (預設)，Apache 2.4.51  | 

### Ruby
<a name="release-2021-12-21-linux.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.0 AL2 3.4.1 版**   * 64bit Amazon Linux 2 v3.4.1 running Ruby 3.0 *   |  2.0.20211201  |  Ruby 3.0.3-p157  |  RubyGems 3.2.32  |  Puma 5.5.2  |  3.2.0  |  nginx 1.20.0  | 
|   ** Ruby 2.7 AL2 3.4.1 版**   * 64bit Amazon Linux 2 v3.4.1 running Ruby 2.7 *   |  2.0.20211201  |  Ruby 2.7.5-p203  |  RubyGems 3.2.32  |  Puma 5.5.2  |  3.2.0  |  nginx 1.20.0  | 
|   ** Ruby 2.6 AL2 3.4.1 版**   * 64bit Amazon Linux 2 v3.4.1 running Ruby 2.6 *   |  2.0.20211201  |  Ruby 2.6.9-p207  |  RubyGems 3.2.32  |  Puma 5.5.2  |  3.2.0  |  nginx 1.20.0  | 