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-2021-3155 | snapd 2.54.2 and earlier created ~/snap directories in user home directories without specifying owner-only permissions. This could allow a local attacker to read information that should have been private. Fixed in snapd versions 2.54.3+18.04, 2.54.3+20.04 and 2.54.3+21.10.1 | {
"CWE-276": {
"name": "Incorrect Default Permissions",
"description": "During installation, installed file permissions are set to allow anyone to modify those files."
}
} | https://github.com/snapcore/snapd | [
"https://github.com/snapcore/snapd/commit/6bcaeeccd16ed8298a301dd92f6907f88c24cc85"
] | Go | [
{
"id": "vul_go_43_1",
"commit": "5b6f77a",
"file_path": "cmd/snap/cmd_run.go",
"start_line": 376,
"end_line": 414,
"snippet": "func createUserDataDirs(info *snap.Info) error {\n\t// Adjust umask so that the created directories have the permissions we\n\t// expect and are unaffected by the i... | [
{
"id": "fix_go_43_1",
"commit": "7d2a966",
"file_path": "cmd/snap/cmd_run.go",
"start_line": 376,
"end_line": 418,
"snippet": "func createUserDataDirs(info *snap.Info) error {\n\t// Adjust umask so that the created directories have the permissions we\n\t// expect and are unaffected by the i... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-3155 |
CVE-2021-3664 | url-parse is vulnerable to URL Redirection to Untrusted Site | {
"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/unshiftio/url-parse | [
"https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0"
] | JavaScript | [
{
"id": "vul_js_50_1",
"commit": "ee22050",
"file_path": "index.js",
"start_line": 116,
"end_line": 129,
"snippet": "function extractProtocol(address) {\n address = trimLeft(address);\n\n var match = protocolre.exec(address)\n , protocol = match[1] ? match[1].toLowerCase() : ''\n , s... | [
{
"id": "fix_js_50_1",
"commit": "81ab967889b08112d3356e451bf03e6aa0cbb7e0",
"file_path": "index.js",
"start_line": 135,
"end_line": 163,
"snippet": "function extractProtocol(address, location) {\n address = trimLeft(address);\n location = location || {};\n\n var match = protocolre.exec(a... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-3664 |
CVE-2022-21683 | Wagtail is a Django based content management system focused on flexibility and user experience. When notifications for new replies in comment threads are sent, they are sent to all users who have replied or commented anywhere on the site, rather than only in the relevant threads. This means that a user could listen in ... | {
"CWE-200": {
"name": "Exposure of Sensitive Information to an Unauthorized Actor",
"description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
}
} | https://github.com/wagtail/wagtail | [
"https://github.com/wagtail/wagtail/commit/5fe901e5d86ed02dbbb63039a897582951266afd"
] | Python | [
{
"id": "vul_py_16_1",
"commit": "335ece5",
"file_path": "wagtail/admin/views/pages/edit.py",
"start_line": 121,
"end_line": 197,
"snippet": " def send_commenting_notifications(self, changes):\n \"\"\"\n Sends notifications about any changes to comments to anyone who is subs... | [
{
"id": "fix_py_16_1",
"commit": "5fe901e",
"file_path": "wagtail/admin/views/pages/edit.py",
"start_line": 121,
"end_line": 197,
"snippet": " def send_commenting_notifications(self, changes):\n \"\"\"\n Sends notifications about any changes to comments to anyone who is subs... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-21683 |
CVE-2022-0639 | Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7. | {
"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."
},
"CWE-639": {
"name": "Authorization Bypass Through User-Controlled Key",
"description": "The system's authorizat... | https://github.com/unshiftio/url-parse | [
"https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788"
] | JavaScript | [
{
"id": "vul_js_39_1",
"commit": "88df234",
"file_path": "index.js",
"start_line": 522,
"end_line": 552,
"snippet": "function toString(stringify) {\n if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;\n\n var query\n , url = this\n , protocol = url.protocol;... | [
{
"id": "fix_js_39_1",
"commit": "ef45a13",
"file_path": "index.js",
"start_line": 522,
"end_line": 563,
"snippet": "function toString(stringify) {\n if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;\n\n var query\n , url = this\n , protocol = url.protocol;... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0639 |
CVE-2021-33420 | A deserialization issue discovered in inikulin replicator before 1.0.4 allows remote attackers to run arbitrary code via the fromSerializable function in TypedArray object. | {
"CWE-502": {
"name": "Deserialization of Untrusted Data",
"description": "The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid."
}
} | https://github.com/inikulin/replicator | [
"https://github.com/inikulin/replicator/commit/2c626242fb4a118855262c64b5731b2ce98e521b"
] | JavaScript | [
{
"id": "vul_js_64_1",
"commit": "8eb0892",
"file_path": "index.js",
"start_line": 13,
"end_line": 27,
"snippet": "var ARRAY_BUFFER_SUPPORTED = typeof ArrayBuffer === 'function';\nvar MAP_SUPPORTED = typeof Map === 'function';\nvar SET_SUPPORTED = typeof Set === 'function';... | [
{
"id": "fix_js_64_1",
"commit": "2c626242fb4a118855262c64b5731b2ce98e521b",
"file_path": "index.js",
"start_line": 13,
"end_line": 35,
"snippet": "var TYPED_ARRAY_CTORS = {\n 'Int8Array': Int8Array,\n 'Uint8Array': Uint8Array,\n 'Uint8ClampedArray': Uint8ClampedArray... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-33420 |
CVE-2017-1001004 | typed-function dynamically generates and evaluates JavaScript source when creating typed functions. An attacker who can control the function name argument passed to typed(name, signatures) can embed JavaScript syntax in that name; if the name is concatenated into the generated source without proper validation or encodi... | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/josdejong/typed-function | [
"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"
] | JavaScript | [
{
"id": "vul_js_66_1",
"commit": "9a8cac3",
"file_path": "typed-function.js",
"start_line": 1079,
"end_line": 1124,
"snippet": " function _typed(name, signatures) {\n var refs = new Refs();\n\n // parse signatures, expand them\n var _signatures = parseSignatures(signatures)... | [
{
"id": "fix_js_66_1",
"commit": "6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe",
"file_path": "typed-function.js",
"start_line": 1079,
"end_line": 1127,
"snippet": " function _typed(name, signatures) {\n var refs = new Refs();\n\n // parse signatures, expand them\n var _signatu... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-1001004 |
CVE-2024-5138 | The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would no... | {
"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/canonical/snapd | [
"https://github.com/canonical/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14"
] | Go | [
{
"id": "vul_go_10_1",
"commit": "8410608",
"file_path": "overlord/hookstate/ctlcmd/ctlcmd.go",
"start_line": 183,
"end_line": 193,
"snippet": "func isAllowedToRun(uid uint32, args []string) bool {\n\t// A command can run if any of the following are true:\n\t//\t* It runs as root\n\t//\t* It... | [
{
"id": "fix_go_10_1",
"commit": "68ee9c6",
"file_path": "overlord/hookstate/ctlcmd/ctlcmd.go",
"start_line": 186,
"end_line": 215,
"snippet": "func isAllowedToRun(uid uint32, args []string) bool {\n\t// Root can run all snapctl commands.\n\tif uid == 0 {\n\t\treturn true\n\t}\n\n\tfor idx, ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-5138 |
CVE-2024-3848 | A path traversal vulnerability exists in mlflow/mlflow version 2.11.0, identified as a bypass for the previously addressed CVE-2023-6909. The vulnerability arises from the application's handling of artifact URLs, where a '#' character can be used to insert a path into the fragment, effectively skipping validation. This... | {
"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/mlflow/mlflow | [
"https://github.com/mlflow/mlflow/commit/f8d51e21523238280ebcfdb378612afd7844eca8"
] | Python | [
{
"id": "vul_py_32_1",
"commit": "c01c02a",
"file_path": "mlflow/server/handlers.py",
"start_line": 589,
"end_line": 612,
"snippet": "def _create_experiment():\n request_message = _get_request_message(\n CreateExperiment(),\n schema={\n \"name\": [_assert_required... | [
{
"id": "fix_py_32_1",
"commit": "f8d51e2",
"file_path": "mlflow/server/handlers.py",
"start_line": 589,
"end_line": 616,
"snippet": "def _create_experiment():\n request_message = _get_request_message(\n CreateExperiment(),\n schema={\n \"name\": [_assert_required... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-3848 |
CVE-2015-8213 | The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY. | {
"CWE-200": {
"name": "Exposure of Sensitive Information to an Unauthorized Actor",
"description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
}
} | https://github.com/django/django | [
"https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4"
] | Python | [
{
"id": "vul_py_12_1",
"commit": "710e11d",
"file_path": "django/utils/formats.py",
"start_line": 85,
"end_line": 120,
"snippet": "def get_format(format_type, lang=None, use_l10n=None):\n \"\"\"\n For a specific format type, returns the format for the current\n language (locale), de... | [
{
"id": "fix_py_12_1",
"commit": "316bc3fc9437c5960c24baceb93c73f1939711e4",
"file_path": "django/utils/formats.py",
"start_line": 103,
"end_line": 140,
"snippet": "def get_format(format_type, lang=None, use_l10n=None):\n \"\"\"\n For a specific format type, returns the format for the ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2015-8213 |
CVE-2021-36157 | An issue was discovered in Grafana Cortex through 1.9.0. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Cortex will attempt to parse a rules file at that location and include some ... | {
"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/cortexproject/cortex | [
"https://github.com/cortexproject/cortex/commit/d9e1f81f40c607b9e97c2fc6db70ae54679917c4"
] | Go | [
{
"id": "vul_go_22_1",
"commit": "1e4e0ca",
"file_path": "pkg/tenant/resolver.go",
"start_line": 67,
"end_line": 74,
"snippet": "func (t *SingleResolver) TenantIDs(ctx context.Context) ([]string, error) {\n\t//lint:ignore faillint wrapper around upstream method\n\torgID, err := user.ExtractO... | [
{
"id": "fix_go_22_1",
"commit": "d9e1f81",
"file_path": "pkg/tenant/resolver.go",
"start_line": 91,
"end_line": 97,
"snippet": "func (t *SingleResolver) TenantIDs(ctx context.Context) ([]string, error) {\n\torgID, err := t.TenantID(ctx)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-36157 |
CVE-2020-28437 | This affects all versions of package heroku-env. The injection point is located in lib/get.js which is required by index.js. | {
"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/brianc/node-heroku-env | [
"https://github.com/brianc/node-heroku-env/commit/55830e3ab777d3565bd37c084e6abb7ebc5497e8"
] | JavaScript | [
{
"id": "vul_js_24_1",
"commit": "e3d881b",
"file_path": "lib/get.js",
"start_line": 2,
"end_line": 19,
"snippet": "module.exports = function(app, cb) {\n exec('heroku config --app ' + app, function(err, stdout) {\n if(err) return cb(err);\n var config = {}\n var lines = stdout.spl... | [
{
"id": "fix_js_24_1",
"commit": "5555830e3ab777d3565bd37c084e6abb7ebc5497e830e3",
"file_path": "lib/get.js",
"start_line": 2,
"end_line": 19,
"snippet": "var execFile = require('child_process').execFile;\nmodule.exports = function(app, cb) {\n execFile(`heroku`, [\"config\", \"--app\", app... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-28437 |
CVE-2018-7753 | An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized. | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/mozilla/bleach | [
"https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef"
] | Python | [
{
"id": "vul_py_67_1",
"commit": "e7f83b8",
"file_path": "bleach/sanitizer.py",
"start_line": 441,
"end_line": 489,
"snippet": " def sanitize_characters(self, token):\n \"\"\"Handles Characters tokens\n\n Our overridden tokenizer doesn't do anything with entities. However,\n... | [
{
"id": "fix_py_67_1",
"commit": "c5df5789ec3471a31311f42c2d19fc2cf21b35ef",
"file_path": "bleach/sanitizer.py",
"start_line": 493,
"end_line": 541,
"snippet": " def sanitize_characters(self, token):\n \"\"\"Handles Characters tokens\n\n Our overridden tokenizer doesn't do a... | ghcr.io/patcheval-cve/patcheval-cve:cve-2018-7753 |
CVE-2020-7613 | clamscan through 1.2.0 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the `_is_clamav_binary` function located within `Index.js`. It should be noted that this vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to ... | {
"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/kylefarris/clamscan | [
"https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538"
] | JavaScript | [
{
"id": "vul_js_23_1",
"commit": "d474da7",
"file_path": "index.js",
"start_line": 480,
"end_line": 505,
"snippet": " async _is_clamav_binary(scanner) {\n const path = this.settings[scanner].path || null;\n if (!path) {\n if (this.settings.debug_mode) console.log(... | [
{
"id": "fix_js_23_1",
"commit": "5f557c970817fe8c578ec3f7ad3bcbcef4cf5538",
"file_path": "index.js",
"start_line": 480,
"end_line": 505,
"snippet": " async _is_clamav_binary(scanner) {\n const path = this.settings[scanner].path || null;\n if (!path) {\n if (this.... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7613 |
CVE-2021-23363 | This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. | {
"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/GuyMograbi/kill-by-port | [
"https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4"
] | JavaScript | [
{
"id": "vul_js_10_1",
"commit": "16dcbe2",
"file_path": "index.js",
"start_line": 5,
"end_line": 16,
"snippet": "exports.killByPort = function (port) {\n var processId = null\n try {\n processId = exec(`lsof -t -i:${port}`)\n } catch (e) {\n\n }\n\n if (processId !== null) { // if e... | [
{
"id": "fix_js_10_1",
"commit": "ea5b1f3",
"file_path": "index.js",
"start_line": 5,
"end_line": 16,
"snippet": "exports.killByPort = function (port) {\n var processId = null\n try {\n processId = exec(`lsof -t -i:${parseInt(port, 10)}`)\n } catch (e) {\n\n }\n\n if (processId !== n... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-23363 |
CVE-2022-24738 | Evmos' claims module can incorrectly trust IBC transfer metadata from a counterparty chain when processing receive callbacks. An attacker who controls or connects a chain that does not enforce the same Ethereum key ownership/signature guarantees can craft an ICS-20 packet whose sender is a bech32 address on the counter... | {
"CWE-287": {
"name": "Improper Authentication",
"description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
}
} | https://github.com/tharsis/evmos | [
"https://github.com/tharsis/evmos/commit/28870258d4ee9f1b8aeef5eba891681f89348f71"
] | Go | [
{
"id": "vul_go_69_2",
"commit": "a5a1221",
"file_path": "x/claims/keeper/ibc_callbacks.go",
"start_line": 17,
"end_line": 105,
"snippet": "func (k Keeper) OnRecvPacket(\n\tctx sdk.Context,\n\tpacket channeltypes.Packet,\n\tack exported.Acknowledgement,\n) exported.Acknowledgement {\n\tparam... | [
{
"id": "fix_go_69_1",
"commit": "2887025",
"file_path": "x/claims/keeper/ibc_callbacks.go",
"start_line": 3,
"end_line": 14,
"snippet": "import (\n\t\"strings\"\n\n\tsdk \"github.com/cosmos/cosmos-sdk/types\"\n\tsdkerrors \"github.com/cosmos/cosmos-sdk/types/errors\"\n\ttransfertypes \"gith... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-24738 |
CVE-2019-10792 | bodymen before 1.1.1 is vulnerable to Prototype Pollution. The handler function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload. | {
"CWE-74": {
"name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
"description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or inc... | https://github.com/diegohaz/bodymen | [
"https://github.com/diegohaz/bodymen/commit/5d52e8cf360410ee697afd90937e6042c3a8653b"
] | JavaScript | [
{
"id": "vul_js_72_1",
"commit": "ad8881d",
"file_path": "src/index.js",
"start_line": 20,
"end_line": 26,
"snippet": "export function handler (type, name, fn) {\n if (arguments.length > 2) {\n handlers[type][name] = fn\n }\n\n return handlers[type][name]\n}",
"vul_localization": [... | [
{
"id": "fix_js_72_1",
"commit": "5d52e8cf360410ee697afd90937e6042c3a8653b",
"file_path": "src/index.js",
"start_line": 20,
"end_line": 34,
"snippet": "export function handler (type, name, fn) {\n if (\n type === 'constructor' ||\n type === '__proto__' ||\n name === 'constructor' |... | ghcr.io/patcheval-cve/patcheval-cve:cve-2019-10792 |
CVE-2019-10788 | im-metadata through 3.0.1 allows remote attackers to execute arbitrary commands via the "exec" argument. It is possible to inject arbitrary commands as part of the metadata options which is given to the "exec" function. | {
"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/Turistforeningen/node-im-metadata | [
"https://github.com/Turistforeningen/node-im-metadata/commit/ea15dddbe0f65694bfde36b78dd488e90f246639"
] | JavaScript | [
{
"id": "vul_js_11_1",
"commit": "049ce24dbb4302811b9247444347da6561605a8a",
"file_path": "index.js",
"start_line": 6,
"end_line": 21,
"snippet": "module.exports = function(path, opts, cb) {\n if (!cb) {\n cb = opts;\n opts = {};\n }\n\n var cmd = module.exports.cmd(path, opts);\n ... | [
{
"id": "fix_js_11_1",
"commit": "ea15dddbe0f65694bfde36b78dd488e90f246639",
"file_path": "index.js",
"start_line": 6,
"end_line": 24,
"snippet": "module.exports = function(path, opts, cb) {\n if (!cb) {\n cb = opts;\n opts = {};\n }\n\n if(/;|&|`|\\$|\\(|\\)|\\|\\||\\||!|>|<|\\?|\\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2019-10788 |
CVE-2023-32303 | Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the file as well. This issue was patched in version 2.0.1. As a wor... | {
"CWE-732": {
"name": "Incorrect Permission Assignment for Critical Resource",
"description": "The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."
}
} | https://github.com/planetlabs/planet-client-python | [
"https://github.com/planetlabs/planet-client-python/commit/d71415a83119c5e89d7b80d5f940d162376ee3b7"
] | Python | [
{
"id": "vul_py_52_1",
"commit": "9783607",
"file_path": "planet/auth.py",
"start_line": 229,
"end_line": 230,
"snippet": " def __init__(self, path):\n self.path = path",
"vul_localization": [
{
"patch_lines": [
1,
2
],
"tag": "... | [
{
"id": "fix_py_52_1",
"commit": "d71415a",
"file_path": "planet/auth.py",
"start_line": 230,
"end_line": 238,
"snippet": " def __init__(self, path: typing.Union[str, pathlib.Path]):\n self.path = pathlib.Path(path)\n\n self.permissions = stat.S_IRUSR | stat.S_IWUSR # user ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-32303 |
CVE-2024-23334 | aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the st... | {
"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/aio-libs/aiohttp | [
"https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b"
] | Python | [
{
"id": "vul_py_17_1",
"commit": "33ccdfb0a12690af5bb49bda2319ec0907fa7827",
"file_path": "aiohttp/web_urldispatcher.py",
"start_line": 558,
"end_line": 592,
"snippet": " def url_for( # type: ignore[override]\n self,\n *,\n filename: PathLike,\n append_version... | [
{
"id": "fix_py_17_1",
"commit": "1c335944d6a8b1298baf179b7c0b3069f10c514b",
"file_path": "aiohttp/web_urldispatcher.py",
"start_line": 558,
"end_line": 597,
"snippet": " def url_for( # type: ignore[override]\n self,\n *,\n filename: PathLike,\n append_version... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-23334 |
CVE-2023-24623 | Paranoidhttp before 0.3.0 allows SSRF because [::] is equivalent to the 127.0.0.1 address, but does not match the filter for private addresses. | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/hakobe/paranoidhttp | [
"https://github.com/hakobe/paranoidhttp/commit/07f671da14ce63a80f4e52432b32e8d178d75fd3"
] | Go | [
{
"id": "vul_go_40_1",
"commit": "a5a8577",
"file_path": "client.go",
"start_line": 112,
"end_line": 157,
"snippet": "func safeAddr(ctx context.Context, resolver *net.Resolver, hostport string, opts ...Option) (string, error) {\n\tc := basicConfig()\n\tfor _, opt := range opts {\n\t\topt(c)\... | [
{
"id": "fix_go_40_1",
"commit": "07f671d",
"file_path": "client.go",
"start_line": 112,
"end_line": 157,
"snippet": "func safeAddr(ctx context.Context, resolver *net.Resolver, hostport string, opts ...Option) (string, error) {\n\tc := basicConfig()\n\tfor _, opt := range opts {\n\t\topt(c)\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-24623 |
CVE-2024-5823 | The application exposes an online update operation in the ChuanhuChatGPT UI that can reach the repository update routine and modify application/configuration files without verifying that the caller is an authenticated administrator. An attacker who can access the Gradio web interface, including a request with no user i... | {
"CWE-610": {
"name": "Externally Controlled Reference to a Resource in Another Sphere",
"description": "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
}
} | https://github.com/gaizhenbiao/chuanhuchatgpt | [
"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/720c23d755a4a955dcb0a54e8c200a2247a27f8b"
] | Python | [
{
"id": "vul_py_56_1",
"commit": "ffea5e9",
"file_path": "modules/utils.py",
"start_line": 744,
"end_line": 760,
"snippet": "def update_chuanhu():\n from .repo import background_update\n\n print(\"[Updater] Trying to update...\")\n update_status = background_update()\n if update_... | [
{
"id": "fix_py_56_1",
"commit": "720c23d755a4a955dcb0a54e8c200a2247a27f8b",
"file_path": "ChuanhuChatbot.py",
"start_line": 784,
"end_line": 784,
"snippet": " [user_name],"
},
{
"id": "fix_py_56_2",
"commit": "720c23d755a4a955dcb0a54e8c200a2247a27f8b",
"file_path": "m... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-5823 |
CVE-2022-0691 | Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.9. | {
"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."
},
"CWE-639": {
"name": "Authorization Bypass Through User-Controlled Key",
"description": "The system's authorizat... | https://github.com/unshiftio/url-parse | [
"https://github.com/unshiftio/url-parse/commit/0e3fb542d60ddbf6933f22eb9b1e06e25eaa5b63"
] | JavaScript | [
{
"id": "vul_js_6_1",
"commit": "61864a8",
"file_path": "index.js",
"start_line": 3,
"end_line": 9,
"snippet": "var required = require('requires-port')\n , qs = require('querystringify')\n , CRHTLF = /[\\n\\r\\t]/g\n , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:\\/\\//\n , protocolre = /^([a-z]... | [
{
"id": "fix_js_6_1",
"commit": "0e3fb54",
"file_path": "index.js",
"start_line": 3,
"end_line": 9,
"snippet": "var required = require('requires-port')\n , qs = require('querystringify')\n , CRHTLF = /[\\n\\r\\t]/g\n , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:\\/\\//\n , protocolre = /^([a-z]... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0691 |
CVE-2021-41125 | Scrapy is a high-level web crawling and scraping framework for Python. If you use `HttpAuthMiddleware` (i.e. the `http_user` and `http_pass` spider attributes) for HTTP authentication, all requests will expose your credentials to the request target. This includes requests generated by Scrapy components, such as `robots... | {
"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/scrapy/scrapy | [
"https://github.com/scrapy/scrapy/commit/b01d69a1bf48060daec8f751368622352d8b85a6"
] | Python | [
{
"id": "vul_py_50_1",
"commit": "4183925",
"file_path": "scrapy/downloadermiddlewares/httpauth.py",
"start_line": 22,
"end_line": 26,
"snippet": " def spider_opened(self, spider):\n usr = getattr(spider, 'http_user', '')\n pwd = getattr(spider, 'http_pass', '')\n if ... | [
{
"id": "fix_py_50_1",
"commit": "b01d69a1bf48060daec8f751368622352d8b85a6",
"file_path": "scrapy/downloadermiddlewares/httpauth.py",
"start_line": 26,
"end_line": 40,
"snippet": " def spider_opened(self, spider):\n usr = getattr(spider, 'http_user', '')\n pwd = getattr(spid... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-41125 |
CVE-2016-10548 | Arbitrary code execution is possible in reduce-css-calc node module <=1.2.4 through crafted css. This makes cross sites scripting (XSS) possible on the client and arbitrary code injection possible on the server and user input is passed to the `calc` function. | {
"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/MoOx/reduce-css-calc | [
"https://github.com/MoOx/reduce-css-calc/commit/aebe8f7adce937c0fec4c1315e4113ef74cadb6a"
] | JavaScript | [
{
"id": "vul_js_26_1",
"commit": "da7bce7d90af3ebde50295f291fa445c7b56460e",
"file_path": "index.js",
"start_line": 40,
"end_line": 96,
"snippet": " function evaluateExpression (expression, functionIdentifier, call) {\n if (stack++ > MAX_STACK) {\n stack = 0\n throw new Error(\... | [
{
"id": "fix_js_26_1",
"commit": "aebe8f7adce937c0fec4c1315e4113ef74cadb6a",
"file_path": "index.js",
"start_line": 45,
"end_line": 101,
"snippet": " function evaluateExpression (expression, functionIdentifier, call) {\n if (stack++ > MAX_STACK) {\n stack = 0\n throw new Error(... | ghcr.io/patcheval-cve/patcheval-cve:cve-2016-10548 |
CVE-2020-26226 | In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `semantic-release` can be accidentally disclosed if they contain characters that become encoded when included in a URL. Secrets that do not contain characters that become encoded when included in a URL are already masked... | {
"CWE-116": {
"name": "Improper Encoding or Escaping of Output",
"description": "The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.... | https://github.com/semantic-release/semantic-release | [
"https://github.com/semantic-release/semantic-release/commit/ca90b34c4a9333438cc4d69faeb43362bb991e5a"
] | JavaScript | [
{
"id": "vul_js_75_1",
"commit": "63fa143",
"file_path": "lib/hide-sensitive.js",
"start_line": 4,
"end_line": 17,
"snippet": "module.exports = (env) => {\n const toReplace = Object.keys(env).filter((envVar) => {\n // https://github.com/semantic-release/semantic-release/issues/1558\n ... | [
{
"id": "fix_js_75_1",
"commit": "ca90b34c4a9333438cc4d69faeb43362bb991e5a",
"file_path": "lib/hide-sensitive.js",
"start_line": 4,
"end_line": 22,
"snippet": "module.exports = (env) => {\n const toReplace = Object.keys(env).filter((envVar) => {\n // https://github.com/semantic-release/s... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-26226 |
CVE-2022-29217 | PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify `jwt.algorithms... | {
"CWE-327": {
"name": "Use of a Broken or Risky Cryptographic Algorithm",
"description": "The product uses a broken or risky cryptographic algorithm or protocol."
}
} | https://github.com/jpadilla/pyjwt | [
"https://github.com/jpadilla/pyjwt/commit/9c528670c455b8d948aff95ed50e22940d1ad3fc"
] | Python | [
{
"id": "vul_py_71_1",
"commit": "24b29ad",
"file_path": "jwt/algorithms.py",
"start_line": 183,
"end_line": 199,
"snippet": " def prepare_key(self, key):\n key = force_bytes(key)\n\n invalid_strings = [\n b\"-----BEGIN PUBLIC KEY-----\",\n b\"-----BEGI... | [
{
"id": "fix_py_71_1",
"commit": "9c528670c455b8d948aff95ed50e22940d1ad3fc",
"file_path": "jwt/algorithms.py",
"start_line": 185,
"end_line": 194,
"snippet": " def prepare_key(self, key):\n key = force_bytes(key)\n\n if is_pem_format(key) or is_ssh_key(key):\n rai... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-29217 |
CVE-2023-25168 | Wings is Pterodactyl's server control plane. This vulnerability can be used to delete files and directories recursively on the host system. This vulnerability can be combined with `GHSA-p8r3-83r8-jwj5` to overwrite files on the host system. In order to use this exploit, an attacker must have an existing "server" alloc... | {
"CWE-59": {
"name": "Improper Link Resolution Before File Access ('Link Following')",
"description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
}
} | https://github.com/pterodactyl/wings | [
"https://github.com/pterodactyl/wings/commit/429ac62dba22997a278bc709df5ac00a5a25d83d"
] | Go | [
{
"id": "vul_go_83_1",
"commit": "020abec6f2b4aef70c50a99570de30bb87f0bf67",
"file_path": "server/filesystem/filesystem.go",
"start_line": 389,
"end_line": 431,
"snippet": "func (fs *Filesystem) Delete(p string) error {\n\twg := sync.WaitGroup{}\n\t// This is one of the few (only?) places in... | [
{
"id": "fix_go_83_1",
"commit": "429ac62dba22997a278bc709df5ac00a5a25d83d",
"file_path": "server/filesystem/filesystem.go",
"start_line": 389,
"end_line": 470,
"snippet": "func (fs *Filesystem) Delete(p string) error {\n\t// This is one of the few (only?) places in the codebase where we're ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-25168 |
CVE-2024-39877 | Apache Airflow's DAG documentation handling treats the DAG author-controlled `doc_md` value as template input and can render it with unsafe Jinja behavior during DAG parsing or scheduler-side processing. An authenticated DAG author can supply malicious documentation content, whether as inline markdown or documentation ... | {
"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/apache/airflow | [
"https://github.com/apache/airflow/commit/8159f6e24704f5e0e3b3217cf79ecf5083dce531"
] | Python | [
{
"id": "vul_py_20_1",
"commit": "09bbc9c",
"file_path": "airflow/models/dag.py",
"start_line": 771,
"end_line": 788,
"snippet": " def get_doc_md(self, doc_md: str | None) -> str | None:\n if doc_md is None:\n return doc_md\n\n env = self.get_template_env(force_sa... | [
{
"id": "fix_py_20_1",
"commit": "8159f6e",
"file_path": "airflow/models/dag.py",
"start_line": 771,
"end_line": 781,
"snippet": " def get_doc_md(self, doc_md: str | None) -> str | None:\n if doc_md is None:\n return doc_md\n\n if doc_md.endswith(\".md\"):\n ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-39877 |
CVE-2021-32783 | Contour is a Kubernetes ingress controller using Envoy proxy. In Contour before version 1.17.1 a specially crafted ExternalName type Service may be used to access Envoy's admin interface, which Contour normally prevents from access outside the Envoy container. This can be used to shut down Envoy remotely (a denial of s... | {
"CWE-610": {
"name": "Externally Controlled Reference to a Resource in Another Sphere",
"description": "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
}
} | https://github.com/projectcontour/contour | [
"https://github.com/projectcontour/contour/commit/b53a5c4fd927f4ea2c6cf02f1359d8e28bef852e"
] | Go | [
{
"id": "vul_go_42_1",
"commit": "b8136f7",
"file_path": "internal/dag/accessors.go",
"start_line": 54,
"end_line": 79,
"snippet": "func (dag *DAG) EnsureService(meta types.NamespacedName, port intstr.IntOrString, cache *KubernetesCache) (*Service, error) {\n\tsvc, svcPort, err := cache.Look... | [
{
"id": "fix_go_42_1",
"commit": "b53a5c4",
"file_path": "internal/dag/accessors.go",
"start_line": 54,
"end_line": 84,
"snippet": "func (dag *DAG) EnsureService(meta types.NamespacedName, port intstr.IntOrString, cache *KubernetesCache, enableExternalNameSvc bool) (*Service, error) {\n\tsvc... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-32783 |
CVE-2020-26294 | Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. In Vela compiler before version 0.6.1 there is a vulnerability which allows exposure of server configuration. It impacts all users of Vela. An attacker can use Sprig's `env` function to retrieve configuration informat... | {
"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/go-vela/compiler | [
"https://github.com/go-vela/compiler/commit/f1ace5f8a05c95c4d02264556e38a959ee2d9bda"
] | Go | [
{
"id": "vul_go_5_1",
"commit": "adf85cc6f434c069476eb3401cb9d9c1ea854585",
"file_path": "template/native/render.go",
"start_line": 16,
"end_line": 51,
"snippet": "func Render(tmpl string, s *types.Step) (types.StepSlice, error) {\n\tbuffer := new(bytes.Buffer)\n\tconfig := new(types.Build)\... | [
{
"id": "fix_go_5_1",
"commit": "f1ace5f8a05c95c4d02264556e38a959ee2d9bda",
"file_path": "template/native/render.go",
"start_line": 16,
"end_line": 58,
"snippet": "func Render(tmpl string, s *types.Step) (types.StepSlice, error) {\n\tbuffer := new(bytes.Buffer)\n\tconfig := new(types.Build)\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-26294 |
CVE-2022-3298 | Allocation of Resources Without Limits or Throttling in GitHub repository ikus060/rdiffweb prior to 2.4.8. | {
"CWE-770": {
"name": "Allocation of Resources Without Limits or Throttling",
"description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security... | https://github.com/ikus060/rdiffweb | [
"https://github.com/ikus060/rdiffweb/commit/626cca1b75b6c587afd4241a9692e8929b1921a5"
] | Python | [
{
"id": "vul_py_26_1",
"commit": "667657c",
"file_path": "rdiffweb/controller/pref_sshkeys.py",
"start_line": 49,
"end_line": 63,
"snippet": "class SshForm(CherryForm):\n title = StringField(\n _('Title'),\n description=_('The title is an optional description to identify the... | [
{
"id": "fix_py_26_1",
"commit": "626cca1b75b6c587afd4241a9692e8929b1921a5",
"file_path": "rdiffweb/controller/pref_sshkeys.py",
"start_line": 49,
"end_line": 69,
"snippet": "class SshForm(CherryForm):\n title = StringField(\n _('Title'),\n description=_('The title is an opt... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-3298 |
CVE-2023-40029 | Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively using Argo CD / kubectl apply. As a result, the full secret body is stored in`kubectl.kubernetes.io/last-applied-configuration` annotation. pull request #7139 introduced the ability to manage cluster la... | {
"CWE-532": {
"name": "Insertion of Sensitive Information into Log File",
"description": "The product writes sensitive information to a log file."
}
} | https://github.com/argoproj/argo-cd | [
"https://github.com/argoproj/argo-cd/commit/4b2e5b06bff2ffd8ed1970654ddd8e55fc4a41c4"
] | Go | [
{
"id": "vul_go_82_1",
"commit": "b8f92c4",
"file_path": "util/db/cluster.go",
"start_line": 320,
"end_line": 361,
"snippet": "func clusterToSecret(c *appv1.Cluster, secret *apiv1.Secret) error {\n\tdata := make(map[string][]byte)\n\tdata[\"server\"] = []byte(strings.TrimRight(c.Server, \"/\... | [
{
"id": "fix_go_82_1",
"commit": "4b2e5b0",
"file_path": "util/db/cluster.go",
"start_line": 320,
"end_line": 364,
"snippet": "func clusterToSecret(c *appv1.Cluster, secret *apiv1.Secret) error {\n\tdata := make(map[string][]byte)\n\tdata[\"server\"] = []byte(strings.TrimRight(c.Server, \"/\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-40029 |
CVE-2023-34233 | The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Versions prior to 3.0.2 are vulnerable to command injection via single sign-on(SSO) browser URL authentication. In order to exploit the potential for command inj... | {
"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/snowflakedb/snowflake-connector-python | [
"https://github.com/snowflakedb/snowflake-connector-python/commit/1cdbd3b1403c5ef520d7f4d9614fe35165e101ac"
] | Python | [
{
"id": "vul_py_14_1",
"commit": "4b1d474",
"file_path": "src/snowflake/connector/snow_logging.py",
"start_line": 59,
"end_line": 72,
"snippet": " def warn( # type: ignore[override]\n self,\n msg: str,\n path_name: str | None = None,\n func_name: str | None = ... | [
{
"id": "fix_py_14_1",
"commit": "1cdbd3b",
"file_path": "src/snowflake/connector/snow_logging.py",
"start_line": 59,
"end_line": 72,
"snippet": " def warn( # type: ignore[override]\n self,\n msg: str,\n path_name: str | None = None,\n func_name: str | None = ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-34233 |
CVE-2023-39631 | The numexpr expression compiler accepts expression strings through the public evaluate() API and converts them into an internal NumExpr expression tree. During this conversion, user-controlled expression text is compiled and evaluated with Python eval(), allowing expressions that are outside the NumExpr language to acc... | {
"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/pydata/numexpr | [
"https://github.com/pydata/numexpr/commit/4b2d89cf14e75030d27629925b9998e1e91d23c7"
] | Python | [
{
"id": "vul_py_35_1",
"commit": "74d5973",
"file_path": "numexpr/necompiler.py",
"start_line": 263,
"end_line": 296,
"snippet": "def stringToExpression(s, types, context):\n \"\"\"Given a string, convert it to a tree of ExpressionNode's.\n \"\"\"\n old_ctx = expressions._context.ge... | [
{
"id": "fix_py_35_1",
"commit": "4b2d89c",
"file_path": "numexpr/necompiler.py",
"start_line": 263,
"end_line": 306,
"snippet": "_forbidden_re = re.compile('[\\;[\\:]|__')\ndef stringToExpression(s, types, context):\n \"\"\"Given a string, convert it to a tree of ExpressionNode's.\n \... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-39631 |
CVE-2021-21321 | fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, by crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is "/pub/", a user expec... | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/fastify/fastify-reply-from | [
"https://github.com/fastify/fastify-reply-from/commit/dea227dda606900cc01870d08541b4dcc69d3889"
] | JavaScript | [
{
"id": "vul_js_70_1",
"commit": "20d0795",
"file_path": "lib/utils.js",
"start_line": 58,
"end_line": 67,
"snippet": "function buildURL (source, reqBase) {\n const dest = new URL(source, reqBase)\n\n // if base is specified, source url should not override it\n if (reqBase && !reqBase.sta... | [
{
"id": "fix_js_70_1",
"commit": "dea227dda606900cc01870d08541b4dcc69d3889",
"file_path": "lib/utils.js",
"start_line": 58,
"end_line": 73,
"snippet": "function buildURL (source, reqBase) {\n const dest = new URL(source, reqBase)\n\n // if base is specified, source url should not override ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-21321 |
CVE-2020-7764 | This affects the package find-my-way before 2.2.5, from 3.0.0 and before 3.0.5. It accepts the Accept-Version' header by default, and if versioned routes are not being used, this could lead to a denial of service. Accept-Version can be used as an unkeyed header in a cache poisoning attack. | {
"CWE-444": {
"name": "Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')",
"description": "The product acts as an intermediary HTTP agent\n (such as a proxy or firewall) in the data flow between two\n entities such as a client and server, but it does not\n ... | https://github.com/delvedor/find-my-way | [
"https://github.com/delvedor/find-my-way/commit/ab408354690e6b9cf3c4724befb3b3fa4bb90aac"
] | JavaScript | [
{
"id": "vul_js_65_1",
"commit": "b9337ca",
"file_path": "index.js",
"start_line": 30,
"end_line": 57,
"snippet": "function Router (opts) {\n if (!(this instanceof Router)) {\n return new Router(opts)\n }\n opts = opts || {}\n\n if (opts.defaultRoute) {\n assert(typeof opts.default... | [
{
"id": "fix_js_65_1",
"commit": "ab408354690e6b9cf3c4724befb3b3fa4bb90aac",
"file_path": "index.js",
"start_line": 30,
"end_line": 57,
"snippet": "function Router (opts) {\n if (!(this instanceof Router)) {\n return new Router(opts)\n }\n opts = opts || {}\n\n if (opts.defaultRoute) ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7764 |
CVE-2020-15233 | ORY Fosite OAuth2 redirect URI validation permits overly broad matching for native-app loopback redirects. A requested loopback redirect URI can be accepted even when it changes security-relevant parts of a registered redirect URI, including host or address-family, path case, or query parameters. An attacker with acces... | {
"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/ory/fosite | [
"https://github.com/ory/fosite/commit/cdee51ebe721bfc8acca0fd0b86b030ca70867bf"
] | Go | [
{
"id": "vul_go_23_1",
"commit": "eb87048",
"file_path": "authorize_helper.go",
"start_line": 114,
"end_line": 126,
"snippet": "func isMatchingRedirectURI(uri string, haystack []string) bool {\n\trequested, err := url.Parse(uri)\n\tif err != nil {\n\t\treturn false\n\t}\n\n\tfor _, b := rang... | [
{
"id": "fix_go_23_1",
"commit": "cdee51e",
"file_path": "authorize_helper.go",
"start_line": 114,
"end_line": 126,
"snippet": "func isMatchingRedirectURI(uri string, haystack []string) bool {\n\trequested, err := url.Parse(uri)\n\tif err != nil {\n\t\treturn false\n\t}\n\n\tfor _, b := rang... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-15233 |
CVE-2024-27289 | pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after th... | {
"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/jackc/pgx | [
"https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df"
] | Go | [
{
"id": "vul_go_27_1",
"commit": "826a892",
"file_path": "internal/sanitize/sanitize.go",
"start_line": 27,
"end_line": 83,
"snippet": "func (q *Query) Sanitize(args ...interface{}) (string, error) {\n\targUse := make([]bool, len(args))\n\tbuf := &bytes.Buffer{}\n\n\tfor _, part := range q.P... | [
{
"id": "fix_go_27_1",
"commit": "f94eb0e",
"file_path": "internal/sanitize/sanitize.go",
"start_line": 27,
"end_line": 77,
"snippet": "func (q *Query) Sanitize(args ...interface{}) (string, error) {\n\targUse := make([]bool, len(args))\n\tbuf := &bytes.Buffer{}\n\n\tfor _, part := range q.P... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-27289 |
CVE-2017-7233 | Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnera... | {
"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/django/django | [
"https://github.com/django/django/commit/8339277518c7d8ec280070a780915304654e3b66",
"https://github.com/django/django/commit/254326cb3682389f55f886804d2c43f7b9f23e4f",
"https://github.com/django/django/commit/f824655bc2c50b19d2f202d7640785caabc82787"
] | Python | [
{
"id": "vul_py_8_1",
"commit": "5f1ffb0",
"file_path": "django/utils/http.py",
"start_line": 303,
"end_line": 321,
"snippet": "def _is_safe_url(url, host):\n # Chrome considers any URL with more than two slashes to be absolute, but\n # urlparse is not so flexible. Treat any url with t... | [
{
"id": "fix_py_8_1",
"commit": "254326c",
"file_path": "django/utils/http.py",
"start_line": 314,
"end_line": 384,
"snippet": "# Copied from urllib.parse.urlparse() but uses fixed urlsplit() function.\ndef _urlparse(url, scheme='', allow_fragments=True):\n \"\"\"Parse a URL into 6 compon... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-7233 |
CVE-2021-29417 | gitjacker before 0.1.0 allows remote attackers to execute arbitrary code via a crafted .git directory because of directory traversal. | {
"CWE-22": {
"name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not pr... | https://github.com/liamg/gitjacker | [
"https://github.com/liamg/gitjacker/commit/d72a53a"
] | Go | [
{
"id": "vul_go_46_1",
"commit": "e8546ea",
"file_path": "internal/pkg/gitjacker/retriever.go",
"start_line": 159,
"end_line": 287,
"snippet": "func (r *retriever) downloadFile(path string) error {\n\n\tpath = strings.TrimSpace(path)\n\n\tfilePath := filepath.Join(r.outputDir, \".git\", path... | [
{
"id": "fix_go_46_1",
"commit": "d72a53a",
"file_path": "internal/pkg/gitjacker/retriever.go",
"start_line": 159,
"end_line": 287,
"snippet": "func (r *retriever) downloadFile(path string) error {\n\n\tpath = strings.TrimSpace(path)\n\n\tfilePath := filepath.Join(r.outputDir, \".git\", file... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-29417 |
CVE-2020-7795 | The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js. | {
"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/hoperyy/get-npm-package-version | [
"https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec",
"https://github.com/hoperyy/get-npm-package-version/commit/49459d4a3ce68587d48ffa8dead86fc9ed58e965"
] | JavaScript | [
{
"id": "vul_js_16_1",
"commit": "5279786",
"file_path": "index.js",
"start_line": 1,
"end_line": 28,
"snippet": "module.exports = function (packageName, { registry = '', timeout = null } = {}) {\n try {\n let version;\n\n const config = {\n stdio: ['pipe', 'pipe'... | [
{
"id": "fix_js_16_1",
"commit": "40b1cf3",
"file_path": "index.js",
"start_line": 1,
"end_line": 31,
"snippet": "module.exports = function (packageName, { registry = '', timeout = null } = {}) {\n try {\n if (/[`$&{}[;|]/g.test(packageName) || /[`$&{}[;|]/g.test(registry)) {\n ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7795 |
CVE-2018-12976 | In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packages being fetched by gddo to cause a directory traversal and remote code execution. | {
"CWE-22": {
"name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not pr... | https://github.com/golang/gddo | [
"https://github.com/golang/gddo/commit/daffe1f90ec57f8ed69464f9094753fc6452e983"
] | Go | [
{
"id": "vul_go_19_1",
"commit": "9ab275b",
"file_path": "gosrc/gosrc.go",
"start_line": 353,
"end_line": 446,
"snippet": "func getDynamic(ctx context.Context, client *http.Client, importPath, etag string) (*Directory, error) {\n\tmetaProto, im, sm, redir, err := fetchMeta(ctx, client, impor... | [
{
"id": "fix_go_19_1",
"commit": "daffe1f",
"file_path": "gosrc/gosrc.go",
"start_line": 353,
"end_line": 449,
"snippet": "func getDynamic(ctx context.Context, client *http.Client, importPath, etag string) (*Directory, error) {\n\tmetaProto, im, sm, redir, err := fetchMeta(ctx, client, impor... | ghcr.io/patcheval-cve/patcheval-cve:cve-2018-12976 |
CVE-2019-7539 | A code injection issue was discovered in ipycache through 2016-05-31. | {
"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/adi928/ipycache | [
"https://github.com/adi928/ipycache/commit/9cc7cb891ff169b3e8a6f5e84afd8238f566ad8e",
"https://github.com/adi928/ipycache/commit/c73a726744c90cc2cb200b159edbaf5deddcb753"
] | Python | [
{
"id": "vul_py_23_1",
"commit": "2c334c5",
"file_path": "ipycache.py",
"start_line": 102,
"end_line": 141,
"snippet": "def load_vars(path, vars):\n \"\"\"Load variables from a pickle file.\n \n Arguments:\n \n * path: the path to the pickle file.\n * vars: a list of va... | [
{
"id": "fix_py_23_1",
"commit": "9cc7cb891ff169b3e8a6f5e84afd8238f566ad8e",
"file_path": "ipycache.py",
"start_line": 101,
"end_line": 142,
"snippet": "def load_vars(path, vars):\n \"\"\"Load variables from a pickle file.\n \n Arguments:\n \n * path: the path to the pickle ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2019-7539 |
CVE-2021-32803 | The npm package "tar" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `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 ... | {
"CWE-59": {
"name": "Improper Link Resolution Before File Access ('Link Following')",
"description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
}
} | https://github.com/npm/node-tar | [
"https://github.com/npm/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20"
] | JavaScript | [
{
"id": "vul_js_47_1",
"commit": "df3aa4d",
"file_path": "lib/unpack.js",
"start_line": 415,
"end_line": 437,
"snippet": " [CHECKFS] (entry) {\n this[PEND]()\n this[MKDIR](path.dirname(entry.absolute), this.dmode, er => {\n if (er)\n return this[ONERROR](er, entry)\n ... | [
{
"id": "fix_js_47_1",
"commit": "46fe350",
"file_path": "lib/unpack.js",
"start_line": 415,
"end_line": 451,
"snippet": " [CHECKFS] (entry) {\n this[PEND]()\n\n // if we are not creating a directory, and the path is in the dirCache,\n // then that means we are about to delete the ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-32803 |
CVE-2017-16083 | node-simple-router's static file serving logic is vulnerable to directory traversal. An attacker who can send HTTP requests to the router can control the requested URL path and include raw or encoded dot-dot path segments, or other path forms that normalize outside the configured static_route directory. If the router b... | {
"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/sandy98/node-simple-router | [
"https://github.com/sandy98/node-simple-router/commit/dfdd52e2e80607af433097d940b3834fd96df488"
] | JavaScript | [
{
"id": "vul_js_25_1",
"commit": "91da429",
"file_path": "lib/router.js",
"start_line": 731,
"end_line": 796,
"snippet": " dispatch[\"static\"] = function(pathname, req, res) {\n var full_path;\n full_path = \"\" + dispatch.static_route + (unescape(pathname));\n return fs.e... | [
{
"id": "fix_js_25_1",
"commit": "dfdd52e",
"file_path": "lib/router.js",
"start_line": 730,
"end_line": 798,
"snippet": " dispatch[\"static\"] = function(pathname, req, res) {\n var full_path;\n full_path = \"\" + dispatch.static_route + (unescape(pathname));\n if (full_pa... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-16083 |
CVE-2022-39286 | Jupyter Core is a package for the core common functionality of Jupyter projects. Jupyter Core prior to version 4.11.2 contains an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in CWD. This vulnerability allows one user to run code as another. Version 4... | {
"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/jupyter/jupyter_core | [
"https://github.com/jupyter/jupyter_core/commit/1118c8ce01800cb689d51f655f5ccef19516e283"
] | Python | [
{
"id": "vul_py_45_1",
"commit": "d3f61f3",
"file_path": "jupyter_core/application.py",
"start_line": 88,
"end_line": 93,
"snippet": " def config_file_paths(self):\n path = jupyter_config_path()\n if self.config_dir not in path:\n path.insert(0, self.config_dir)\n... | [
{
"id": "fix_py_45_1",
"commit": "1118c8ce01800cb689d51f655f5ccef19516e283",
"file_path": "jupyter_core/application.py",
"start_line": 88,
"end_line": 93,
"snippet": " def config_file_paths(self):\n path = jupyter_config_path()\n if self.config_dir not in path:\n ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-39286 |
CVE-2025-43859 | h11 is a Python implementation of HTTP/1.1. Prior to version 0.16.0, a leniency in h11's parsing of line terminators in chunked-coding message bodies can lead to request smuggling vulnerabilities under certain conditions. This issue has been patched in version 0.16.0. Since exploitation requires the combination of bugg... | {
"CWE-444": {
"name": "Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')",
"description": "The product acts as an intermediary HTTP agent\n (such as a proxy or firewall) in the data flow between two\n entities such as a client and server, but it does not\n ... | https://github.com/python-hyper/h11 | [
"https://github.com/python-hyper/h11/commit/114803a29ce50116dc47951c690ad4892b1a36ed"
] | Python | [
{
"id": "vul_py_68_1",
"commit": "114803a29ce50116dc47951c690ad4892b1a36ed",
"file_path": "h11/_readers.py",
"start_line": 149,
"end_line": 154,
"snippet": " def __init__(self) -> None:\n self._bytes_in_chunk = 0\n # After reading a chunk, we have to throw away the trailing ... | [
{
"id": "fix_py_68_1",
"commit": "114803a29ce50116dc47951c690ad4892b1a36ed",
"file_path": "h11/_readers.py",
"start_line": 149,
"end_line": 154,
"snippet": " def __init__(self) -> None:\n self._bytes_in_chunk = 0\n # After reading a chunk, we have to throw away the trailing ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2025-43859 |
CVE-2020-7631 | diskusage-ng through 0.2.4 is vulnerable to Command Injection.It allows execution of arbitrary commands via the path argument. | {
"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/iximiuz/node-diskusage-ng | [
"https://github.com/iximiuz/node-diskusage-ng/commit/48e7e093486b528f0c81ec699573e0e4a431b8d3"
] | JavaScript | [
{
"id": "vul_js_15_1",
"commit": "53c505506553c83861d1bd67823d6a382d3a5a43",
"file_path": "lib/posix.js",
"start_line": 6,
"end_line": 22,
"snippet": "function diskusage(path, cb) {\n if (path.indexOf('\"') !== -1) {\n return cb(new Error('Paths with double quotes are not supported... | [
{
"id": "fix_js_15_1",
"commit": "48e7e093486b528f0c81ec699573e0e4a431b8d3",
"file_path": "lib/posix.js",
"start_line": 6,
"end_line": 18,
"snippet": "function diskusage(path, cb) {\n execFile('df', ['-k', path], function(err, stdout) {\n if (err) {\n return cb(err);\n ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7631 |
CVE-2024-54132 | The GitHub CLI is GitHub’s official command line tool. A security vulnerability has been identified in GitHub CLI that could create or overwrite files in unintended directories when users download a malicious GitHub Actions workflow artifact through gh run download. This vulnerability stems from a GitHub Actions workfl... | {
"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/cli/cli | [
"https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932"
] | Go | [
{
"id": "vul_go_21_1",
"commit": "7c241cf",
"file_path": "pkg/cmd/run/download/download.go",
"start_line": 106,
"end_line": 184,
"snippet": "func runDownload(opts *DownloadOptions) error {\n\topts.IO.StartProgressIndicator()\n\tartifacts, err := opts.Platform.List(opts.RunID)\n\topts.IO.Stop... | [
{
"id": "fix_go_21_1",
"commit": "1136764",
"file_path": "pkg/cmd/run/download/download.go",
"start_line": 106,
"end_line": 211,
"snippet": "func runDownload(opts *DownloadOptions) error {\n\topts.IO.StartProgressIndicator()\n\tartifacts, err := opts.Platform.List(opts.RunID)\n\topts.IO.Stop... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-54132 |
CVE-2021-32701 | ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP requests based on sets of Access Rules. When you make a request to an endpoint that requires the scope `foo` using an access token granted with that `foo` scope, introspection will be valid and that token will be cac... | {
"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/ory/oathkeeper | [
"https://github.com/ory/oathkeeper/commit/1f9f625c1a49e134ae2299ee95b8cf158feec932"
] | Go | [
{
"id": "vul_go_56_2",
"commit": "64ac756",
"file_path": "./pipeline/authn/authenticator_oauth2_introspection.go",
"start_line": 97,
"end_line": 115,
"snippet": "func (a *AuthenticatorOAuth2Introspection) tokenFromCache(config *AuthenticatorOAuth2IntrospectionConfiguration, token string) (*A... | [
{
"id": "fix_go_56_1",
"commit": "1f9f625c1a49e134ae2299ee95b8cf158feec932",
"file_path": "./pipeline/authn/authenticator_oauth2_introspection.go",
"start_line": 3,
"end_line": 31,
"snippet": "import (\n\t\"context\"\n\t\"crypto/md5\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"net/... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-32701 |
CVE-2022-1992 | Path Traversal in GitHub repository gogs/gogs prior to 0.12.9. | {
"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/gogs/gogs | [
"https://github.com/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0"
] | Go | [
{
"id": "vul_go_4_1",
"commit": "325904c",
"file_path": "internal/pathutil/pathutil.go",
"start_line": 13,
"end_line": 15,
"snippet": "func Clean(p string) string {\n\treturn strings.Trim(path.Clean(\"/\"+p), \"/\")\n}",
"vul_localization": [
{
"patch_lines": [
1
... | [
{
"id": "fix_go_4_1",
"commit": "2ca0142",
"file_path": "internal/pathutil/pathutil.go",
"start_line": 14,
"end_line": 17,
"snippet": "func Clean(p string) string {\n\tp = strings.ReplaceAll(p, `\\`, \"/\")\n\treturn strings.Trim(path.Clean(\"/\"+p), \"/\")\n}"
}
] | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-1992 |
CVE-2023-45809 | Wagtail's admin user-account bulk action views can disclose information about selected user accounts to authenticated admin users who have access to the Wagtail admin but do not have permission to add, change, or delete users. A low-privileged editor can directly request user bulk-action URLs and supply arbitrary user ... | {
"CWE-532": {
"name": "Insertion of Sensitive Information into Log File",
"description": "The product writes sensitive information to a log file."
}
} | https://github.com/wagtail/wagtail | [
"https://github.com/wagtail/wagtail/commit/bc96aed6ac53f998b2f4c4bf97e2d4f5fe337e5b"
] | Python | [
{
"id": "vul_py_70_1",
"commit": "190af78",
"file_path": "wagtail/users/views/bulk_actions/user_bulk_action.py",
"start_line": 6,
"end_line": 8,
"snippet": "\nclass UserBulkAction(BulkAction):\n models = [get_user_model()]",
"vul_localization": [
{
"patch_lines": [
... | [
{
"id": "fix_py_70_1",
"commit": "bc96aed6ac53f998b2f4c4bf97e2d4f5fe337e5b",
"file_path": "wagtail/users/views/bulk_actions/user_bulk_action.py",
"start_line": 8,
"end_line": 14,
"snippet": "User = get_user_model()\n\n\nclass UserBulkAction(PermissionCheckedMixin, BulkAction):\n models = ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-45809 |
CVE-2023-50726 | Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. "Local sync" is an Argo CD feature that allows developers to temporarily override an Application's manifests with locally-defined manifests. Use of the feature should generally be limited to highly-trusted users, since it allows the user to bypas... | {
"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/argoproj/argo-cd | [
"https://github.com/argoproj/argo-cd/commit/3b8f673f06c2d228e01cbc830e5cb57cef008978"
] | Go | [
{
"id": "vul_go_8_1",
"commit": "479b554",
"file_path": "server/application/application.go",
"start_line": 308,
"end_line": 370,
"snippet": "func (s *Server) Create(ctx context.Context, q *application.ApplicationCreateRequest) (*appv1.Application, error) {\n\tif q.GetApplication() == nil {\n... | [
{
"id": "fix_go_8_1",
"commit": "3b8f673f06c2d228e01cbc830e5cb57cef008978",
"file_path": "server/application/application.go",
"start_line": 308,
"end_line": 379,
"snippet": "func (s *Server) Create(ctx context.Context, q *application.ApplicationCreateRequest) (*appv1.Application, error) {\n\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-50726 |
CVE-2021-3583 | A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attacke... | {
"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/ansible/ansible | [
"https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847",
"https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e",
"https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1"
] | Python | [
{
"id": "vul_py_15_1",
"commit": "c49092f",
"file_path": "lib/ansible/template/__init__.py",
"start_line": 812,
"end_line": 914,
"snippet": " def do_template(self, data, preserve_trailing_newlines=True, escape_backslashes=True, fail_on_undefined=None, overrides=None, disable_lookups=False... | [
{
"id": "fix_py_15_1",
"commit": "8aa850e",
"file_path": "lib/ansible/template/__init__.py",
"start_line": 1008,
"end_line": 1106,
"snippet": " def do_template(self, data, preserve_trailing_newlines=True, escape_backslashes=True, fail_on_undefined=None, overrides=None, disable_lookups=Fal... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-3583 |
CVE-2020-10691 | An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system. | {
"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/ansible/ansible | [
"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8"
] | Python | [
{
"id": "vul_py_25_1",
"commit": "cef6296",
"file_path": "lib/ansible/galaxy/collection.py",
"start_line": 148,
"end_line": 188,
"snippet": " def install(self, path, b_temp_path):\n if self.skip:\n display.display(\"Skipping '%s' as it is already installed\" % to_text(se... | [
{
"id": "fix_py_25_1",
"commit": "b2551bb6943eec078066aa3a923e0bb3ed85abe8",
"file_path": "lib/ansible/galaxy/collection.py",
"start_line": 148,
"end_line": 198,
"snippet": " def install(self, path, b_temp_path):\n if self.skip:\n display.display(\"Skipping '%s' as it is... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-10691 |
CVE-2022-24825 | Smokescreen is a simple HTTP proxy that fogs over naughty URLs. The primary use case for Smokescreen is to prevent server-side request forgery (SSRF) attacks in which external attackers leverage the behavior of applications to connect to or scan internal infrastructure. Smokescreen also offers an option to deny access ... | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/stripe/smokescreen | [
"https://github.com/stripe/smokescreen/commit/fafb6ae48c6c40aa011d87b61306abc48db8797b"
] | Go | [
{
"id": "vul_go_41_1",
"commit": "37438e8",
"file_path": "pkg/smokescreen/acl/v1/acl.go",
"start_line": 178,
"end_line": 194,
"snippet": "func (acl *ACL) ValidateDomains(domains []string) error {\n\tfor _, d := range domains {\n\t\tif d == \"\" {\n\t\t\treturn fmt.Errorf(\"glob cannot be emp... | [
{
"id": "fix_go_41_1",
"commit": "fafb6ae",
"file_path": "pkg/smokescreen/acl/v1/acl.go",
"start_line": 178,
"end_line": 198,
"snippet": "func (acl *ACL) ValidateDomainGlobs(svc string, globs []string) error {\n\tfor _, glob := range globs {\n\t\tif glob == \"\" {\n\t\t\treturn fmt.Errorf(\"... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-24825 |
CVE-2017-16198 | ritp is a static web server. ritp is vulnerable to a directory traversal issue whereby an attacker can gain access to the file system by placing ../ in the URL. Access is restricted to files with a file extension, so files such as /etc/passwd are not accessible. | {
"CWE-22": {
"name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not pr... | https://github.com/hardog/ritp | [
"https://github.com/hardog/ritp/commit/1eadc2746d0fb60d0050bad302b4081f802476e4"
] | JavaScript | [
{
"id": "vul_js_19_1",
"commit": "d2ba4b9",
"file_path": "index.js",
"start_line": 22,
"end_line": 76,
"snippet": "var main = function(req, res) {\n var reqUrl = req.url; \n //\\u8bb0\\u5f55\\u8bf7\\u6c42\\u4fe1\\u606f\n logger.http(req, res);\n \n //\\u4f7... | [
{
"id": "fix_js_19_1",
"commit": "1eadc2746d0fb60d0050bad302b4081f802476e4",
"file_path": "index.js",
"start_line": 22,
"end_line": 76,
"snippet": "var main = function(req, res) {\n var reqUrl = req.url.replace(/(\\.\\.\\/?)/g, '');\n //\\u8bb0\\u5f55\\u8bf7\\u6c42\\u4fe1\\u606... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-16198 |
CVE-2024-10220 | The kubelet gitRepo volume plugin processes pod-supplied GitRepoVolumeSource fields and invokes the external git binary while preparing the volume. A user who can create a pod with a gitRepo volume can control the repository, revision, and target directory values. If these values are not validated before git is execute... | {
"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/kubernetes/kubernetes | [
"https://github.com/kubernetes/kubernetes/commit/1ab06efe92d8e898ca1931471c9533ce94aba29b"
] | Go | [
{
"id": "vul_go_1_1",
"commit": "8dbeaa5",
"file_path": "pkg/volume/git_repo/git_repo.go",
"start_line": 254,
"end_line": 265,
"snippet": "func validateVolume(src *v1.GitRepoVolumeSource) error {\n\tif err := validateNonFlagArgument(src.Repository, \"repository\"); err != nil {\n\t\treturn e... | [
{
"id": "fix_go_1_1",
"commit": "1ab06ef",
"file_path": "pkg/volume/git_repo/git_repo.go",
"start_line": 254,
"end_line": 271,
"snippet": "func validateVolume(src *v1.GitRepoVolumeSource) error {\n\tif err := validateNonFlagArgument(src.Repository, \"repository\"); err != nil {\n\t\treturn e... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-10220 |
CVE-2024-45043 | The OpenTelemetry Collector module AWS firehose receiver is for ingesting AWS Kinesis Data Firehose delivery stream messages and parsing the records received based on the configured record type. `awsfirehosereceiver` allows unauthenticated remote requests, even when configured to require a key. OpenTelemetry Collector ... | {
"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/open-telemetry/opentelemetry-collector-contrib | [
"https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/371bf6afbd7cfa3253fa1674f5444064e86ef0ac"
] | Go | [
{
"id": "vul_go_2_1",
"commit": "234eadd",
"file_path": "receiver/awsfirehosereceiver/receiver.go",
"start_line": 235,
"end_line": 240,
"snippet": "func (fmr *firehoseReceiver) validate(r *http.Request) (int, error) {\n\tif accessKey := r.Header.Get(headerFirehoseAccessKey); accessKey != \"\... | [
{
"id": "fix_go_2_1",
"commit": "371bf6a",
"file_path": "receiver/awsfirehosereceiver/receiver.go",
"start_line": 235,
"end_line": 244,
"snippet": "func (fmr *firehoseReceiver) validate(r *http.Request) (int, error) {\n\tif string(fmr.config.AccessKey) == \"\" {\n\t\t// No access key is conf... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-45043 |
CVE-2024-24747 | MinIO is a High Performance Object Storage. When someone creates an access key, it inherits the permissions of the parent key. Not only for `s3:*` actions, but also `admin:*` actions. Which means unless somewhere above in the access-key hierarchy, the `admin` rights are denied, access keys will be able to simply overri... | {
"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/minio/minio | [
"https://github.com/minio/minio/commit/0ae4915a9391ef4b3ec80f5fcdcf24ee6884e776"
] | Go | [
{
"id": "vul_go_73_1",
"commit": "4cd777a",
"file_path": "cmd/admin-handlers-users.go",
"start_line": 749,
"end_line": 861,
"snippet": "func (a adminAPIHandlers) UpdateServiceAccount(w http.ResponseWriter, r *http.Request) {\n\tctx := r.Context()\n\n\t// Get current object layer instance.\n\... | [
{
"id": "fix_go_73_1",
"commit": "0ae4915",
"file_path": "cmd/admin-handlers-users.go",
"start_line": 749,
"end_line": 864,
"snippet": "func (a adminAPIHandlers) UpdateServiceAccount(w http.ResponseWriter, r *http.Request) {\n\tctx := r.Context()\n\n\t// Get current object layer instance.\n\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-24747 |
CVE-2023-33977 | Kiwi TCMS has an upload-related cross-site scripting weakness in its attachment handling. Authenticated users who can upload attachments to objects such as test plans or test cases may supply browser-renderable files, especially SVG content, that contain executable JavaScript through constructs such as script elements ... | {
"CWE-79": {
"name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
}
} | https://github.com/kiwitcms/Kiwi | [
"https://github.com/kiwitcms/Kiwi/commit/d789f4b51025de4f8c747c037d02e1b0da80b034"
] | Python | [
{
"id": "vul_py_21_1",
"commit": "ce5b83e",
"file_path": "tcms/kiwi_attachments/validators.py",
"start_line": 5,
"end_line": 9,
"snippet": "def deny_uploads_containing_script_tag(uploaded_file):\n for chunk in uploaded_file.chunks(2048):\n if chunk.lower().find(b\"<script\") > -1:\... | [
{
"id": "fix_py_21_1",
"commit": "d789f4b",
"file_path": "tcms/kiwi_attachments/validators.py",
"start_line": 5,
"end_line": 11,
"snippet": "def deny_uploads_containing_script_tag(uploaded_file):\n for chunk in uploaded_file.chunks(2048):\n if chunk.lower().find(b\"<script\") > -1:... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-33977 |
CVE-2022-24794 | Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the `requiresAuth` middleware, either directly or through the default `authRequired` option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. If all routes u... | {
"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/auth0/express-openid-connect | [
"https://github.com/auth0/express-openid-connect/commit/0947b92164a2c5f661ebcc183d37e7f21de719ad"
] | JavaScript | [
{
"id": "vul_js_45_1",
"commit": "c619f67",
"file_path": "lib/context.js",
"start_line": 179,
"end_line": 272,
"snippet": " async login(options = {}) {\n let { config, req, res, next, transient } = weakRef(this);\n next = cb(next).once();\n const client = await getClient(config);\n... | [
{
"id": "fix_js_45_1",
"commit": "0947b92",
"file_path": "lib/context.js",
"start_line": 179,
"end_line": 273,
"snippet": " async login(options = {}) {\n let { config, req, res, next, transient } = weakRef(this);\n next = cb(next).once();\n const client = await getClient(config);\n... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-24794 |
CVE-2023-30172 | A directory traversal vulnerability in the /get-artifact API method of the mlflow platform up to v2.0.1 allows attackers to read arbitrary files on the server via the path parameter. | {
"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/mlflow/mlflow | [
"https://github.com/mlflow/mlflow/commit/ac4b697bb0bb8a331944dca63f4235b4bf602ab8"
] | Python | [
{
"id": "vul_py_30_1",
"commit": "d1c7621",
"file_path": "mlflow/server/handlers.py",
"start_line": 528,
"end_line": 546,
"snippet": "def get_artifact_handler():\n from querystring_parser import parser\n\n query_string = request.query_string.decode(\"utf-8\")\n request_dict = parser... | [
{
"id": "fix_py_30_1",
"commit": "ac4b697",
"file_path": "mlflow/server/handlers.py",
"start_line": 548,
"end_line": 568,
"snippet": "def get_artifact_handler():\n from querystring_parser import parser\n\n query_string = request.query_string.decode(\"utf-8\")\n request_dict = parser... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-30172 |
CVE-2024-0243 | With the following crawler configuration:
```python
from bs4 import BeautifulSoup as Soup
url = "https://example.com"
loader = RecursiveUrlLoader(
url=url, max_depth=2, extractor=lambda x: Soup(x, "html.parser").text
)
docs = loader.load()
```
An attacker in control of the contents of `https://example.com` could... | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/langchain-ai/langchain | [
"https://github.com/langchain-ai/langchain/commit/bf0b3cc0b5ade1fb95a5b1b6fa260e99064c2e22"
] | Python | [
{
"id": "vul_py_29_1",
"commit": "817b84d",
"file_path": "libs/core/langchain_core/utils/html.py",
"start_line": 47,
"end_line": 89,
"snippet": "def extract_sub_links(\n raw_html: str,\n url: str,\n *,\n base_url: Optional[str] = None,\n pattern: Union[str, re.Pattern, None] =... | [
{
"id": "fix_py_29_1",
"commit": "bf0b3cc",
"file_path": "libs/core/langchain_core/utils/html.py",
"start_line": 47,
"end_line": 103,
"snippet": "def extract_sub_links(\n raw_html: str,\n url: str,\n *,\n base_url: Optional[str] = None,\n pattern: Union[str, re.Pattern, None] ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-0243 |
CVE-2023-6831 | MLflow's artifact-serving HTTP API is vulnerable to path traversal when attacker-controlled artifact paths are accepted without robust normalization and validation. An attacker can submit artifact path components or query parameters to the mlflow-artifacts endpoints that contain parent-directory traversal sequences, in... | {
"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/mlflow/mlflow | [
"https://github.com/mlflow/mlflow/commit/1da75dfcecd4d169e34809ade55748384e8af6c1"
] | Python | [
{
"id": "vul_py_31_1",
"commit": "9612ef0",
"file_path": "mlflow/utils/uri.py",
"start_line": 422,
"end_line": 446,
"snippet": "def validate_path_is_safe(path):\n \"\"\"\n Validates that the specified path is safe to join with a trusted prefix. This is a security\n measure to preven... | [
{
"id": "fix_py_31_1",
"commit": "1da75df",
"file_path": "mlflow/utils/uri.py",
"start_line": 422,
"end_line": 449,
"snippet": "def validate_path_is_safe(path):\n \"\"\"\n Validates that the specified path is safe to join with a trusted prefix. This is a security\n measure to preven... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-6831 |
CVE-2015-3295 | markdown-it's Markdown link and image rendering can allow attacker-controlled data: URL destinations to be emitted into generated HTML href or src attributes. A malicious document may supply dangerous data: payloads through any Markdown syntax that defines a link or image destination, including inline destinations and ... | {
"CWE-284": {
"name": "Improper Access Control",
"description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
}
} | https://github.com/markdown-it/markdown-it | [
"https://github.com/markdown-it/markdown-it/commit/f76d3beb46abd121892a2e2e5c78376354c214e3"
] | JavaScript | [
{
"id": "vul_js_61_1",
"commit": "f7976b2",
"file_path": "lib/index.js",
"start_line": 24,
"end_line": 35,
"snippet": "var BAD_PROTOCOLS = [ 'vbscript', 'javascript', 'file' ];\n\nfunction validateLink(url) {\n // url should be normalized at this point, and existing entities are decoded\... | [
{
"id": "fix_js_61_1",
"commit": "f76d3be",
"file_path": "lib/index.js",
"start_line": 23,
"end_line": 53,
"snippet": "////////////////////////////////////////////////////////////////////////////////\n//\n// This validator does not pretent to functionality of full weight sanitizers.\n// It's... | ghcr.io/patcheval-cve/patcheval-cve:cve-2015-3295 |
CVE-2022-35936 | Ethermint is an Ethereum library. In Ethermint running versions before `v0.17.2`, the contract `selfdestruct` invocation permanently removes the corresponding bytecode from the internal database storage. However, due to a bug in the `DeleteAccount`function, all contracts that used the identical bytecode (i.e shared the... | {
"CWE-668": {
"name": "Exposure of Resource to Wrong Sphere",
"description": "The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource."
}
} | https://github.com/evmos/ethermint | [
"https://github.com/evmos/ethermint/commit/144741832007a26dbe950512acbda4ed95b2a451"
] | Go | [
{
"id": "vul_go_58_2",
"commit": "bead29c",
"file_path": "x/evm/keeper/statedb.go",
"start_line": 181,
"end_line": 221,
"snippet": "func (k *Keeper) DeleteAccount(ctx sdk.Context, addr common.Address) error {\n\tcosmosAddr := sdk.AccAddress(addr.Bytes())\n\tacct := k.accountKeeper.GetAccount... | [
{
"id": "fix_go_58_2",
"commit": "1447418",
"file_path": "x/evm/keeper/statedb.go",
"start_line": 180,
"end_line": 214,
"snippet": "func (k *Keeper) DeleteAccount(ctx sdk.Context, addr common.Address) error {\n\tcosmosAddr := sdk.AccAddress(addr.Bytes())\n\tacct := k.accountKeeper.GetAccount... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-35936 |
CVE-2022-36103 | Talos Linux is a Linux distribution built for Kubernetes deployments. Talos worker nodes use a join token to get accepted into the Talos cluster. Due to improper validation of the request while signing a worker node CSR (certificate signing request) Talos control plane node might issue Talos API certificate which allow... | {
"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/siderolabs/talos | [
"https://github.com/siderolabs/talos/commit/9eaf33f3f274e746ca1b442c0a1a0dae0cec088f"
] | Go | [
{
"id": "vul_go_53_2",
"commit": "4367491",
"file_path": "internal/app/trustd/internal/reg/reg.go",
"start_line": 36,
"end_line": 55,
"snippet": "func (r *Registrator) Certificate(ctx context.Context, in *securityapi.CertificateRequest) (resp *securityapi.CertificateResponse, err error) {\n\... | [
{
"id": "fix_go_53_1",
"commit": "9eaf33f",
"file_path": "internal/app/trustd/internal/reg/reg.go",
"start_line": 7,
"end_line": 25,
"snippet": "import (\n\t\"context\"\n\tstdx509 \"crypto/x509\"\n\t\"crypto/x509/pkix\"\n\t\"encoding/pem\"\n\t\"log\"\n\n\t\"github.com/cosi-project/runtime/pk... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-36103 |
CVE-2021-21354 | Pollbot is open source software which "frees its human masters from the toilsome task of polling for the state of things during the Firefox release process." In Pollbot before version 1.4.4 there is an open redirection vulnerability in the path of "https://pollbot.services.mozilla.com/". An attacker can redirect anyone... | {
"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/mozilla/PollBot | [
"https://github.com/mozilla/PollBot/commit/6db74a4fcbff258c7cdf51a6ff0724fc10c485e5"
] | Python | [
{
"id": "vul_py_33_1",
"commit": "78539af",
"file_path": "pollbot/middlewares.py",
"start_line": 61,
"end_line": 69,
"snippet": "async def handle_404(request, response):\n if 'json' not in response.headers['Content-Type']:\n if request.path.endswith('/'):\n return web.HT... | [
{
"id": "fix_py_33_1",
"commit": "6db74a4fcbff258c7cdf51a6ff0724fc10c485e5",
"file_path": "pollbot/middlewares.py",
"start_line": 61,
"end_line": 69,
"snippet": "async def handle_404(request, response):\n if 'json' not in response.headers['Content-Type']:\n if request.path.endswith... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-21354 |
CVE-2016-1000232 | Tough-Cookie's cookie parsing logic is vulnerable to a regular-expression denial of service when processing attacker-controlled Cookie or Set-Cookie style header strings. A remote client can supply a malformed cookie header containing a very long run of semicolons followed by additional non-semicolon input, causing the... | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/salesforce/tough-cookie | [
"https://github.com/salesforce/tough-cookie/commit/615627206357d997d5e6ff9da158997de05235ae"
] | JavaScript | [
{
"id": "vul_js_69_1",
"commit": "ce76918",
"file_path": "lib/cookie.js",
"start_line": 324,
"end_line": 478,
"snippet": "function parse(str, options) {\n if (!options || typeof options !== 'object') {\n options = {};\n }\n str = str.trim();\n\n // S4.1.1 Trailing semi-colons are not ... | [
{
"id": "fix_js_69_1",
"commit": "615627206357d997d5e6ff9da158997de05235ae",
"file_path": "lib/cookie.js",
"start_line": 321,
"end_line": 472,
"snippet": "function parse(str, options) {\n if (!options || typeof options !== 'object') {\n options = {};\n }\n str = str.trim();\n\n // We ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2016-1000232 |
CVE-2020-7687 | The fast-http server is vulnerable to path traversal when translating an HTTP request URL into the filesystem path passed to fs.readFile in index.js. An attacker can control the requested URL path and include parent-directory traversal components or equivalent path forms that cause the resolved filename to escape the s... | {
"CWE-22": {
"name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not pr... | https://github.com/cedced19/fast-http | [
"https://github.com/cedced19/fast-http/commit/e4cfee6db8850afc4d8837800682fdaf029685ca"
] | JavaScript | [
{
"id": "vul_js_8_1",
"commit": "a827da2",
"file_path": "index.js",
"start_line": 11,
"end_line": 50,
"snippet": " var server = http.createServer(function (req, res) {\n\n var uri = url.parse(req.url).pathname,\n filename = path.join(root, uri);\n\n if (uri.charAt... | [
{
"id": "fix_js_8_1",
"commit": "e4cfee6",
"file_path": "index.js",
"start_line": 8,
"end_line": 55,
"snippet": "module.exports = function (port, root, wordy) {\n if (wordy === undefined) wordy = false;\n if (port === undefined) port = 80;\n var server = http.createServer(function (... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-7687 |
CVE-2023-26125 | Gin's redirect logic for routes that trigger RedirectTrailingSlash uses the client-supplied X-Forwarded-Prefix header when constructing the HTTP redirect Location header. If this header is not strictly validated, an attacker can send a crafted request with a malicious prefix containing URL control syntax such as query ... | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/t0rchwo0d/gin | [
"https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b"
] | Go | [
{
"id": "vul_go_39_1",
"commit": "fc1c432",
"file_path": "gin.go",
"start_line": 668,
"end_line": 682,
"snippet": "func redirectTrailingSlash(c *Context) {\n\treq := c.Request\n\tp := req.URL.Path\n\tif prefix := path.Clean(c.Request.Header.Get(\"X-Forwarded-Prefix\")); prefix != \".\" {\n\t... | [
{
"id": "fix_go_39_2",
"commit": "4cee78f",
"file_path": "gin.go",
"start_line": 44,
"end_line": 46,
"snippet": "var regSafePrefix = regexp.MustCompile(\"[^a-zA-Z0-9/-]+\")\nvar regRemoveRepeatedChar = regexp.MustCompile(\"/{2,}\")\n"
},
{
"id": "fix_go_39_1",
"commit": "4cee78f"... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-26125 |
CVE-2021-32796 | xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in ... | {
"CWE-116": {
"name": "Improper Encoding or Escaping of Output",
"description": "The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.... | https://github.com/xmldom/xmldom | [
"https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b"
] | JavaScript | [
{
"id": "vul_js_74_1",
"commit": "9b92ff4",
"file_path": "lib/dom.js",
"start_line": 1133,
"end_line": 1310,
"snippet": "function serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){\n\tif (!visibleNamespaces) {\n\t\tvisibleNamespaces = [];\n\t}\n\n\tif(nodeFilter){\n\t\tnode = n... | [
{
"id": "fix_js_74_1",
"commit": "7b4b743917a892d407356e055b296dcd6d107e8b",
"file_path": "lib/dom.js",
"start_line": 1142,
"end_line": 1311,
"snippet": "function serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){\n\tif (!visibleNamespaces) {\n\t\tvisibleNamespaces = [];\n\t}\n... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-32796 |
CVE-2022-3920 | Consul's UI-facing HTTP/RPC endpoints that return node and service inventory can include both local data and data imported from peered clusters. The vulnerable behavior is that imported peer nodes, services, and health checks may be left unfiltered, or may be authorized as if they were local resources with the same nod... | {
"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."
},
"CWE-639": {
"name": "Authorization Bypass Through User-Controlled Key",
"description": "The system's authorizat... | https://github.com/hashicorp/consul | [
"https://github.com/hashicorp/consul/commit/706866fa0016b0aa302679f9c648859050d19b2e"
] | Go | [
{
"id": "vul_go_9_1",
"commit": "9e060b8",
"file_path": "agent/structs/aclfilter/filter.go",
"start_line": 33,
"end_line": 152,
"snippet": "func (f *Filter) Filter(subject any) {\n\tswitch v := subject.(type) {\n\tcase *structs.CheckServiceNodes:\n\t\tf.filterCheckServiceNodes(v)\n\n\tcase *... | [
{
"id": "fix_go_9_1",
"commit": "706866f",
"file_path": "agent/structs/aclfilter/filter.go",
"start_line": 33,
"end_line": 157,
"snippet": "func (f *Filter) Filter(subject any) {\n\tswitch v := subject.(type) {\n\tcase *structs.CheckServiceNodes:\n\t\tf.filterCheckServiceNodes(v)\n\n\tcase *... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-3920 |
CVE-2022-0722 | Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository ionicabizau/parse-url prior to 7.0.0. | {
"CWE-200": {
"name": "Exposure of Sensitive Information to an Unauthorized Actor",
"description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
}
} | https://github.com/ionicabizau/parse-url | [
"https://github.com/ionicabizau/parse-url/commit/21c72ab9412228eea753e2abc48f8962707b1fe3"
] | JavaScript | [
{
"id": "vul_js_53_1",
"commit": "fa488b2f26715995251c30825398e6aa96a0aadf",
"file_path": "lib/index.js",
"start_line": 35,
"end_line": 49,
"snippet": "function parseUrl(url, normalize = false) {\n if (typeof url !== \"string\" || !url.trim()) {\n throw new Error(\"Invalid url.\")\... | [
{
"id": "fix_js_53_1",
"commit": "21c72ab9412228eea753e2abc48f8962707b1fe3",
"file_path": "lib/index.js",
"start_line": 37,
"end_line": 70,
"snippet": "const parseUrl = (url, normalize = false) => {\n\n // Constants\n const GIT_RE = /((git@|http(s)?:\\/\\/)([\\w\\.@]+)(\\/|:))(([\\~,\\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0722 |
CVE-2023-40267 | GitPython's Repo.clone and Repo.clone_from APIs can accept git-clone command-line options through ordinary keyword arguments as well as multi_options. The vulnerable implementation does not consistently validate unsafe clone options when they are supplied as non-multi keyword arguments, so attacker-controlled input pas... | {
"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/gitpython-developers/GitPython | [
"https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd"
] | Python | [
{
"id": "vul_py_40_1",
"commit": "c09a71e2caefd5c25195b0b2decc8177d658216a",
"file_path": "git/repo/base.py",
"start_line": 1172,
"end_line": 1255,
"snippet": " def _clone(\n cls,\n git: \"Git\",\n url: PathLike,\n path: PathLike,\n odb_default_type: Typ... | [
{
"id": "fix_py_40_1",
"commit": "ca965ec",
"file_path": "git/repo/base.py",
"start_line": 1172,
"end_line": 1257,
"snippet": " def _clone(\n cls,\n git: \"Git\",\n url: PathLike,\n path: PathLike,\n odb_default_type: Type[GitCmdObjectDB],\n progr... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-40267 |
CVE-2022-29822 | Due to improper parameter filtering in the Feathers js library, which may ultimately lead to SQL injection | {
"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/feathersjs-ecosystem/feathers-sequelize | [
"https://github.com/feathersjs-ecosystem/feathers-sequelize/commit/0f2d85f0b2d556f2b6c70423dcebdbd29d95e3dc"
] | JavaScript | [
{
"id": "vul_js_31_1",
"commit": "4c536cc",
"file_path": "lib/index.js",
"start_line": 122,
"end_line": 159,
"snippet": " _find (params = {}) {\n const { filters, query: where, paginate } = this.filterQuery(params);\n const order = utils.getOrder(filters.$sort);\n\n const q = Objec... | [
{
"id": "fix_js_31_1",
"commit": "0f2d85f",
"file_path": "lib/index.js",
"start_line": 122,
"end_line": 159,
"snippet": " _find (params = {}) {\n const { filters, query: where, paginate } = this.filterQuery(params);\n const order = utils.getOrder(filters.$sort);\n\n const q = Objec... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-29822 |
CVE-2021-35042 | Django's QuerySet.order_by() handling is vulnerable to SQL injection when an application passes untrusted, client-controlled ordering strings to the ORM. Dotted ordering values may be treated as raw table.column aliases and later interpolated into the generated SQL ORDER BY clause without complete field parsing or safe... | {
"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/0bd57a879a0d54920bb9038a732645fb917040e9",
"https://github.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4",
"https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f"
] | Python | [
{
"id": "vul_py_5_1",
"commit": "8dc1cc0",
"file_path": "django/db/models/sql/query.py",
"start_line": 1888,
"end_line": 1932,
"snippet": " def add_ordering(self, *ordering):\n \"\"\"\n Add items from the 'ordering' sequence to the query's \"order by\"\n clause. These... | [
{
"id": "fix_py_5_1",
"commit": "0bd57a879a0d54920bb9038a732645fb917040e9",
"file_path": "django/db/models/sql/query.py",
"start_line": 1890,
"end_line": 1934,
"snippet": " def add_ordering(self, *ordering):\n \"\"\"\n Add items from the 'ordering' sequence to the query's \"... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-35042 |
CVE-2025-24976 | Distribution is a toolkit to pack, ship, store, and deliver container content. Systems running registry versions 3.0.0-beta.1 through 3.0.0-rc.2 with token authentication enabled may be vulnerable to an issue in which token authentication allows an attacker to inject an untrusted signing key in a JSON web token (JWT). ... | {
"CWE-639": {
"name": "Authorization Bypass Through User-Controlled Key",
"description": "The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data."
}
} | https://github.com/distribution/distribution | [
"https://github.com/distribution/distribution/commit/5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd"
] | Go | [
{
"id": "vul_go_68_1",
"commit": "939a525",
"file_path": "registry/auth/token/token.go",
"start_line": 215,
"end_line": 251,
"snippet": "func verifyJWK(header jose.Header, verifyOpts VerifyOptions) (signingKey crypto.PublicKey, err error) {\n\tjwk := header.JSONWebKey\n\tsigningKey = jwk.Key... | [
{
"id": "fix_go_68_1",
"commit": "5ea9aa0",
"file_path": "registry/auth/token/token.go",
"start_line": 215,
"end_line": 250,
"snippet": "func verifyJWK(header jose.Header, verifyOpts VerifyOptions) (crypto.PublicKey, error) {\n\tjwk := header.JSONWebKey\n\n\t// Check to see if the key includ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2025-24976 |
CVE-2017-1001003 | math.js before 3.17.0 had an issue where private properties such as a constructor could be replaced by using unicode characters when creating an object. | {
"CWE-20": {
"name": "Improper Input Validation",
"description": "The product receives input or data, but it does\n not validate or incorrectly validates that the input has the\n properties that are required to process the data safely and\n correctly."
}
} | https://github.com/josdejong/mathjs | [
"https://github.com/josdejong/mathjs/commit/a60f3c8d9dd714244aed7a5569c3dccaa3a4e761"
] | JavaScript | [
{
"id": "vul_js_68_1",
"commit": "8d2d48d81",
"file_path": "lib/expression/node/ObjectNode.js",
"start_line": 55,
"end_line": 71,
"snippet": " function compileObjectNode(node, defs, args) {\n if (!(node instanceof ObjectNode)) {\n throw new TypeError('No valid ObjectNode')\n }\n\... | [
{
"id": "fix_js_68_1",
"commit": "a60f3c8d9dd714244aed7a5569c3dccaa3a4e761",
"file_path": "lib/expression/node/ObjectNode.js",
"start_line": 55,
"end_line": 75,
"snippet": " function compileObjectNode(node, defs, args) {\n if (!(node instanceof ObjectNode)) {\n throw new TypeError('... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-1001003 |
CVE-2017-0360 | file_open in Tryton 3.x and 4.x through 4.2.2 allows remote authenticated users with certain permissions to read arbitrary files via a "same root name but with a suffix" attack. NOTE: This vulnerability exists because of an incomplete fix for CVE-2016-1242. | {
"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/tryton/trytond | [
"https://github.com/tryton/trytond/commit/a67a7f03c30277515f530cad5950056171ed5bd1",
"https://github.com/tryton/trytond/commit/30e978593733385db3144f8c583eeb4679575cf0"
] | Python | [
{
"id": "vul_py_37_1",
"commit": "5d7c4fa",
"file_path": "trytond/tools/misc.py",
"start_line": 31,
"end_line": 37,
"snippet": " def secure_join(root, *paths):\n \"Join paths and ensure it still below root\"\n path = os.path.join(root, *paths)\n path = os.path.normpat... | [
{
"id": "fix_py_37_1",
"commit": "a67a7f03c30277515f530cad5950056171ed5bd1",
"file_path": "trytond/tools/misc.py",
"start_line": 31,
"end_line": 37,
"snippet": " def secure_join(root, *paths):\n \"Join paths and ensure it still below root\"\n path = os.path.join(root, *paths... | ghcr.io/patcheval-cve/patcheval-cve:cve-2017-0360 |
CVE-2022-2024 | OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11. | {
"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/gogs/gogs | [
"https://github.com/gogs/gogs/commit/15d0d6a94be0098a8227b6b95bdf2daed105ec41"
] | Go | [
{
"id": "vul_go_17_1",
"commit": "0f8c71d",
"file_path": "internal/db/repo_editor.go",
"start_line": 488,
"end_line": 496,
"snippet": "func isRepositoryGitPath(path string) bool {\n\treturn strings.HasSuffix(path, \".git\") ||\n\t\tstrings.Contains(path, \".git/\") ||\n\t\tstrings.Contains(p... | [
{
"id": "fix_go_17_1",
"commit": "15d0d6a",
"file_path": "internal/db/repo_editor.go",
"start_line": 490,
"end_line": 499,
"snippet": "func isRepositoryGitPath(path string) bool {\n\tpath = strings.ToLower(path)\n\treturn strings.HasSuffix(path, \".git\") ||\n\t\tstrings.Contains(path, \".gi... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-2024 |
CVE-2018-16482 | mcstatic's static file serving logic is vulnerable to directory traversal when it derives a filesystem path from the client-controlled URL path and normalizes it after joining it with the configured static root. An attacker can craft a request path containing slash-separated parent-directory traversal segments, such as... | {
"CWE-22": {
"name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not pr... | https://github.com/tjchaplin/mcstatic | [
"https://github.com/tjchaplin/mcstatic/commit/342d0d225b86f2cd6d648e607cc96ee325642bf9"
] | JavaScript | [
{
"id": "vul_js_9_1",
"commit": "7743af5",
"file_path": "lib/staticFileHandler.js",
"start_line": 15,
"end_line": 48,
"snippet": " return function(req,res){\n var root = options.root;\n var mockPaths = getMockPathForMethod(options,req.method);\n\n var filePath = httpH... | [
{
"id": "fix_js_9_1",
"commit": "342d0d225b86f2cd6d648e607cc96ee325642bf9",
"file_path": "lib/staticFileHandler.js",
"start_line": 8,
"end_line": 49,
"snippet": "module.exports = function staticFileListener(options, nextHandler){\n assert(options.root,'A root must be defined');\n asser... | ghcr.io/patcheval-cve/patcheval-cve:cve-2018-16482 |
CVE-2024-30260 | Undici is an HTTP/1.1 client, written from scratch for Node.js. Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. This vulnerability was patched in version(s) 5.28.4 and 6.11.1. | {
"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/nodejs/undici | [
"https://github.com/nodejs/undici/commit/64e3402da4e032e68de46acb52800c9a06aaea3f",
"https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75"
] | JavaScript | [
{
"id": "vul_js_36_1",
"commit": "ee5f892f3955eaca37730ed30349153ba203e9cd",
"file_path": "lib/handler/redirect-handler.js",
"start_line": 197,
"end_line": 209,
"snippet": "function shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.hea... | [
{
"id": "fix_js_36_1",
"commit": "6805746680d27a5369d7fb67bc05f95a28247d75",
"file_path": "lib/handler/redirect-handler.js",
"start_line": 197,
"end_line": 209,
"snippet": "function shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.hea... | ghcr.io/patcheval-cve/patcheval-cve:cve-2024-30260 |
CVE-2021-21384 | shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The prob... | {
"CWE-88": {
"name": "Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')",
"description": "The product constructs a string for a command to be executed by a separate component\nin another control sphere, but it does not properly delimit the\nintended arguments, options, or swi... | https://github.com/ericcornelissen/shescape | [
"https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b"
] | JavaScript | [
{
"id": "vul_js_62_1",
"commit": "57075c4",
"file_path": "src/unix.js",
"start_line": 13,
"end_line": 15,
"snippet": "function escapeShellArg(arg) {\n return arg.replace(/'/g, `'\\\\''`);\n}",
"vul_localization": [
{
"patch_lines": [
2
],
"tag": "... | [
{
"id": "fix_js_62_1",
"commit": "07a069a66423809cbedd61d980c11ca44a29ea2b",
"file_path": "src/unix.js",
"start_line": 13,
"end_line": 15,
"snippet": "function escapeShellArg(arg) {\n return arg.replace(/\\u{0}/gu, \"\").replace(/'/g, `'\\\\''`);\n}"
}
] | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-21384 |
CVE-2022-24065 | The package cookiecutter before 2.1.1 are vulnerable to Command Injection via hg argument injection. When calling the cookiecutter function from Python code with the checkout parameter, it is passed to the hg checkout command in a way that additional flags can be set. The additional flags can be used to perform a comma... | {
"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/cookiecutter/cookiecutter | [
"https://github.com/cookiecutter/cookiecutter/commit/fdffddb31fd2b46344dfa317531ff155e7999f77"
] | Python | [
{
"id": "vul_py_42_1",
"commit": "94036d0",
"file_path": "cookiecutter/vcs.py",
"start_line": 57,
"end_line": 121,
"snippet": "def clone(repo_url, checkout=None, clone_to_dir='.', no_input=False):\n \"\"\"Clone a repo to the current directory.\n\n :param repo_url: Repo URL of unknown t... | [
{
"id": "fix_py_42_1",
"commit": "fdffddb",
"file_path": "cookiecutter/vcs.py",
"start_line": 57,
"end_line": 125,
"snippet": "def clone(repo_url, checkout=None, clone_to_dir='.', no_input=False):\n \"\"\"Clone a repo to the current directory.\n\n :param repo_url: Repo URL of unknown t... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-24065 |
CVE-2023-5122 | Grafana is an open-source platform for monitoring and observability. The CSV datasource plugin is a Grafana Labs maintained plugin for Grafana that allows for retrieving and processing CSV data from a remote endpoint configured by an administrator. If this plugin was configured to send requests to a bare host with no p... | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/grafana/grafana-csv-datasource | [
"https://github.com/grafana/grafana-csv-datasource/commit/aedd016bdb93b0c43613ce69d8ca257163ec01eb"
] | Go | [
{
"id": "vul_go_63_1",
"commit": "572367c",
"file_path": "pkg/http_storage.go",
"start_line": 83,
"end_line": 122,
"snippet": "func newRequestFromQuery(settings *backend.DataSourceInstanceSettings, customSettings dataSourceSettings, query dataSourceQuery) (*http.Request, error) {\n\tu, err :... | [
{
"id": "fix_go_63_1",
"commit": "aedd016",
"file_path": "pkg/http_storage.go",
"start_line": 83,
"end_line": 133,
"snippet": "func newRequestFromQuery(settings *backend.DataSourceInstanceSettings, customSettings dataSourceSettings, query dataSourceQuery) (*http.Request, error) {\n\tu, err :... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-5122 |
CVE-2025-27154 | Spotipy is a lightweight Python library for the Spotify Web API. The `CacheHandler` class creates a cache file to store the auth token. Prior to version 2.25.1, the file created has `rw-r--r--` (644) permissions by default, when it could be locked down to `rw-------` (600) permissions. This leads to overly broad exposu... | {
"CWE-276": {
"name": "Incorrect Default Permissions",
"description": "During installation, installed file permissions are set to allow anyone to modify those files."
}
} | https://github.com/spotipy-dev/spotipy | [
"https://github.com/spotipy-dev/spotipy/commit/1ca453f6ef87a2a9e9876f52b6cb38d13532ccf2"
] | Python | [
{
"id": "vul_py_61_1",
"commit": "668158f",
"file_path": "spotipy/cache_handler.py",
"start_line": 93,
"end_line": 98,
"snippet": " def save_token_to_cache(self, token_info):\n try:\n with open(self.cache_path, \"w\", encoding='utf-8') as f:\n f.write(json... | [
{
"id": "fix_py_61_1",
"commit": "1ca453f",
"file_path": "spotipy/cache_handler.py",
"start_line": 93,
"end_line": 102,
"snippet": " def save_token_to_cache(self, token_info):\n try:\n with open(self.cache_path, \"w\", encoding='utf-8') as f:\n f.write(jso... | ghcr.io/patcheval-cve/patcheval-cve:cve-2025-27154 |
CVE-2022-0577 | Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository scrapy/scrapy prior to 2.6.1. | {
"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/scrapy/scrapy | [
"https://github.com/scrapy/scrapy/commit/8ce01b3b76d4634f55067d6cfdf632ec70ba304a"
] | Python | [
{
"id": "vul_py_49_1",
"commit": "aa0306a",
"file_path": "scrapy/downloadermiddlewares/redirect.py",
"start_line": 49,
"end_line": 53,
"snippet": " def _redirect_request_using_get(self, request, redirect_url):\n redirected = request.replace(url=redirect_url, method='GET', body='')\... | [
{
"id": "fix_py_49_1",
"commit": "8ce01b3",
"file_path": "scrapy/downloadermiddlewares/redirect.py",
"start_line": 65,
"end_line": 74,
"snippet": " def _redirect_request_using_get(self, request, redirect_url):\n redirect_request = _build_redirect_request(\n request,\n ... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0577 |
CVE-2023-49736 | A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.
Users are recommended to upgrade to version 3.0.2, which fixes the issue. | {
"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/apache/superset | [
"https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751",
"https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d"
] | Python | [
{
"id": "vul_py_19_1",
"commit": "2f46890",
"file_path": "superset/jinja_context.py",
"start_line": 400,
"end_line": 416,
"snippet": "def where_in(values: list[Any], mark: str = \"'\") -> str:\n \"\"\"\n Given a list of values, build a parenthesis list suitable for an IN expression.\n\... | [
{
"id": "fix_py_19_1",
"commit": "1d403da",
"file_path": "superset/jinja_context.py",
"start_line": 401,
"end_line": 433,
"snippet": "class WhereInMacro: # pylint: disable=too-few-public-methods\n def __init__(self, dialect: Dialect):\n self.dialect = dialect\n\n def __call__(s... | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-49736 |
CVE-2020-4037 | In OAuth2 Proxy from version 5.1.1 and less than version 6.0.0, users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This is expected to be the original URL that the user was trying to access. This redirect URL is checked within the proxy and valida... | {
"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/oauth2-proxy/oauth2-proxy | [
"https://github.com/oauth2-proxy/oauth2-proxy/commit/ee5662e0f5001d76ec76562bb605abbd07c266a2"
] | Go | [
{
"id": "vul_go_15_1",
"commit": "1b6c54c",
"file_path": "oauthproxy.go",
"start_line": 60,
"end_line": 67,
"snippet": "var (\n\t// ErrNeedsLogin means the user should be redirected to the login page\n\tErrNeedsLogin = errors.New(\"redirect to login page\")\n\n\t// Used to check final redire... | [
{
"id": "fix_go_15_1",
"commit": "ee5662e",
"file_path": "oauthproxy.go",
"start_line": 60,
"end_line": 67,
"snippet": "var (\n\t// ErrNeedsLogin means the user should be redirected to the login page\n\tErrNeedsLogin = errors.New(\"redirect to login page\")\n\n\t// Used to check final redire... | ghcr.io/patcheval-cve/patcheval-cve:cve-2020-4037 |
CVE-2023-52081 | ffcss is a CLI interface to apply and configure Firefox CSS themes. Prior to 0.2.0, the function `lookupPreprocess()` is meant to apply some transformations to a string by disabling characters in the regex `[-_ .]`. However, due to the use of late Unicode normalization of type NFKD, it is possible to bypass that valida... | {
"CWE-74": {
"name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
"description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or inc... | https://github.com/ewen-lbh/ffcss | [
"https://github.com/ewen-lbh/ffcss/commit/f9c491874b858a32fcae15045f169fd7d02f90dc"
] | Go | [
{
"id": "vul_go_80_1",
"commit": "5e1ea8f",
"file_path": "catalog.go",
"start_line": 44,
"end_line": 46,
"snippet": "func lookupPreprocess(s string) string {\n\treturn strings.ToLower(norm.NFKD.String(regexp.MustCompile(`[-_ .]`).ReplaceAllString(s, \"\")))\n}",
"vul_localization": [
... | [
{
"id": "fix_go_80_1",
"commit": "f9c4918",
"file_path": "catalog.go",
"start_line": 44,
"end_line": 46,
"snippet": "func lookupPreprocess(s string) string {\n\treturn strings.ToLower(regexp.MustCompile(`[-_ .]`).ReplaceAllString(norm.NFKD.String(s), \"\"))\n}"
}
] | ghcr.io/patcheval-cve/patcheval-cve:cve-2023-52081 |
CVE-2022-29188 | Smokescreen is an HTTP proxy. The primary use case for Smokescreen is to prevent server-side request forgery (SSRF) attacks in which external attackers leverage the behavior of applications to connect to or scan internal infrastructure. Smokescreen also offers an option to deny access to additional (e.g., external) URL... | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/stripe/smokescreen | [
"https://github.com/stripe/smokescreen/commit/dea7b3c89df000f4072ff9866d61d78e30df6a36"
] | Go | [
{
"id": "vul_go_7_1",
"commit": "e589a2f",
"file_path": "pkg/smokescreen/smokescreen.go",
"start_line": 417,
"end_line": 540,
"snippet": "func BuildProxy(config *Config) *goproxy.ProxyHttpServer {\n\tproxy := goproxy.NewProxyHttpServer()\n\tproxy.Verbose = false\n\tconfigureTransport(proxy.T... | [
{
"id": "fix_go_7_1",
"commit": "dea7b3c89df000f4072ff9866d61d78e30df6a36",
"file_path": "pkg/smokescreen/smokescreen.go",
"start_line": 417,
"end_line": 540,
"snippet": "func BuildProxy(config *Config) *goproxy.ProxyHttpServer {\n\tproxy := goproxy.NewProxyHttpServer()\n\tproxy.Verbose = fa... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-29188 |
CVE-2025-23042 | Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Gradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case of a blocked file or directory path. This vulnerability arises... | {
"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/gradio-app/gradio | [
"https://github.com/gradio-app/gradio/commit/6b63fdec441b5c9bf910f910a2505d8defbb6bf8"
] | Python | [
{
"id": "vul_py_24_1",
"commit": "345851d",
"file_path": "gradio/utils.py",
"start_line": 1507,
"end_line": 1524,
"snippet": "def is_allowed_file(\n path: Path,\n blocked_paths: Sequence[str | Path],\n allowed_paths: Sequence[str | Path],\n created_paths: Sequence[str | Path],\n)... | [
{
"id": "fix_py_24_1",
"commit": "6b63fde",
"file_path": "gradio/utils.py",
"start_line": 1507,
"end_line": 1520,
"snippet": "def is_allowed_file(\n path: Path,\n blocked_paths: Sequence[str | Path],\n allowed_paths: Sequence[str | Path],\n created_paths: Sequence[str | Path],\n)... | ghcr.io/patcheval-cve/patcheval-cve:cve-2025-23042 |
CVE-2021-21411 | OAuth2-Proxy is an open source reverse proxy that provides authentication with Google, Github or other providers. The `--gitlab-group` flag for group-based authorization in the GitLab provider stopped working in the v7.0.0 release. Regardless of the flag settings, authorization wasn't restricted. Additionally, any auth... | {
"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/oauth2-proxy/oauth2-proxy | [
"https://github.com/oauth2-proxy/oauth2-proxy/commit/0279fa7dff1752f1710707dbd1ffac839de8bbfc"
] | Go | [
{
"id": "vul_go_57_1",
"commit": "73d9f38",
"file_path": "./providers/gitlab.go",
"start_line": 284,
"end_line": 313,
"snippet": "func (p *GitLabProvider) EnrichSession(ctx context.Context, s *sessions.SessionState) error {\n\t// Retrieve user info\n\tuserInfo, err := p.getUserInfo(ctx, s)\n... | [
{
"id": "fix_go_57_1",
"commit": "0279fa7dff1752f1710707dbd1ffac839de8bbfc",
"file_path": "./providers/gitlab.go",
"start_line": 284,
"end_line": 305,
"snippet": "func (p *GitLabProvider) EnrichSession(ctx context.Context, s *sessions.SessionState) error {\n\t// Retrieve user info\n\tuserInf... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-21411 |
CVE-2022-0235 | node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor | {
"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/node-fetch/node-fetch | [
"https://github.com/node-fetch/node-fetch/commit/5c32f002fdd65b1c6a8f1e3620210813d45c7e60",
"https://github.com/node-fetch/node-fetch/commit/36e47e8a6406185921e4985dcbeff140d73eaa10",
"https://github.com/node-fetch/node-fetch/commit/1ef4b560a17e644a02a3bfdea7631ffeee578b35"
] | JavaScript | [
{
"id": "vul_js_48_1",
"commit": "f2c3d56",
"file_path": "src/index.js",
"start_line": 37,
"end_line": 311,
"snippet": "export default async function fetch(url, options_) {\n\treturn new Promise((resolve, reject) => {\n\t\t// Build request object\n\t\tconst request = new Request(url, options... | [
{
"id": "fix_js_48_1",
"commit": "5c32f002fdd65b1c6a8f1e3620210813d45c7e60",
"file_path": "src/index.js",
"start_line": 38,
"end_line": 324,
"snippet": "export default async function fetch(url, options_) {\n\treturn new Promise((resolve, reject) => {\n\t\t// Build request object\n\t\tconst r... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0235 |
CVE-2022-2900 | The parse-url library is vulnerable to server-side request forgery when it is given attacker-controlled URL strings that are malformed or ambiguous but still contain network destinations. In the vulnerable behavior, URLs that the underlying parser cannot reliably interpret may still be returned to callers as usable par... | {
"CWE-918": {
"name": "Server-Side Request Forgery (SSRF)",
"description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
}
} | https://github.com/ionicabizau/parse-url | [
"https://github.com/ionicabizau/parse-url/commit/b88c81df8f4c5168af454eaa4f92afa9349e4e13"
] | JavaScript | [
{
"id": "vul_js_33_1",
"commit": "e4968ff",
"file_path": "lib/index.js",
"start_line": 36,
"end_line": 72,
"snippet": "const parseUrl = (url, normalize = false) => {\n\n // Constants\n const GIT_RE = /(^(git@|http(s)?:\\/\\/)([\\w\\.\\-@]+)(\\/|:))(([\\~,\\.\\w,\\-,\\_,\\/]+)(.git){0,1... | [
{
"id": "fix_js_33_1",
"commit": "b88c81df8f4c5168af454eaa4f92afa9349e4e13",
"file_path": "lib/index.js",
"start_line": 37,
"end_line": 84,
"snippet": "const parseUrl = (url, normalize = false) => {\n\n // Constants\n const GIT_RE = /(^(git@|http(s)?:\\/\\/)([\\w\\.\\-@]+)(\\/|:))(([\\... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-2900 |
CVE-2021-3987 | An improper access control vulnerability exists in janeczku/calibre-web. The affected version allows users without public shelf permissions to create public shelves. The vulnerability is due to the `create_shelf` method in `shelf.py` not verifying if the user has the necessary permissions to create a public shelf. This... | {
"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."
},
"CWE-639": {
"name": "Authorization Bypass Through User-Controlled Key",
"description": "The system's authorizat... | https://github.com/janeczku/calibre-web | [
"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874"
] | Python | [
{
"id": "vul_py_39_1",
"commit": "6aad937",
"file_path": "cps/shelf.py",
"start_line": 226,
"end_line": 228,
"snippet": "def create_shelf():\n shelf = ub.Shelf()\n return create_edit_shelf(shelf, page_title=_(u\"Create a Shelf\"), page=\"shelfcreate\")",
"vul_localization": [
... | [
{
"id": "fix_py_39_1",
"commit": "bcdc976",
"file_path": "cps/shelf.py",
"start_line": 226,
"end_line": 232,
"snippet": "def create_shelf():\n if not current_user.role_edit_shelfs() and request.method == 'POST':\n flash(_(u\"Sorry you are not allowed to create a public shelf\"), ca... | ghcr.io/patcheval-cve/patcheval-cve:cve-2021-3987 |
CVE-2022-0436 | Grunt's file path containment logic can incorrectly classify paths outside the current working directory as being contained within it. An attacker who can influence file paths passed to Grunt file APIs, such as paths used by tasks or plugins that invoke deletion, may supply crafted sibling or boundary paths that bypass... | {
"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/gruntjs/grunt | [
"https://github.com/gruntjs/grunt/commit/b0ec6e12426fc8d5720dee1702f6a67455c5986c",
"https://github.com/gruntjs/grunt/commit/aad3d4521c3098fb255fb2db8f2e1d691a033665"
] | JavaScript | [
{
"id": "vul_js_46_1",
"commit": "fdc7056",
"file_path": "lib/grunt/file.js",
"start_line": 295,
"end_line": 308,
"snippet": "file.copy = function copy(srcpath, destpath, options) {\n if (file.isDir(srcpath)) {\n // Copy a directory, recursively.\n // Explicitly create new dest direct... | [
{
"id": "fix_js_46_1",
"commit": "aad3d45",
"file_path": "lib/grunt/file.js",
"start_line": 296,
"end_line": 311,
"snippet": "file.copy = function copy(srcpath, destpath, options) {\n if (file._isSymbolicLink(srcpath)) {\n file._copySymbolicLink(srcpath, destpath);\n } else if (file.isD... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-0436 |
CVE-2022-23536 | Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set ... | {
"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/cortexproject/cortex | [
"https://github.com/cortexproject/cortex/commit/03e023d8b012887b31cc268d0d011b01e1e65506"
] | Go | [
{
"id": "vul_go_34_1",
"commit": "e6a3da9",
"file_path": "pkg/alertmanager/api.go",
"start_line": 310,
"end_line": 397,
"snippet": "func validateAlertmanagerConfig(cfg interface{}) error {\n\tv := reflect.ValueOf(cfg)\n\tt := v.Type()\n\n\t// Skip invalid, the zero value or a nil pointer (ch... | [
{
"id": "fix_go_34_1",
"commit": "03e023d",
"file_path": "pkg/alertmanager/api.go",
"start_line": 42,
"end_line": 49,
"snippet": "var (\n\terrPasswordFileNotAllowed = errors.New(\"setting password_file, bearer_token_file and credentials_file is not allowed\")\n\terrOAuth2SecretFileNot... | ghcr.io/patcheval-cve/patcheval-cve:cve-2022-23536 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.