Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2023-39319: The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack. CVE-2023-39318: The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | golang | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-bin | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-docs | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-misc | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-shared | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-src | 0:1.20.8-1.amzn2023.0.1 |
| Amazon Linux · 2023 | golang-tests | 0:1.20.8-1.amzn2023.0.1 |
Vulnerabilities 2
-
Unscored —
Improper handling of HTML-like comments in script contexts in html/template
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be imprope…
-
Unscored —
Improper handling of special tags within script contexts in html/template
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, …