9.8
CRITICAL
CVE-2023-24540
Apache Velocity JavaScript Whitelist Vulnerability (Code Injection)
Description

Not all valid JavaScript whitespace characters are 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.

INFO

Published Date :

May 11, 2023, 4:15 p.m.

Last Modified :

Nov. 7, 2023, 4:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-24540 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-24540 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Golang go
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-24540.

URL Resource
https://go.dev/cl/491616 Patch
https://go.dev/issue/59721 Issue Tracking Patch
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2023-1752 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : July 5, 2024, 2:18 p.m. This repo has been linked 40 different CVEs too.

ipmi-server docker container with Symfony router to connect Home Assistant with IPMI interfaces in a home lab setup.

PHP Dockerfile

Updated: 6 months, 2 weeks ago
1 stars 2 fork 2 watcher
Born at : Feb. 1, 2024, 6:52 p.m. This repo has been linked 4 different CVEs too.

golling - update golang to the latest version

cli command-line-tool go golang updater

Makefile Go

Updated: 1 year, 5 months ago
1 stars 0 fork 0 watcher
Born at : Feb. 26, 2023, 10:42 a.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-24540 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-24540 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Removed CWE Go Project CWE-74
  • Initial Analysis by [email protected]

    May. 22, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://go.dev/cl/491616 No Types Assigned https://go.dev/cl/491616 Patch
    Changed Reference Type https://go.dev/issue/59721 No Types Assigned https://go.dev/issue/59721 Issue Tracking, Patch
    Changed Reference Type https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU No Types Assigned https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU Mailing List, Release Notes
    Changed Reference Type https://pkg.go.dev/vuln/GO-2023-1752 No Types Assigned https://pkg.go.dev/vuln/GO-2023-1752 Vendor Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.19.9 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.20.0 up to (excluding) 1.20.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-24540 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-24540 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.28 }} 0.02%

score

0.68590

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability