CVE-2023-24538

CVE Details

Release Date:2023-04-04

Description


Templates do not properly consider backticks (') as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. 'var a = {{.}}'), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.

See more information about CVE-2023-24538 from MITRE CVE dictionary and NIST NVD


CVSS v3.0 metrics


NOTE: The following CVSS v3.0 metrics and score provided are preliminary and subject to review.

Base Score: 9.8 Base Metrics: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector: Network Attack Complexity: Low
Privileges Required: None User Interaction: None
Scope: Unchanged Confidentiality Impact: High
Integrity Impact: High Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 8 (aardvark-dns)ELSA-2023-69392023-11-18
Oracle Linux version 8 (buildah)ELSA-2023-69382023-11-18
Oracle Linux version 8 (buildah)ELSA-2023-69392023-11-18
Oracle Linux version 8 (cockpit-podman)ELSA-2023-69382023-11-18
Oracle Linux version 8 (cockpit-podman)ELSA-2023-69392023-11-18
Oracle Linux version 8 (conmon)ELSA-2023-69382023-11-18
Oracle Linux version 8 (conmon)ELSA-2023-69392023-11-18
Oracle Linux version 8 (container-selinux)ELSA-2023-69382023-11-18
Oracle Linux version 8 (container-selinux)ELSA-2023-69392023-11-18
Oracle Linux version 8 (containernetworking-plugins)ELSA-2023-69382023-11-18
Oracle Linux version 8 (containernetworking-plugins)ELSA-2023-69392023-11-18
Oracle Linux version 8 (containers-common)ELSA-2023-69382023-11-18
Oracle Linux version 8 (containers-common)ELSA-2023-69392023-11-18
Oracle Linux version 8 (criu)ELSA-2023-69382023-11-18
Oracle Linux version 8 (criu)ELSA-2023-69392023-11-18
Oracle Linux version 8 (crun)ELSA-2023-69382023-11-18
Oracle Linux version 8 (crun)ELSA-2023-69392023-11-18
Oracle Linux version 8 (fuse-overlayfs)ELSA-2023-69382023-11-18
Oracle Linux version 8 (fuse-overlayfs)ELSA-2023-69392023-11-18
Oracle Linux version 8 (libslirp)ELSA-2023-69382023-11-18
Oracle Linux version 8 (libslirp)ELSA-2023-69392023-11-18
Oracle Linux version 8 (netavark)ELSA-2023-69392023-11-18
Oracle Linux version 8 (oci-seccomp-bpf-hook)ELSA-2023-69382023-11-18
Oracle Linux version 8 (oci-seccomp-bpf-hook)ELSA-2023-69392023-11-18
Oracle Linux version 8 (podman)ELSA-2023-69382023-11-18
Oracle Linux version 8 (podman)ELSA-2023-69392023-11-18
Oracle Linux version 8 (python-podman)ELSA-2023-69382023-11-18
Oracle Linux version 8 (python-podman)ELSA-2023-69392023-11-18
Oracle Linux version 8 (runc)ELSA-2023-69382023-11-18
Oracle Linux version 8 (runc)ELSA-2023-69392023-11-18
Oracle Linux version 8 (skopeo)ELSA-2023-69382023-11-18
Oracle Linux version 8 (skopeo)ELSA-2023-69392023-11-18
Oracle Linux version 8 (slirp4netns)ELSA-2023-69382023-11-18
Oracle Linux version 8 (slirp4netns)ELSA-2023-69392023-11-18
Oracle Linux version 8 (udica)ELSA-2023-69382023-11-18
Oracle Linux version 8 (udica)ELSA-2023-69392023-11-18
Oracle Linux version 9 (buildah)ELSA-2023-64732023-11-11
Oracle Linux version 9 (containernetworking-plugins)ELSA-2023-64022023-11-11
Oracle Linux version 9 (podman)ELSA-2023-64742023-11-11
Oracle Linux version 9 (skopeo)ELSA-2023-63632023-11-11



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete