Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-2313

Active Important

ALAS2-2023-2313 (important): golang

Published
16 Oct 2023
Updated
03 Jan 2024

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

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

Read full publisher description 1551 characters

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) Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex. (CVE-2023-39323) The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. (CVE-2023-39325) The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023. (CVE-2023-44487)

Solution

Run yum update golang or yum update --advisory ALAS2-2023-2313 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1golang

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • golang-1.20.10-1.amzn2.0.1.aarch64
    • golang-bin-1.20.10-1.amzn2.0.1.aarch64
    • golang-shared-1.20.10-1.amzn2.0.1.aarch64
  2. 2golang

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • golang-docs-1.20.10-1.amzn2.0.1.noarch
    • golang-misc-1.20.10-1.amzn2.0.1.noarch
    • golang-tests-1.20.10-1.amzn2.0.1.noarch
    • golang-src-1.20.10-1.amzn2.0.1.noarch
  3. 3golang

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • golang-1.20.10-1.amzn2.0.1.src
  4. 4golang

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • golang-1.20.10-1.amzn2.0.1.x86_64
    • golang-bin-1.20.10-1.amzn2.0.1.x86_64
    • golang-shared-1.20.10-1.amzn2.0.1.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

10
  • CVE-2023-39318 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-39318
  • CVE-2023-39319 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-39319
  • CVE-2023-39323 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-39323
  • CVE-2023-39325 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-39325
  • CVE-2023-44487 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-44487
  • CVE-2023-39318 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39318
  • CVE-2023-39319 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39319
  • CVE-2023-39323 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39323
  • CVE-2023-39325 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39325
  • CVE-2023-44487 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-44487

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-2313.htmlUnknown6587c024879be8fdf9dd5d7ebeb25d2dd85608fd42e263963d3e4775c06785d8amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2313.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2313.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected