QID 356574

Date Published: 2023-11-09

QID 356574: Amazon Linux Security Advisory for docker : ALAS2ECS-2023-019

Templates did not properly consider backticks (`) as javascript string delimiters, and as such did not escape them as expected.
Backticks are used, since es6, for js template literals.
If a template contained a go template action within a javascript template literal, the contents of the action could be used to terminate the literal, injecting arbitrary javascript code into the go template. (
( CVE-2023-24538) html/template: improper handling of javascript whitespace. not all valid javascript whitespace characters were considered to be whitespace.
Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in javascript contexts that also contain actions may not be properly sanitized during execution. (
( CVE-2023-24540) 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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2ECS-2023-019 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356574

    Software Advisories
    Advisory ID Software Component Link
    ALAS2ECS-2023-019 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASECS-2023-019.html