Linux Distros Unpatched Vulnerability : CVE-2023-39318

medium Nessus Plugin ID 226832

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- 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)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2023-39318

https://security-tracker.debian.org/tracker/CVE-2023-39318

https://ubuntu.com/security/CVE-2023-39318

Plugin Details

Severity: Medium

ID: 226832

File Name: unpatched_CVE_2023_39318.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 3/5/2025

Updated: 8/18/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2023-39318

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, p-cpe:/a:redhat:enterprise_linux:grafana-cloudwatch, p-cpe:/a:redhat:enterprise_linux:grafana-elasticsearch, p-cpe:/a:redhat:enterprise_linux:grafana-graphite, p-cpe:/a:redhat:enterprise_linux:grafana-opentsdb, p-cpe:/a:redhat:enterprise_linux:grafana-postgres, p-cpe:/a:redhat:enterprise_linux:grafana-stackdriver, p-cpe:/a:centos:centos:grafana-cloudwatch, p-cpe:/a:centos:centos:grafana-elasticsearch, p-cpe:/a:centos:centos:grafana-graphite, p-cpe:/a:centos:centos:grafana-opentsdb, p-cpe:/a:centos:centos:grafana-postgres, p-cpe:/a:centos:centos:grafana-stackdriver, p-cpe:/a:canonical:ubuntu_linux:golang-1.10, p-cpe:/a:redhat:enterprise_linux:grafana-pcp, p-cpe:/a:centos:centos:grafana-pcp, p-cpe:/a:canonical:ubuntu_linux:golang-1.16, p-cpe:/a:redhat:enterprise_linux:grafana-selinux, p-cpe:/a:centos:centos:grafana-selinux, p-cpe:/a:debian:debian_linux:golang-1.15, p-cpe:/a:debian:debian_linux:golang-1.19, p-cpe:/a:canonical:ubuntu_linux:golang-1.8, cpe:/o:redhat:enterprise_linux:8, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:redhat:enterprise_linux:grafana, p-cpe:/a:redhat:enterprise_linux:grafana-azure-monitor, p-cpe:/a:redhat:enterprise_linux:grafana-influxdb, p-cpe:/a:redhat:enterprise_linux:grafana-loki, p-cpe:/a:redhat:enterprise_linux:grafana-mssql, p-cpe:/a:redhat:enterprise_linux:grafana-mysql, p-cpe:/a:redhat:enterprise_linux:grafana-prometheus, p-cpe:/a:redhat:enterprise_linux:ignition, cpe:/o:centos:centos:8, p-cpe:/a:centos:centos:grafana, p-cpe:/a:centos:centos:grafana-azure-monitor, p-cpe:/a:centos:centos:grafana-influxdb, p-cpe:/a:centos:centos:grafana-loki, p-cpe:/a:centos:centos:grafana-mssql, p-cpe:/a:centos:centos:grafana-mysql, p-cpe:/a:centos:centos:grafana-prometheus, p-cpe:/a:canonical:ubuntu_linux:golang-1.14, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:redhat:enterprise_linux:9, cpe:/o:debian:debian_linux:12.0, p-cpe:/a:canonical:ubuntu_linux:golang-1.13, p-cpe:/a:redhat:enterprise_linux:osbuild-composer, p-cpe:/a:redhat:enterprise_linux:osbuild-composer-core, p-cpe:/a:redhat:enterprise_linux:osbuild-composer-dnf-json, p-cpe:/a:redhat:enterprise_linux:osbuild-composer-worker, p-cpe:/a:centos:centos:osbuild-composer, p-cpe:/a:centos:centos:osbuild-composer-core, p-cpe:/a:centos:centos:osbuild-composer-dnf-json, p-cpe:/a:centos:centos:osbuild-composer-worker, p-cpe:/a:canonical:ubuntu_linux:golang-1.6, p-cpe:/a:canonical:ubuntu_linux:golang-1.9, p-cpe:/a:centos:centos:ignition

Required KB Items: Host/local_checks_enabled, Host/cpu, global_settings/vendor_unpatched, Host/OS/identifier

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 9/7/2023

Reference Information

CVE: CVE-2023-39318