CVE-2023-26145
Apache Pydash Command Injection
Description
This affects versions of the package pydash before 6.0.0. A number of pydash methods such as pydash.objects.invoke() and pydash.collections.invoke_map() accept dotted paths (Deep Path Strings) to target a nested Python object, relative to the original source object. These paths can be used to target internal class attributes and dict items, to retrieve, modify or invoke nested Python objects. **Note:** The pydash.objects.invoke() method is vulnerable to Command Injection when the following prerequisites are satisfied: 1) The source object (argument 1) is not a built-in object such as list/dict (otherwise, the __init__.__globals__ path is not accessible) 2) The attacker has control over argument 2 (the path string) and argument 3 (the argument to pass to the invoked method) The pydash.collections.invoke_map() method is also vulnerable, but is harder to exploit as the attacker does not have direct control over the argument to be passed to the invoked function.
INFO
Published Date :
Sept. 28, 2023, 5:15 a.m.
Last Modified :
Nov. 21, 2024, 7:50 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.2
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-26145
.
URL | Resource |
---|---|
https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca | Exploit Third Party Advisory |
https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021 | Patch |
https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518 | Third Party Advisory |
https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca | Exploit Third Party Advisory |
https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021 | Patch |
https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518 | Third Party 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).
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-26145
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-26145
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca Added Reference https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021 Added Reference https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518 -
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 Added CWE Snyk CWE-78 -
Initial Analysis by [email protected]
Oct. 03, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca No Types Assigned https://gist.github.com/CalumHutton/45d33e9ea55bf4953b3b31c84703dfca Exploit, Third Party Advisory Changed Reference Type https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021 No Types Assigned https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021 Patch Changed Reference Type https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518 No Types Assigned https://security.snyk.io/vuln/SNYK-PYTHON-PYDASH-5916518 Third Party Advisory Added CWE NIST CWE-94 Added CWE NIST CWE-77 Added CPE Configuration OR *cpe:2.3:a:derrickgilland:pydash:*:*:*:*:*:*:*:* versions up to (excluding) 6.0.0
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-26145
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-26145
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.17 }} -0.00%
score
0.53843
percentile