CVE-2024-24785
Errors returned from JSON marshaling may break template escaping in html/template
02 Description
Errors returned from JSON marshaling may break template escaping in html/template
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.79% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 55.9% of scored records. A rank, not a probability.
- NVD base score
- 5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-03-05 22:22Z2 YR AGO
- Last updated
- 2025-03-14 00:55Z1 YR AGO
- Reserved
- 2024-01-30
- Assigning CNA
- Go
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.4)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')Class
- Data version
- 5.1
- Document digest
- 9c1f5100891b9f5109404b897172d3c09e204387d8d3c4e5723bab6ff8f2da9d
05 Affected products
06 References
- go.devhttps://go.dev/issue/65697
- go.devhttps://go.dev/cl/564196
- groups.google.comhttps://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- pkg.go.devhttps://pkg.go.dev/vuln/GO-2024-2610
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240329-0008/
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/03/08/4
07 Fixed in
AlmaLinux 8
- aardvark-dns Fixed
A version is affected if any line below covers it.
- Affected before 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7
- Affected before 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7
- Affected before 2:1.10.1-2.module_el8.10.0+4047+545787c4
- Affected before 2:1.10.1-2.module_el8.10.0+4089+ce72bbbe
- buildah Fixed in 2:1.33.14-2.module_el8.10.0+4120+03ad4b47
- buildah-tests Fixed in 2:1.33.14-2.module_el8.10.0+4120+03ad4b47
- cockpit-podman Fixed in 84.1-1.module_el8.10.0+4102+6c76e544
- conmon Fixed
A version is affected if any line below covers it.
- Affected before 3:2.1.10-1.module_el8.10.0+3970+8445edf6
- Affected before 3:2.1.10-1.module_el8.10.0+4068+0e21408f
- Affected before 3:2.1.10-1.module_el8.10.0+4090+91932338
- container-selinux Fixed in 2:2.229.0-2.module_el8.10.0+4090+91932338
- containernetworking-plugins Fixed in 1:1.4.0-7.module_el8.10.0+4120+03ad4b47
- containers-common Fixed
A version is affected if any line below covers it.
- Affected before 2:1-82.module_el8.10.0+3876+e55593a8
- Affected before 2:1-82.module_el8.10.0+3901+4b80ecd7
- Affected before 2:1-82.module_el8.10.0+4089+ce72bbbe
- crit Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3845+87b84552
- Affected before 3.18-5.module_el8.10.0+3901+4b80ecd7
- Affected before 3.18-5.module_el8.10.0+4047+545787c4
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- criu Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3876+e55593a8
- Affected before 3.18-5.module_el8.10.0+3909+6e1c1eb7
- Affected before 3.18-5.module_el8.10.0+4089+ce72bbbe
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- criu-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3858+6ad51f9f
- Affected before 3.18-5.module_el8.10.0+4016+efd18bf8
- Affected before 3.18-5.module_el8.10.0+4068+0e21408f
- Affected before 3.18-5.module_el8.10.0+4089+ce72bbbe
- criu-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3909+6e1c1eb7
- Affected before 3.18-5.module_el8.10.0+3926+f12484f5
- Affected before 3.18-5.module_el8.10.0+3970+8445edf6
- Affected before 3.18-5.module_el8.10.0+4082+f7f0c95e
- crun Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.10.0+4082+f7f0c95e
- Affected before 1.14.3-2.module_el8.10.0+4102+6c76e544
- Affected before 1.14.3-2.module_el8.10.0+4120+03ad4b47
- delve Fixed in 1.21.2-3.module_el8.10.0+3760+4dd778f9
- fuse-overlayfs Fixed
A version is affected if any line below covers it.
- Affected before 1.13-1.module_el8.10.0+3792+03eaed9c
- Affected before 1.13-1.module_el8.10.0+4047+545787c4
- Affected before 1.13-1.module_el8.10.0+4068+0e21408f
- Affected before 1.13-1.module_el8.10.0+4082+f7f0c95e
- go-toolset Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-bin Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-docs Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-misc Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-src Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-tests Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- libslirp Fixed
A version is affected if any line below covers it.
- Affected before 4.4.0-2.module_el8.10.0+4023+db236c53
- Affected before 4.4.0-2.module_el8.10.0+4089+ce72bbbe
- Affected before 4.4.0-2.module_el8.10.0+4090+91932338
- Affected before 4.4.0-2.module_el8.10.0+4120+03ad4b47
- libslirp-devel Fixed
A version is affected if any line below covers it.
- Affected before 4.4.0-2.module_el8.10.0+3970+8445edf6
- Affected before 4.4.0-2.module_el8.10.0+4068+0e21408f
- Affected before 4.4.0-2.module_el8.10.0+4082+f7f0c95e
- Affected before 4.4.0-2.module_el8.10.0+4102+6c76e544
- netavark Fixed
A version is affected if any line below covers it.
- Affected before 2:1.10.3-1.module_el8.10.0+3970+8445edf6
- Affected before 2:1.10.3-1.module_el8.10.0+4023+db236c53
- Affected before 2:1.10.3-1.module_el8.10.0+4082+f7f0c95e
- Affected before 2:1.10.3-1.module_el8.10.0+4120+03ad4b47
- oci-seccomp-bpf-hook Fixed
A version is affected if any line below covers it.
- Affected before 1.2.10-1.module_el8.10.0+3909+6e1c1eb7
- Affected before 1.2.10-1.module_el8.10.0+4047+545787c4
- Affected before 1.2.10-1.module_el8.10.0+4068+0e21408f
- Affected before 1.2.10-1.module_el8.10.0+4120+03ad4b47
- podman Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-catatonit Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-docker Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-gvproxy Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-plugins Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-remote Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-tests Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- python3-criu Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3876+e55593a8
- Affected before 3.18-5.module_el8.10.0+3901+4b80ecd7
- Affected before 3.18-5.module_el8.10.0+3970+8445edf6
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- python3-podman Fixed in 4.9.0-3.module_el8.10.0+4016+efd18bf8
- runc Fixed in 4:1.2.9-3.module_el8.10.0+4120+03ad4b47
- skopeo Fixed in 2:1.14.5-6.module_el8.10.0+4120+03ad4b47
- skopeo-tests Fixed in 2:1.14.5-6.module_el8.10.0+4120+03ad4b47
- slirp4netns Fixed
A version is affected if any line below covers it.
- Affected before 1.2.3-1.module_el8.10.0+3926+f12484f5
- Affected before 1.2.3-1.module_el8.10.0+4023+db236c53
- Affected before 1.2.3-1.module_el8.10.0+4047+545787c4
- Affected before 1.2.3-1.module_el8.10.0+4082+f7f0c95e
- toolbox Fixed in 0.0.99.5.1-1.module_el8.10.0+4120+03ad4b47
2 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- go-toolset Fixed in 1.21.9-2.el9_4
- golang Fixed in 1.21.9-2.el9_4
- golang-bin Fixed in 1.21.9-2.el9_4
- golang-docs Fixed in 1.21.9-2.el9_4
- golang-misc Fixed in 1.21.9-2.el9_4
- golang-src Fixed in 1.21.9-2.el9_4
- golang-tests Fixed in 1.21.9-2.el9_4
- toolbox Fixed in 0.0.99.5-5.el9
- toolbox-tests Fixed in 0.0.99.5-5.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- aardvark-dns Fixed
A version is affected if any line below covers it.
- Affected before 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7
- Affected before 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7
- Affected before 2:1.10.1-2.module_el8.10.0+4047+545787c4
- Affected before 2:1.10.1-2.module_el8.10.0+4089+ce72bbbe
- buildah Fixed in 2:1.33.14-2.module_el8.10.0+4120+03ad4b47
- buildah-tests Fixed in 2:1.33.14-2.module_el8.10.0+4120+03ad4b47
- cockpit-podman Fixed in 84.1-1.module_el8.10.0+4102+6c76e544
- conmon Fixed
A version is affected if any line below covers it.
- Affected before 3:2.1.10-1.module_el8.10.0+3970+8445edf6
- Affected before 3:2.1.10-1.module_el8.10.0+4068+0e21408f
- Affected before 3:2.1.10-1.module_el8.10.0+4090+91932338
- container-selinux Fixed in 2:2.229.0-2.module_el8.10.0+4090+91932338
- containernetworking-plugins Fixed in 1:1.4.0-7.module_el8.10.0+4120+03ad4b47
- containers-common Fixed
A version is affected if any line below covers it.
- Affected before 2:1-82.module_el8.10.0+3876+e55593a8
- Affected before 2:1-82.module_el8.10.0+3901+4b80ecd7
- Affected before 2:1-82.module_el8.10.0+4089+ce72bbbe
- crit Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3845+87b84552
- Affected before 3.18-5.module_el8.10.0+3901+4b80ecd7
- Affected before 3.18-5.module_el8.10.0+4047+545787c4
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- criu Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3876+e55593a8
- Affected before 3.18-5.module_el8.10.0+3909+6e1c1eb7
- Affected before 3.18-5.module_el8.10.0+4089+ce72bbbe
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- criu-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3858+6ad51f9f
- Affected before 3.18-5.module_el8.10.0+4016+efd18bf8
- Affected before 3.18-5.module_el8.10.0+4068+0e21408f
- Affected before 3.18-5.module_el8.10.0+4089+ce72bbbe
- criu-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3909+6e1c1eb7
- Affected before 3.18-5.module_el8.10.0+3926+f12484f5
- Affected before 3.18-5.module_el8.10.0+3970+8445edf6
- Affected before 3.18-5.module_el8.10.0+4082+f7f0c95e
- crun Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.10.0+4082+f7f0c95e
- Affected before 1.14.3-2.module_el8.10.0+4102+6c76e544
- Affected before 1.14.3-2.module_el8.10.0+4120+03ad4b47
- delve Fixed in 1.21.2-3.module_el8.10.0+3760+4dd778f9
- fuse-overlayfs Fixed
A version is affected if any line below covers it.
- Affected before 1.13-1.module_el8.10.0+3792+03eaed9c
- Affected before 1.13-1.module_el8.10.0+4047+545787c4
- Affected before 1.13-1.module_el8.10.0+4068+0e21408f
- Affected before 1.13-1.module_el8.10.0+4082+f7f0c95e
- go-toolset Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-bin Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-docs Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-misc Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-src Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- golang-tests Fixed in 1.21.9-1.module_el8.10.0+3840+edaca3c3
- libslirp Fixed
A version is affected if any line below covers it.
- Affected before 4.4.0-2.module_el8.10.0+4023+db236c53
- Affected before 4.4.0-2.module_el8.10.0+4089+ce72bbbe
- Affected before 4.4.0-2.module_el8.10.0+4090+91932338
- Affected before 4.4.0-2.module_el8.10.0+4120+03ad4b47
- libslirp-devel Fixed
A version is affected if any line below covers it.
- Affected before 4.4.0-2.module_el8.10.0+3970+8445edf6
- Affected before 4.4.0-2.module_el8.10.0+4068+0e21408f
- Affected before 4.4.0-2.module_el8.10.0+4082+f7f0c95e
- Affected before 4.4.0-2.module_el8.10.0+4102+6c76e544
- netavark Fixed
A version is affected if any line below covers it.
- Affected before 2:1.10.3-1.module_el8.10.0+3970+8445edf6
- Affected before 2:1.10.3-1.module_el8.10.0+4023+db236c53
- Affected before 2:1.10.3-1.module_el8.10.0+4082+f7f0c95e
- Affected before 2:1.10.3-1.module_el8.10.0+4120+03ad4b47
- oci-seccomp-bpf-hook Fixed
A version is affected if any line below covers it.
- Affected before 1.2.10-1.module_el8.10.0+3909+6e1c1eb7
- Affected before 1.2.10-1.module_el8.10.0+4047+545787c4
- Affected before 1.2.10-1.module_el8.10.0+4068+0e21408f
- Affected before 1.2.10-1.module_el8.10.0+4120+03ad4b47
- podman Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-catatonit Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-docker Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-gvproxy Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-plugins Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-remote Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- podman-tests Fixed in 4:4.9.4-28.module_el8.10.0+4120+03ad4b47
- python3-criu Fixed
A version is affected if any line below covers it.
- Affected before 3.18-5.module_el8.10.0+3876+e55593a8
- Affected before 3.18-5.module_el8.10.0+3901+4b80ecd7
- Affected before 3.18-5.module_el8.10.0+3970+8445edf6
- Affected before 3.18-5.module_el8.10.0+4120+03ad4b47
- python3-podman Fixed in 4.9.0-3.module_el8.10.0+4016+efd18bf8
- runc Fixed in 4:1.2.9-3.module_el8.10.0+4120+03ad4b47
- skopeo Fixed in 2:1.14.5-6.module_el8.10.0+4120+03ad4b47
- skopeo-tests Fixed in 2:1.14.5-6.module_el8.10.0+4120+03ad4b47
- slirp4netns Fixed
A version is affected if any line below covers it.
- Affected before 1.2.3-1.module_el8.10.0+3926+f12484f5
- Affected before 1.2.3-1.module_el8.10.0+4023+db236c53
- Affected before 1.2.3-1.module_el8.10.0+4047+545787c4
- Affected before 1.2.3-1.module_el8.10.0+4082+f7f0c95e
- toolbox Fixed in 0.0.99.5.1-1.module_el8.10.0+4120+03ad4b47
2 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- go-toolset Fixed in 1.21.9-2.el9_4
- golang Fixed in 1.21.9-2.el9_4
- golang-bin Fixed in 1.21.9-2.el9_4
- golang-docs Fixed in 1.21.9-2.el9_4
- golang-misc Fixed in 1.21.9-2.el9_4
- golang-src Fixed in 1.21.9-2.el9_4
- golang-tests Fixed in 1.21.9-2.el9_4
- toolbox Fixed in 0.0.99.5-5.el9
- toolbox-tests Fixed in 0.0.99.5-5.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- golang-1.19 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- golang-1.10 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- golang-1.10 No fix yet
- golang-1.6 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- golang-1.10 No fix yet
- golang-1.8 No fix yet
- golang-1.9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- golang-1.13 No fix yet
- golang-1.14 No fix yet
- golang-1.18 Fixed in 1.18.1-1ubuntu1~20.04.3
- golang-1.21 Fixed in 1.21.1-1~ubuntu20.04.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- golang-1.17 Fixed in 1.17.13-3ubuntu1.2
- golang-1.18 Fixed in 1.18.1-1ubuntu1.2
- golang-1.21 Fixed in 1.21.1-1~ubuntu22.04.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- golang-1.13 No fix yet
- golang-1.18 Fixed in 1.18.1-1ubuntu1~16.04.6+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- golang-1.13 No fix yet
- golang-1.16 No fix yet
- golang-1.18 Fixed in 1.18.1-1ubuntu1~18.04.4+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- golang-1.16 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- golang-1.13 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.