ALAS2-2023-2052


Amazon Linux 2 Security Advisory: ALAS-2023-2052
Advisory Release Date: 2023-05-25 17:41 Pacific
Advisory Updated Date: 2023-06-01 23:37 Pacific
Severity: Important

Issue Overview:

html/template: improper sanitization of CSS values

Angle brackets (<>) were not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character could result in unexpectedly closing the CSS context and allowing for injection of unexpected HMTL, if executed with untrusted input. (CVE-2023-24539)


Affected Packages:

golang


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update golang to update your system.

New Packages:
aarch64:
    golang-1.18.9-1.amzn2.0.5.aarch64
    golang-bin-1.18.9-1.amzn2.0.5.aarch64
    golang-shared-1.18.9-1.amzn2.0.5.aarch64

noarch:
    golang-docs-1.18.9-1.amzn2.0.5.noarch
    golang-misc-1.18.9-1.amzn2.0.5.noarch
    golang-tests-1.18.9-1.amzn2.0.5.noarch
    golang-src-1.18.9-1.amzn2.0.5.noarch

src:
    golang-1.18.9-1.amzn2.0.5.src

x86_64:
    golang-1.18.9-1.amzn2.0.5.x86_64
    golang-bin-1.18.9-1.amzn2.0.5.x86_64
    golang-shared-1.18.9-1.amzn2.0.5.x86_64
    golang-race-1.18.9-1.amzn2.0.5.x86_64