ALAS2023-2023-367
Active ModerateALAS2023-2023-367 (medium): golang
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2023/ALAS2023-2023-367.html| CVE |
|---|
| CVE-2023-39318 |
| CVE-2023-39319 |
Description
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. (CVE-2023-39318) 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-39319)
Solution
Run dnf update golang --releasever 2023.2.20231002 or dnf update --advisory ALAS2023-2023-367 --releasever 2023.2.20231002 to update your system. More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1golang
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- golang-1.20.8-1.amzn2023.0.1.aarch64
- golang-bin-1.20.8-1.amzn2023.0.1.aarch64
- golang-shared-1.20.8-1.amzn2023.0.1.aarch64
-
2golang
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- golang-docs-1.20.8-1.amzn2023.0.1.noarch
- golang-misc-1.20.8-1.amzn2023.0.1.noarch
- golang-src-1.20.8-1.amzn2023.0.1.noarch
- golang-tests-1.20.8-1.amzn2023.0.1.noarch
-
3golang
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- golang-1.20.8-1.amzn2023.0.1.src
-
4golang
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- golang-bin-1.20.8-1.amzn2023.0.1.x86_64
- golang-1.20.8-1.amzn2023.0.1.x86_64
- golang-shared-1.20.8-1.amzn2023.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
5- Amazon Linux 2023 Release Notes https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes.html
- CVE-2023-39318 https://access.redhat.com/security/cve/CVE-2023-39318
- CVE-2023-39319 https://access.redhat.com/security/cve/CVE-2023-39319
- CVE-2023-39318 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39318
- CVE-2023-39319 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39319
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2023/ALAS2023-2023-367.html | Unknown | 1391a626340fb8642f5da3d7c286c1e1c78491fcde5113ea9dd168e86ff81102 | amazon-alas/1 | 2026-11-16T09:02:14Z |
| rss_entry | https://alas.aws.amazon.com/AL2023/ALAS2023-2023-367.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T09:02:14Z |
| catalog_entry | https://alas.aws.amazon.com/AL2023/ALAS2023-2023-367.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T09:02:14Z |