Skip to content
OpenAdvisories
Medium ALAS2023-2023-367 2 CVEs

Moderate: golang security update (Amazon Linux 2023)

Published Sep 27, 2023 · Updated Oct 3, 2023

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

ReleasePackageFixed 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

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-39318.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-39319.html