ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-367

Amazon Linux 2023 - ALAS2023-2023-367: Medium priority package update for golang

Details

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 &lt;script&gt; contexts. This may cause the template parser to improperly interpret the contents of &lt;script&gt; contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023golang
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-bin
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-docs
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-misc
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-shared
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-src
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)
Amazon Linux:2023golang-tests
All versions before 1.20.8-1.amzn2023.0.1 (fixed in 1.20.8-1.amzn2023.0.1)

References