cve_id
stringlengths
13
16
cve_description
stringlengths
60
2.06k
cwe_info
unknown
repo
stringlengths
26
68
patch_url
listlengths
1
6
programing_language
stringclasses
3 values
vul_func
listlengths
1
5
fix_func
listlengths
1
9
image_url
stringlengths
49
52
CVE-2023-23947
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All Argo CD versions starting with 2.3.0-rc1 and prior to 2.3.17, 2.4.23 2.5.11, and 2.6.2 are vulnerable to an improper authorization bug which allows users who have the ability to update at least one cluster secret to update any cluster secret...
{ "CWE-863": { "name": "Incorrect Authorization", "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check." } }
https://github.com/argoproj/argo-cd
[ "https://github.com/argoproj/argo-cd/commit/fbb0b99b1ac3361b253052bd30259fa43a520945" ]
Go
[ { "id": "vul_go_51_1", "commit": "974c2de1686521437fa755a180b8d0593e9c0533", "file_path": "server/cluster/cluster.go", "start_line": 213, "end_line": 265, "snippet": "func (s *Server) Update(ctx context.Context, q *cluster.ClusterUpdateRequest) (*appv1.Cluster, error) {\n\tc, err := s.getClu...
[ { "id": "fix_go_51_1", "commit": "fbb0b99b1ac3361b253052bd30259fa43a520945", "file_path": "server/cluster/cluster.go", "start_line": 213, "end_line": 265, "snippet": "func (s *Server) Update(ctx context.Context, q *cluster.ClusterUpdateRequest) (*appv1.Cluster, error) {\n\tc, err := s.getClu...
ghcr.io/patcheval-cve/patcheval-cve:cve-2023-23947
CVE-2023-45128
Fiber's CSRF middleware has an improper token validation and token lifecycle flaw. After a legitimate unsafe request is processed, the middleware can take an internal raw value from its CSRF storage/session backend and expose it as the next client-visible CSRF token, then later accept that value as if it were a valid m...
{ "CWE-352": { "name": "Cross-Site Request Forgery (CSRF)", "description": "The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. " } }
https://github.com/gofiber/fiber
[ "https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a" ]
Go
[ { "id": "vul_go_81_1", "commit": "d736d3a64433385b0fc0189e16a36a2f4facb67d", "file_path": "middleware/csrf/csrf.go", "start_line": 26, "end_line": 138, "snippet": "func New(config ...Config) fiber.Handler {\n\t// Set default config\n\tcfg := configDefault(config...)\n\n\t// Create manager to...
[ { "id": "fix_go_81_1", "commit": "8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a", "file_path": "middleware/csrf/csrf.go", "start_line": 27, "end_line": 139, "snippet": "func New(config ...Config) fiber.Handler {\n\t// Set default config\n\tcfg := configDefault(config...)\n\n\t// Create manager to...
ghcr.io/patcheval-cve/patcheval-cve:cve-2023-45128
CVE-2024-3571
langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure o...
{ "CWE-73": { "name": "External Control of File Name or Path", "description": "The product allows user input to control or influence paths or file names that are used in filesystem operations." }, "CWE-22": { "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", ...
https://github.com/langchain-ai/langchain
[ "https://github.com/langchain-ai/langchain/commit/aad3d8bd47d7f5598156ff2bdcc8f736f24a7412" ]
Python
[ { "id": "vul_py_28_1", "commit": "501cc83", "file_path": "libs/langchain/langchain/storage/file_system.py", "start_line": 38, "end_line": 45, "snippet": " def __init__(self, root_path: Union[str, Path]) -> None:\n \"\"\"Implement the BaseStore interface for the local file system.\n...
[ { "id": "fix_py_28_1", "commit": "aad3d8b", "file_path": "libs/langchain/langchain/storage/file_system.py", "start_line": 39, "end_line": 46, "snippet": " def __init__(self, root_path: Union[str, Path]) -> None:\n \"\"\"Implement the BaseStore interface for the local file system.\n...
ghcr.io/patcheval-cve/patcheval-cve:cve-2024-3571
CVE-2025-24882
regclient does not reliably enforce the integrity of digest-pinned manifests when constructing manifest objects from registry responses. A malicious registry can control the returned manifest body and response metadata such as Docker-Content-Digest, and can provide digest metadata that conflicts with a digest pinned in...
{ "CWE-345": { "name": "Insufficient Verification of Data Authenticity", "description": "The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data." } }
https://github.com/regclient/regclient
[ "https://github.com/regclient/regclient/commit/7d17cff26c22196b5ddd66bda8c5ee4abf3d1269" ]
Go
[ { "id": "vul_go_75_1", "commit": "f869cf45b103dfe5f435642f5257b500d9650183", "file_path": "types/manifest/manifest.go", "start_line": 105, "end_line": 134, "snippet": "func New(opts ...Opts) (Manifest, error) {\n\tmc := manifestConfig{}\n\tfor _, opt := range opts {\n\t\topt(&mc)\n\t}\n\tc :...
[ { "id": "fix_go_75_1", "commit": "7d17cff26c22196b5ddd66bda8c5ee4abf3d1269", "file_path": "types/manifest/manifest.go", "start_line": 106, "end_line": 142, "snippet": "func New(opts ...Opts) (Manifest, error) {\n\tmc := manifestConfig{}\n\tfor _, opt := range opts {\n\t\topt(&mc)\n\t}\n\tc :...
ghcr.io/patcheval-cve/patcheval-cve:cve-2025-24882
CVE-2024-42005
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
{ "CWE-89": { "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special element...
https://github.com/django/django
[ "https://github.com/django/django/commit/f4af67b9b41e0f4c117a8741da3abbd1c869ab28", "https://github.com/django/django/commit/32ebcbf2e1fe3e5ba79a6554a167efce81f7422d" ]
Python
[ { "id": "vul_py_1_1", "commit": "523da87", "file_path": "django/db/models/sql/query.py", "start_line": 2442, "end_line": 2502, "snippet": " def set_values(self, fields):\n self.select_related = False\n self.clear_deferred_loading()\n self.clear_select_fields()\n ...
[ { "id": "fix_py_1_1", "commit": "32ebcbf", "file_path": "django/db/models/sql/query.py", "start_line": 2442, "end_line": 2504, "snippet": " def set_values(self, fields):\n self.select_related = False\n self.clear_deferred_loading()\n self.clear_select_fields()\n ...
ghcr.io/patcheval-cve/patcheval-cve:cve-2024-42005
CVE-2025-24366
SFTPGo is an open source, event-driven file transfer solution. SFTPGo supports execution of a defined set of commands via SSH. Besides a set of default commands some optional commands can be activated, one of them being `rsync`. It is disabled in the default configuration and it is limited to the local filesystem, it d...
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/drakkan/sftpgo
[ "https://github.com/drakkan/sftpgo/commit/b347ab6051f6c501da205c09315fe99cd1fa3ba1" ]
Go
[ { "id": "vul_go_37_1", "commit": "4611d05", "file_path": "internal/sftpd/ssh_cmd.go", "start_line": 386, "end_line": 455, "snippet": "func (c *sshCommand) getSystemCommand() (systemCommand, error) {\n\tcommand := systemCommand{\n\t\tcmd: nil,\n\t\tfs: nil,\n\t\tfsPath:...
[ { "id": "fix_go_37_1", "commit": "b347ab6", "file_path": "internal/sftpd/ssh_cmd.go", "start_line": 387, "end_line": 460, "snippet": "func (c *sshCommand) getSystemCommand() (systemCommand, error) {\n\tcommand := systemCommand{\n\t\tcmd: nil,\n\t\tfs: nil,\n\t\tfsPath:...
ghcr.io/patcheval-cve/patcheval-cve:cve-2025-24366
CVE-2020-7675
cd-messenger through 2.7.26 is vulnerable to Arbitrary Code Execution. User input provided to the `color` argument executed by the `eval` function resulting in code execution.
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/mikeerickson/cd-messenger
[ "https://github.com/mikeerickson/cd-messenger/commit/cbdf7d8c06463388fd4f088bfbdc5eeaa65eba56" ]
JavaScript
[ { "id": "vul_js_12_1", "commit": "f0ebcff", "file_path": "src/messenger-node.js", "start_line": 68, "end_line": 77, "snippet": " line: color => {\n if (color.length > 0) {\n try {\n eval(`cl.${color}()`); // eslint-disable-line\n }\n catch (e) {\n console.err...
[ { "id": "fix_js_12_1", "commit": "cbdf7d8", "file_path": "src/messenger-node.js", "start_line": 68, "end_line": 77, "snippet": " line: color => {\n if (color.length > 0) {\n if (typeof cl[color] === 'function') {\n cl[color]();\n }\n else {\n console.error(ch...
ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7675
CVE-2022-23857
model/criteria/criteria.go in Navidrome before 0.47.5 is vulnerable to SQL injection attacks when processing crafted Smart Playlists. An authenticated user could abuse this to extract arbitrary data from the database, including the user table (which contains sensitive information such as the users' encrypted passwords)...
{ "CWE-89": { "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special element...
https://github.com/navidrome/navidrome
[ "https://github.com/navidrome/navidrome/commit/9e79b5cbf2a48c1e4344df00fea4ed3844ea965d" ]
Go
[ { "id": "vul_go_29_1", "commit": "8c707b4", "file_path": "model/criteria/criteria.go", "start_line": 24, "end_line": 44, "snippet": "func (c Criteria) OrderBy() string {\n\tif c.Sort == \"\" {\n\t\tc.Sort = \"title\"\n\t}\n\tf := fieldMap[strings.ToLower(c.Sort)]\n\tvar mapped string\n\tif f...
[ { "id": "fix_go_29_1", "commit": "9e79b5c", "file_path": "model/criteria/criteria.go", "start_line": 24, "end_line": 48, "snippet": "func (c Criteria) OrderBy() string {\n\tif c.Sort == \"\" {\n\t\tc.Sort = \"title\"\n\t}\n\tf := fieldMap[strings.ToLower(c.Sort)]\n\tvar mapped string\n\tif f...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-23857
CVE-2022-36087
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. In OAuthLib versions 3.1.1 until 3.2.1, an attacker providing malicious redirect uri can cause denial of service. An attacker can also leverage usage of `uri_validate` functions depending where it is used. OAuthLib applications using OAut...
{ "CWE-601": { "name": "URL Redirection to Untrusted Site ('Open Redirect')", "description": "The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect." } }
https://github.com/oauthlib/oauthlib
[ "https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd" ]
Python
[ { "id": "vul_py_57_1", "commit": "b4bdd09", "file_path": "oauthlib/uri_validate.py", "start_line": 68, "end_line": 69, "snippet": "# IPv6address\nIPv6address = r\"([A-Fa-f0-9:]+:+)+[A-Fa-f0-9]+\"", "vul_localization": [ { "patch_lines": [ 2 ], "t...
[ { "id": "fix_py_57_1", "commit": "2e40b41", "file_path": "oauthlib/uri_validate.py", "start_line": 69, "end_line": 69, "snippet": "IPv6address = r\"([A-Fa-f0-9:]+[:$])[A-Fa-f0-9]{1,4}\"" } ]
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-36087
CVE-2020-7781
This affects the package connection-tester before 0.2.1. The injection point is located in line 15 in index.js. The following PoC demonstrates the vulnerability:
{ "CWE-77": { "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')", "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that...
https://github.com/skoranga/node-connection-tester
[ "https://github.com/skoranga/node-connection-tester/commit/c1dc374138e1a9d3361c4b8e1ddb1a81d4b45bee" ]
JavaScript
[ { "id": "vul_js_28_1", "commit": "7d7b7112d4bfe5a711b292fa046edd57e9da9266", "file_path": "index.js", "start_line": 78, "end_line": 95, "snippet": " test: function ConnectionTester(host, port, callbackOrConnectTimeout, callback) {\n\n // for backward compatibility\n if (type...
[ { "id": "fix_js_28_1", "commit": "c1dc374138e1a9d3361c4b8e1ddb1a81d4b45bee", "file_path": "index.js", "start_line": 85, "end_line": 128, "snippet": " test: function ConnectionTester(host, port, connectTimeout, callback) {\n\n // validate host\n if (!isValidHostNameOrIP(host)...
ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7781
CVE-2024-43405
Nuclei is a vulnerability scanner powered by YAML based templates. Starting in version 3.0.0 and prior to version 3.3.2, a vulnerability in Nuclei's template signature verification system could allow an attacker to bypass the signature check and possibly execute malicious code via custom code template. The vulnerabilit...
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/projectdiscovery/nuclei
[ "https://github.com/projectdiscovery/nuclei/commit/0da993afe6d41b4b1b814e8fad23a2acba13c60a" ]
Go
[ { "id": "vul_go_25_2", "commit": "4d5eb9c", "file_path": "pkg/templates/signer/tmpl_signer.go", "start_line": 71, "end_line": 106, "snippet": "func (t *TemplateSigner) Sign(data []byte, tmpl SignableTemplate) (string, error) {\n\t// while re-signing template check if it has a code protocol\n...
[ { "id": "fix_go_25_1", "commit": "0da993a", "file_path": "pkg/templates/signer/tmpl_signer.go", "start_line": 3, "end_line": 20, "snippet": "import (\n\t\"bytes\"\n\t\"crypto/ecdsa\"\n\t\"crypto/md5\"\n\t\"crypto/rand\"\n\t\"crypto/sha256\"\n\t\"encoding/gob\"\n\t\"encoding/hex\"\n\t\"errors...
ghcr.io/patcheval-cve/patcheval-cve:cve-2024-43405
CVE-2022-4643
A vulnerability was found in docconv up to 1.2.0. It has been declared as critical. This vulnerability affects the function ConvertPDFImages of the file pdf_ocr.go. The manipulation of the argument path leads to os command injection. The attack can be initiated remotely. Upgrading to version 1.2.1 is able to address th...
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/sajari/docconv
[ "https://github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5" ]
Go
[ { "id": "vul_go_38_1", "commit": "44d6739", "file_path": "pdf_ocr.go", "start_line": 112, "end_line": 123, "snippet": "func PDFHasImage(path string) bool {\n\tcmd := \"pdffonts -l 5 %s | tail -n +3 | cut -d' ' -f1 | sort | uniq\"\n\tout, err := exec.Command(\"bash\", \"-c\", fmt.Sprintf(cmd,...
[ { "id": "fix_go_38_1", "commit": "b19021ade3d0b71c89d35cb00eb9e589a121faa5", "file_path": "pdf_ocr.go", "start_line": 114, "end_line": 126, "snippet": "func PDFHasImage(path string) bool {\n\tcmd := \"pdffonts -l 5 %s | tail -n +3 | cut -d' ' -f1 | sort | uniq\"\n\tout, err := exec.Command(\...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-4643
CVE-2020-15278
Red Discord Bot before version 3.4.1 has an unauthorized privilege escalation exploit in the Mod module. This exploit allows Discord users with a high privilege level within the guild to bypass hierarchy checks when the application is in a specific condition that is beyond that user's control. By abusing this exploit, ...
{ "CWE-285": { "name": "Improper Authorization", "description": "The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action." }, "CWE-863": { "name": "Incorrect Authorization", "description": "The product performs an...
https://github.com/Cog-Creators/Red-DiscordBot
[ "https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b" ]
Python
[ { "id": "vul_py_62_1", "commit": "21f9a6f", "file_path": "redbot/cogs/mod/kickban.py", "start_line": 369, "end_line": 514, "snippet": " async def massban(\n self,\n ctx: commands.Context,\n user_ids: commands.Greedy[RawUserIds],\n days: Optional[int] = None,\n ...
[ { "id": "fix_py_62_1", "commit": "726bfd38adfdfaef760412a68e01447b470f438b", "file_path": "redbot/cogs/mod/kickban.py", "start_line": 369, "end_line": 527, "snippet": " async def massban(\n self,\n ctx: commands.Context,\n user_ids: commands.Greedy[RawUserIds],\n ...
ghcr.io/patcheval-cve/patcheval-cve:cve-2020-15278
CVE-2022-31130
Grafana is an open source observability and data visualization platform. Versions of Grafana for endpoints prior to 9.1.8 and 8.5.14 could leak authentication tokens to some destination plugins under some conditions. The vulnerability impacts data source and plugin proxy endpoints with authentication tokens. The destin...
{ "CWE-522": { "name": "Insufficiently Protected Credentials", "description": "The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval." } }
https://github.com/grafana/grafana
[ "https://github.com/grafana/grafana/commit/4dd56e4dabce10007bf4ba1059bf54178c35b177" ]
Go
[ { "id": "vul_go_70_2", "commit": "f68f621342ccd005bd2d8eb6ae234af3b0ef64ae", "file_path": "pkg/util/proxyutil/reverse_proxy.go", "start_line": 67, "end_line": 76, "snippet": "func wrapDirector(d func(*http.Request)) func(req *http.Request) {\n\treturn func(req *http.Request) {\n\t\td(req)\n\...
[ { "id": "fix_go_70_1", "commit": "4dd56e4dabce10007bf4ba1059bf54178c35b177", "file_path": "pkg/util/proxyutil/reverse_proxy.go", "start_line": 68, "end_line": 84, "snippet": "func wrapDirector(d func(*http.Request)) func(req *http.Request) {\n\treturn func(req *http.Request) {\n\t\tlist := c...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-31130
CVE-2024-53900
Mongoose is vulnerable to search injection when user-controlled populate() match options can introduce a $where query operator into the MongoDB query used to load populated documents. An attacker who can influence populate match criteria, whether through literal match objects or match callback return values, can cause ...
{ "CWE-89": { "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special element...
https://github.com/Automattic/mongoose
[ "https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156", "https://github.com/Automattic/mongoose/commit/33679bcf8ca43d74e3e8ecd4cc224826772d805b" ]
JavaScript
[ { "id": "vul_js_4_1", "commit": "b34aba6", "file_path": "lib/helpers/populate/getModelsMapForPopulate.js", "start_line": 21, "end_line": 351, "snippet": "module.exports = function getModelsMapForPopulate(model, docs, options) {\n let doc;\n const len = docs.length;\n const map = [];\n co...
[ { "id": "fix_js_4_1", "commit": "c9e86bf", "file_path": "lib/helpers/populate/getModelsMapForPopulate.js", "start_line": 21, "end_line": 360, "snippet": "module.exports = function getModelsMapForPopulate(model, docs, options) {\n let doc;\n const len = docs.length;\n const map = [];\n co...
ghcr.io/patcheval-cve/patcheval-cve:cve-2024-53900
CVE-2021-37712
The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that e...
{ "CWE-73": { "name": "External Control of File Name or Path", "description": "The product allows user input to control or influence paths or file names that are used in filesystem operations." }, "CWE-22": { "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", ...
https://github.com/isaacs/node-tar
[ "https://github.com/isaacs/node-tar/commit/1739408d3122af897caefd09662bce2ea477533b", "https://github.com/isaacs/node-tar/commit/2f1bca027286c23e110b8dfc7efc10756fa3db5a", "https://github.com/isaacs/node-tar/commit/b6162c7fafe797f856564ef37f4b82747f051455", "https://github.com/isaacs/node-tar/commit/bb93ba243...
JavaScript
[ { "id": "vul_js_56_1", "commit": "d56f790bda9fea807dd80c5083f24771dbdd6eb1", "file_path": "lib/path-reservations.js", "start_line": 13, "end_line": 128, "snippet": "module.exports = () => {\n // path => [function or Set]\n // A Set object means a directory reservation\n // A fn is a direc...
[ { "id": "fix_js_56_1", "commit": "1739408d3122af897caefd09662bce2ea477533b", "file_path": "lib/path-reservations.js", "start_line": 17, "end_line": 149, "snippet": "module.exports = () => {\n // path => [function or Set]\n // A Set object means a directory reservation\n // A fn is a direc...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-37712
CVE-2022-21699
IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Affected versions are subject to an arbitrary code execution vulnerability achieved by not properly managing cross user temporary files. This vulnerabili...
{ "CWE-285": { "name": "Improper Authorization", "description": "The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action." }, "CWE-250": { "name": "Execution with Unnecessary Privileges", "description": "The produ...
https://github.com/ipython/ipython
[ "https://github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668", "https://github.com/ipython/ipython/commit/5fa1e409d2dc126c456510c16ece18e08b524e5b", "https://github.com/ipython/ipython/commit/a06ca837273271b4acb82c29be97c0b6d12a30ea", "https://github.com/ipython/ipython/commit/67ca2b3aa...
Python
[ { "id": "vul_py_13_1", "commit": "50b3d1f", "file_path": "IPython/core/profiledir.py", "start_line": 184, "end_line": 209, "snippet": " def find_profile_dir_by_name(cls, ipython_dir, name=u'default', config=None):\n \"\"\"Find an existing profile dir by profile name, return its Pro...
[ { "id": "fix_py_13_1", "commit": "46a51ed", "file_path": "IPython/core/profiledir.py", "start_line": 184, "end_line": 209, "snippet": " def find_profile_dir_by_name(cls, ipython_dir, name=u'default', config=None):\n \"\"\"Find an existing profile dir by profile name, return its Pro...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-21699
CVE-2021-43798
Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed...
{ "CWE-73": { "name": "External Control of File Name or Path", "description": "The product allows user input to control or influence paths or file names that are used in filesystem operations." }, "CWE-22": { "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", ...
https://github.com/grafana/grafana
[ "https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce" ]
Go
[ { "id": "vul_go_13_1", "commit": "a2ad0a0", "file_path": "pkg/api/plugins.go", "start_line": 284, "end_line": 331, "snippet": "func (hs *HTTPServer) getPluginAssets(c *models.ReqContext) {\n\tpluginID := web.Params(c.Req)[\":pluginId\"]\n\tplugin, exists := hs.pluginStore.Plugin(c.Req.Contex...
[ { "id": "fix_go_13_1", "commit": "c798c0e", "file_path": "pkg/api/plugins.go", "start_line": 284, "end_line": 344, "snippet": "func (hs *HTTPServer) getPluginAssets(c *models.ReqContext) {\n\tpluginID := web.Params(c.Req)[\":pluginId\"]\n\tplugin, exists := hs.pluginStore.Plugin(c.Req.Contex...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-43798
CVE-2018-3785
A command injection in git-dummy-commit v1.3.0 allows os level commands to be executed due to an unescaped parameter.
{ "CWE-78": { "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')", "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special el...
https://github.com/stevemao/git-dummy-commit
[ "https://github.com/stevemao/git-dummy-commit/commit/71ab972fc7cd5f49b15a9eb82b9df2e41100d391" ]
JavaScript
[ { "id": "vul_js_43_2", "commit": "927a226f2419f16aac4335a080b392edbc10c27d", "file_path": "index.js", "start_line": 14, "end_line": 40, "snippet": "module.exports = function (msg, silent) {\n\tvar arg = '';\n\n\tmsg = makeDefault(msg);\n\n\tif (silent === undefined) {\n\t\tsilent = true;\n\t...
[ { "id": "fix_js_43_2", "commit": "71ab972fc7cd5f49b15a9eb82b9df2e41100d391", "file_path": "index.js", "start_line": 14, "end_line": 38, "snippet": "module.exports = function (msg, silent) {\n\tvar args = [];\n\n\tmsg = makeDefault(msg);\n\n\tif (silent === undefined) {\n\t\tsilent = true;\n\...
ghcr.io/patcheval-cve/patcheval-cve:cve-2018-3785
CVE-2023-26145
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 attr...
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/dgilland/pydash
[ "https://github.com/dgilland/pydash/commit/6ff0831ad285fff937cafd2a853f20cc9ae92021" ]
Python
[ { "id": "vul_py_43_1", "commit": "1947d2a", "file_path": "src/pydash/helpers.py", "start_line": 178, "end_line": 186, "snippet": "def _base_get_object(obj, key, default=UNSET):\n value = _base_get_item(obj, key, default=UNSET)\n if value is UNSET:\n value = default\n try:...
[ { "id": "fix_py_43_1", "commit": "6ff0831ad285fff937cafd2a853f20cc9ae92021", "file_path": "src/pydash/helpers.py", "start_line": 178, "end_line": 187, "snippet": "def _base_get_object(obj, key, default=UNSET):\n value = _base_get_item(obj, key, default=UNSET)\n if value is UNSET:\n ...
ghcr.io/patcheval-cve/patcheval-cve:cve-2023-26145
CVE-2022-0155
follow-redirects is vulnerable to Exposure of Private Personal Information to an Unauthorized Actor
{ "CWE-359": { "name": "Exposure of Private Personal Information to an Unauthorized Actor", "description": "The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the...
https://github.com/follow-redirects/follow-redirects
[ "https://github.com/follow-redirects/follow-redirects/commit/8b347cbcef7c7b72a6e9be20f5710c17d6163c22" ]
JavaScript
[ { "id": "vul_js_51_1", "commit": "6f5029a", "file_path": "index.js", "start_line": 322, "end_line": 430, "snippet": "RedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackR...
[ { "id": "fix_js_51_1", "commit": "8b347cbcef7c7b72a6e9be20f5710c17d6163c22", "file_path": "index.js", "start_line": 322, "end_line": 430, "snippet": "RedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.status...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0155
CVE-2021-23387
The package trailing-slash before 2.0.1 are vulnerable to Open Redirect via the use of trailing double slashes in the URL when accessing the vulnerable endpoint (such as https://example.com//attacker.example/). The vulnerable code is in index.js::createTrailing(), as the web server uses relative URLs instead of absolut...
{ "CWE-601": { "name": "URL Redirection to Untrusted Site ('Open Redirect')", "description": "The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect." } }
https://github.com/fardog/trailing-slash
[ "https://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048" ]
JavaScript
[ { "id": "vul_js_40_1", "commit": "003b706", "file_path": "index.js", "start_line": 5, "end_line": 39, "snippet": "function createTrailing (_options, _next) {\n var next = typeof _options === 'function' ? _options : _next\n var options = typeof _options === 'object' ? _options : {}\n var s...
[ { "id": "fix_js_40_1", "commit": "f8e66f1429308247e5a119d430203077d8f05048", "file_path": "index.js", "start_line": 5, "end_line": 39, "snippet": "function createTrailing (_options, _next) {\n var next = typeof _options === 'function' ? _options : _next\n var options = typeof _options === ...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-23387
CVE-2023-41891
FlyteAdmin is the control plane for Flyte responsible for managing entities and administering workflow executions. Prior to version 1.1.124, list endpoints on FlyteAdmin have a SQL vulnerability where a malicious user can send a REST request with custom SQL statements as list filters. The attacker needs to have access ...
{ "CWE-89": { "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special element...
https://github.com/flyteorg/flyteadmin
[ "https://github.com/flyteorg/flyteadmin/commit/b3177ef70f068e908140b8a4a9913dfa74f289fd" ]
Go
[ { "id": "vul_go_33_2", "commit": "6c97bb9", "file_path": "pkg/common/sorting.go", "start_line": 26, "end_line": 39, "snippet": "func NewSortParameter(sort admin.Sort) (SortParameter, error) {\n\tvar gormOrderExpression string\n\tswitch sort.Direction {\n\tcase admin.Sort_DESCENDING:\n\t\tgor...
[ { "id": "fix_go_33_1", "commit": "b3177ef", "file_path": "pkg/common/sorting.go", "start_line": 27, "end_line": 49, "snippet": "func NewSortParameter(sort *admin.Sort, allowed sets.String) (SortParameter, error) {\n\tif sort == nil {\n\t\treturn nil, nil\n\t}\n\n\tkey := sort.Key\n\tif !allo...
ghcr.io/patcheval-cve/patcheval-cve:cve-2023-41891
CVE-2024-49750
The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Prior to version 3.12.3, when the logging level was set by the user to DEBUG, the Connector could have logged Duo passcodes (when specified via the `passcode` pa...
{ "CWE-532": { "name": "Insertion of Sensitive Information into Log File", "description": "The product writes sensitive information to a log file." } }
https://github.com/snowflakedb/snowflake-connector-python
[ "https://github.com/snowflakedb/snowflake-connector-python/commit/dbc9284a3c0382c131b971b35e8d6ab93c46f37a" ]
Python
[ { "id": "vul_py_69_1", "commit": "7ddbf3175f05e0ec1410487938d6eed2f73539a8", "file_path": "src/snowflake/connector/secret_detector.py", "start_line": 22, "end_line": 53, "snippet": "class SecretDetector(logging.Formatter):\n AWS_KEY_PATTERN = re.compile(\n r\"(aws_key_id|aws_secret...
[ { "id": "fix_py_69_1", "commit": "dbc9284a3c0382c131b971b35e8d6ab93c46f37a", "file_path": "src/snowflake/connector/secret_detector.py", "start_line": 22, "end_line": 53, "snippet": "class SecretDetector(logging.Formatter):\n AWS_KEY_PATTERN = re.compile(\n r\"(aws_key_id|aws_secret...
ghcr.io/patcheval-cve/patcheval-cve:cve-2024-49750
CVE-2023-39660
PandasAI executes Python code generated from user-controlled prompts in its prompt/run_code workflow. A remote attacker can craft a prompt that causes the generated code to escape the intended restricted execution environment by abusing exposed Python builtins, dunder attributes, object introspection chains such as sub...
{ "CWE-94": { "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syn...
https://github.com/gventuri/pandas-ai
[ "https://github.com/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5" ]
Python
[ { "id": "vul_py_60_1", "commit": "b452b3b", "file_path": "pandasai/__init__.py", "start_line": 589, "end_line": 616, "snippet": " def _clean_code(self, code: str) -> str:\n \"\"\"\n A method to clean the code to prevent malicious code execution\n\n Args:\n ...
[ { "id": "fix_py_60_1", "commit": "3aac79be8fc1d18b53d66a566adddbbdd2b38ad5", "file_path": "pandasai/__init__.py", "start_line": 607, "end_line": 634, "snippet": " def _clean_code(self, code: str) -> str:\n \"\"\"\n A method to clean the code to prevent malicious code executi...
ghcr.io/patcheval-cve/patcheval-cve:cve-2023-39660
CVE-2022-28346
An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.
{ "CWE-89": { "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special element...
https://github.com/django/django
[ "https://github.com/django/django/commit/93cae5cb2f9a4ef1514cf1a41f714fef08005200", "https://github.com/django/django/commit/2c09e68ec911919360d5f8502cefc312f9e03c5d", "https://github.com/django/django/commit/2044dac5c6968441be6f534c4139bcf48c5c7e48", "https://github.com/django/django/commit/800828887a0509ad1...
Python
[ { "id": "vul_py_2_1", "commit": "bdb92db", "file_path": "django/db/models/sql/query.py", "start_line": 1037, "end_line": 1045, "snippet": " def add_annotation(self, annotation, alias, is_summary=False, select=True):\n \"\"\"Add a single annotation expression to the Query.\"\"\"\n ...
[ { "id": "fix_py_2_3", "commit": "2044dac", "file_path": "django/db/models/sql/query.py", "start_line": 51, "end_line": 51, "snippet": "FORBIDDEN_ALIAS_PATTERN = _lazy_re_compile(r\"['`\\\"\\]\\[;\\s]|--|/\\*|\\*/\")" }, { "id": "fix_py_2_1", "commit": "2044dac", "file_path": ...
ghcr.io/patcheval-cve/patcheval-cve:cve-2022-28346
CVE-2021-37713
The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be outside of the extraction target directory is not extracted. This is, in part, accomplished...
{ "CWE-73": { "name": "External Control of File Name or Path", "description": "The product allows user input to control or influence paths or file names that are used in filesystem operations." }, "CWE-22": { "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", ...
https://github.com/isaacs/node-tar
[ "https://github.com/isaacs/node-tar/commit/52b09e309bcae0c741a7eb79a17ef36e7828b946", "https://github.com/isaacs/node-tar/commit/82eac952f7c10765969ed464e549375854b26edc", "https://github.com/isaacs/node-tar/commit/875a37e3ec031186fc6599f6807341f56c584598" ]
JavaScript
[ { "id": "vul_js_57_1", "commit": "bb93ba2", "file_path": "lib/strip-absolute-path.js", "start_line": 5, "end_line": 14, "snippet": "module.exports = path => {\n let r = ''\n while (isAbsolute(path)) {\n // windows will think that //x/y/z has a \"root\" of //x/y/\n const root = path.c...
[ { "id": "fix_js_57_1", "commit": "52b09e3", "file_path": "lib/strip-absolute-path.js", "start_line": 10, "end_line": 24, "snippet": "module.exports = path => {\n let r = ''\n\n let parsed = parse(path)\n while (isAbsolute(path) || parsed.root) {\n // windows will think that //x/y/z has...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-37713
CVE-2021-23384
The package koa-remove-trailing-slashes before 2.0.2 are vulnerable to Open Redirect via the use of trailing double slashes in the URL when accessing the vulnerable endpoint (such as https://example.com//attacker.example/). The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URL...
{ "CWE-601": { "name": "URL Redirection to Untrusted Site ('Open Redirect')", "description": "The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect." } }
https://github.com/vgno/koa-remove-trailing-slashes
[ "https://github.com/vgno/koa-remove-trailing-slashes/commit/e7ce4000e9fe4d957332df1056640a22ebea28ee" ]
JavaScript
[ { "id": "vul_js_3_1", "commit": "b7da362", "file_path": "index.js", "start_line": 5, "end_line": 52, "snippet": "function removeTrailingSlashes(opts) {\n opts = opts || {};\n\n if (opts.defer !== false) {\n opts.defer = opts.defer || true;\n }\n\n if (opts.chained !== fals...
[ { "id": "fix_js_3_1", "commit": "e7ce400", "file_path": "index.js", "start_line": 5, "end_line": 56, "snippet": "function removeTrailingSlashes(opts) {\n opts = opts || {};\n\n if (opts.defer !== false) {\n opts.defer = opts.defer || true;\n }\n\n if (opts.chained !== fals...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-23384
CVE-2018-3778
Improper authorization in aedes version <0.35.0 will publish a LWT in a channel when a client is not authorized.
{ "CWE-285": { "name": "Improper Authorization", "description": "The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action." }, "CWE-250": { "name": "Execution with Unnecessary Privileges", "description": "The produ...
https://github.com/moscajs/aedes
[ "https://github.com/moscajs/aedes/commit/ffbc1702bb24b596afbb96407cc6db234a4044a8" ]
JavaScript
[ { "id": "vul_js_34_1", "commit": "1189ffe", "file_path": "lib/client.js", "start_line": 243, "end_line": 285, "snippet": " function finish () {\n if (!that.disconnected && that.will) {\n that.broker.publish(that.will, that, function (err) {\n if (!err) {\n that.broke...
[ { "id": "fix_js_34_1", "commit": "ffbc170", "file_path": "lib/client.js", "start_line": 243, "end_line": 293, "snippet": " function finish () {\n if (!that.disconnected && that.will) {\n that.broker.authorizePublish(that, that.will, function (err) {\n if (!err) {\n t...
ghcr.io/patcheval-cve/patcheval-cve:cve-2018-3778
CVE-2021-41803
HashiCorp Consul's Auto Config RPC uses caller-supplied request fields such as the node name and segment name when interpolating variables into JWT claim assertion expressions. These values are not sufficiently validated before interpolation, allowing malformed names or expression metacharacters to break out of the int...
{ "CWE-862": { "name": "Missing Authorization", "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action." } }
https://github.com/hashicorp/consul
[ "https://github.com/hashicorp/consul/commit/fb3e29ec22ccda61f03da7e8e15e84da64f7fe82" ]
Go
[ { "id": "vul_go_47_1", "commit": "aa89a3bcb1f2e960cbf66255fa53478e6a9ba4a1", "file_path": "agent/consul/auto_config_endpoint.go", "start_line": 56, "end_line": 117, "snippet": "func (a *jwtAuthorizer) Authorize(req *pbautoconf.AutoConfigRequest) (AutoConfigOptions, error) {\n\t// perform bas...
[ { "id": "fix_go_47_1", "commit": "fb3e29ec22ccda61f03da7e8e15e84da64f7fe82", "file_path": "agent/consul/auto_config_endpoint.go", "start_line": 61, "end_line": 139, "snippet": "var invalidSegmentName = regexp.MustCompile(\"[`'\\\"\\\\s]+\")\n\nfunc (a *jwtAuthorizer) Authorize(req *pbautocon...
ghcr.io/patcheval-cve/patcheval-cve:cve-2021-41803