prompt stringclasses 1
value | completions listlengths 1 63.8k | labels listlengths 1 63.8k | source stringclasses 1
value | other_info stringlengths 2.06k 101k | index int64 0 6.83k |
|---|---|---|---|---|---|
Determine whether the {function_name} code is vulnerable or not. | [
"# Define all the service endpoint handlers here.\nimport json\nimport os\nimport re\nimport tempfile\nimport posixpath\nimport urllib\nimport pathlib",
"import logging\nfrom functools import wraps",
"from flask import Response, request, current_app, send_file\nfrom google.protobuf import descriptor\nfrom googl... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Define all the service endpoint handlers here.\nimport json\nimport os\nimport re\nimport tempfile\nimport posixpath\nimport urllib\nimport pathlib",
"import logging\nfrom functools import wraps",
"from flask import Response, request, current_app, send_file\nfrom google.protobuf import descriptor\nfrom googl... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pathlib\nimport posixpath\nimport urllib.parse\nimport uuid",
"from mlflow.exceptions import MlflowException\nfrom mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE\nfrom mlflow.store.db.db_types import DATABASE_ENGINES\nfrom mlflow.utils.validation import _validate_db_type_string\nfrom mlflow.u... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pathlib\nimport posixpath\nimport urllib.parse\nimport uuid",
"from mlflow.exceptions import MlflowException\nfrom mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE\nfrom mlflow.store.db.db_types import DATABASE_ENGINES\nfrom mlflow.utils.validation import _validate_db_type_string\nfrom mlflow.u... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"from subprocess import Popen",
"import sys\nimport os\nimport logging\nimport socket\nimport time",
"import mlflow\nfrom mlflow.server import BACKEND_STORE_URI_ENV_VAR, ARTIFACT_ROOT_ENV_VAR\nfrom tests.helper_functions import LOCALHOST, get_safe_port",
"_logger = logging.getLogger(__name__)",
"\ndef _awai... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"from subprocess import Popen",
"import sys\nimport os\nimport logging\nimport socket\nimport time",
"import mlflow\nfrom mlflow.server import BACKEND_STORE_URI_ENV_VAR, ARTIFACT_ROOT_ENV_VAR\nfrom tests.helper_functions import LOCALHOST, get_safe_port",
"_logger = logging.getLogger(__name__)",
"\ndef _awai... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"\nIntegration test which starts a local Tracking Server on an ephemeral port,\nand ensures we can use the tracking API to communicate with it.\n\"\"\"\nimport pathlib",
"import flask\nimport json\nimport os\nimport sys\nimport posixpath\nimport logging\nimport tempfile\nimport time\nimport urllib.parse\nim... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"\nIntegration test which starts a local Tracking Server on an ephemeral port,\nand ensures we can use the tracking API to communicate with it.\n\"\"\"\nimport pathlib",
"import flask\nimport json\nimport os\nimport sys\nimport posixpath\nimport logging\nimport tempfile\nimport time\nimport urllib.parse\nim... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pathlib\nimport posixpath\nimport pytest",
"from mlflow.exceptions import MlflowException\nfrom mlflow.store.db.db_types import DATABASE_ENGINES\nfrom mlflow.utils.uri import (\n add_databricks_profile_info_to_artifact_uri,\n append_to_uri_path,\n extract_and_normalize_path,\n extract_db_type_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pathlib\nimport posixpath\nimport pytest",
"from mlflow.exceptions import MlflowException\nfrom mlflow.store.db.db_types import DATABASE_ENGINES\nfrom mlflow.utils.uri import (\n add_databricks_profile_info_to_artifact_uri,\n append_to_uri_path,\n extract_and_normalize_path,\n extract_db_type_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [204, 1342, 42, 59, 1125, 93], "buggy_code_start_loc": [204, 87, 32, 41, 1047, 93], "filenames": ["mlflow/environment_variables.py", "mlflow/server/handlers.py", "mlflow/utils/uri.py", "tests/tracking/integration_test_utils.py", "tests/tracking/test_rest_tracking.py", "tests/utils/test_uri.py"], ... | 755 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Apple HTTP Live Streaming demuxer\n * Copyright (c) 2010 Martin Storsjo\n * Copyright (c) 2013 Anssi Hannula\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [839], "buggy_code_start_loc": [809], "filenames": ["libavformat/hls.c"], "fixing_code_end_loc": [843], "fixing_code_start_loc": [808], "message": "FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, ... | 756 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Apple HTTP Live Streaming demuxer\n * Copyright (c) 2010 Martin Storsjo\n * Copyright (c) 2013 Anssi Hannula\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fre... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [839], "buggy_code_start_loc": [809], "filenames": ["libavformat/hls.c"], "fixing_code_end_loc": [843], "fixing_code_start_loc": [808], "message": "FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, ... | 756 |
Determine whether the {function_name} code is vulnerable or not. | [
"=== WP Print Friendly ===",
"Contributors: ethitter, thinkoomph",
"Donate link: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/\nTags: print, template, printer, printable\nRequires at least: 3.1\nTested up to: 3.5",
"Stable tag: 0.5.2",
"License: GPLv2 or later\nLicense URI: http://www.gnu.org... | [
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [178, 932], "buggy_code_start_loc": [2, 6], "filenames": ["readme.txt", "wp-print-friendly.php"], "fixing_code_end_loc": [183, 973], "fixing_code_start_loc": [2, 6], "message": "A vulnerability classified as problematic has been found in ethitter WP-Print-Friendly up to 0.5.2. This affects an unk... | 757 |
Determine whether the {function_name} code is vulnerable or not. | [
"=== WP Print Friendly ===",
"Contributors: ethitter, stevenkword, thinkoomph",
"Donate link: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/\nTags: print, template, printer, printable\nRequires at least: 3.1\nTested up to: 3.5",
"Stable tag: 0.5.3",
"License: GPLv2 or later\nLicense URI: http:... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [178, 932], "buggy_code_start_loc": [2, 6], "filenames": ["readme.txt", "wp-print-friendly.php"], "fixing_code_end_loc": [183, 973], "fixing_code_start_loc": [2, 6], "message": "A vulnerability classified as problematic has been found in ethitter WP-Print-Friendly up to 0.5.2. This affects an unk... | 757 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\nPlugin Name: WP Print Friendly\nPlugin URI: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/\nDescription: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.",
"Author: Erick Hitter & Oomph, Inc.\nVersion: 0.5.2",... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [178, 932], "buggy_code_start_loc": [2, 6], "filenames": ["readme.txt", "wp-print-friendly.php"], "fixing_code_end_loc": [183, 973], "fixing_code_start_loc": [2, 6], "message": "A vulnerability classified as problematic has been found in ethitter WP-Print-Friendly up to 0.5.2. This affects an unk... | 757 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\nPlugin Name: WP Print Friendly\nPlugin URI: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/\nDescription: Extends WordPress' template system to support printer-friendly templates. Works with permalink structures to support nice URLs.",
"Author: Erick Hitter, Steven K Word & Oomph, Inc.\nV... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [178, 932], "buggy_code_start_loc": [2, 6], "filenames": ["readme.txt", "wp-print-friendly.php"], "fixing_code_end_loc": [183, 973], "fixing_code_start_loc": [2, 6], "message": "A vulnerability classified as problematic has been found in ethitter WP-Print-Friendly up to 0.5.2. This affects an unk... | 757 |
Determine whether the {function_name} code is vulnerable or not. | [
"",
"<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"",
"<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith... | [
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
0,
0,
0,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, eith... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [116, 48, 84], "buggy_code_start_loc": [116, 21, 22], "filenames": ["README.md", "rdiffweb/controller/tests/test_secure_headers.py", "rdiffweb/tools/secure_headers.py"], "fixing_code_end_loc": [118, 69, 71], "fixing_code_start_loc": [117, 22, 21], "message": "Sensitive Cookie in HTTPS Session Wit... | 758 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1",
"\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/",
"\tSoftware distribu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [437], "buggy_code_start_loc": [382], "filenames": ["app/contacts/contact_import.php"], "fixing_code_end_loc": [437], "fixing_code_start_loc": [382], "message": "In FusionPBX up to v4.5.7, the file app\\contacts\\contact_import.php uses an unsanitized \"query_string\" variable coming from the URL... | 759 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1",
"\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/",
"\tSoftware distribu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [437], "buggy_code_start_loc": [382], "filenames": ["app/contacts/contact_import.php"], "fixing_code_end_loc": [437], "fixing_code_start_loc": [382], "message": "In FusionPBX up to v4.5.7, the file app\\contacts\\contact_import.php uses an unsanitized \"query_string\" variable coming from the URL... | 759 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"const bindings = require('bindings')('ced.node')",
"module.exports = buf => {",
"",
" return bindings.detectEncoding(buf)\n}"
] | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [5, 12], "buggy_code_start_loc": [5, 12], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [10, 19], "fixing_code_start_loc": [6, 13], "message": "ced detects character encoding using Google\u00e2\u20ac\u2122s compact_enc_det library. In ced v0.1.0, passing data types other than `Buff... | 760 |
Determine whether the {function_name} code is vulnerable or not. | [
"'use strict'",
"const bindings = require('bindings')('ced.node')",
"module.exports = buf => {",
" if (!Buffer.isBuffer(buf)) {\n throw new TypeError('Expected a buffer')\n }\n",
" return bindings.detectEncoding(buf)\n}"
] | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [5, 12], "buggy_code_start_loc": [5, 12], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [10, 19], "fixing_code_start_loc": [6, 13], "message": "ced detects character encoding using Google\u00e2\u20ac\u2122s compact_enc_det library. In ced v0.1.0, passing data types other than `Buff... | 760 |
Determine whether the {function_name} code is vulnerable or not. | [
"import test from 'ava'\nimport ced from '.'",
"test('detects UTF-8', t => {\n const buf = Buffer.from('tést', 'utf8')\n t.is(ced(buf), 'UTF8')\n})",
"test('detects ASCII', t => {\n const buf = Buffer.from('tést', 'ascii')\n t.is(ced(buf), 'ASCII')\n})",
""
] | [
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [5, 12], "buggy_code_start_loc": [5, 12], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [10, 19], "fixing_code_start_loc": [6, 13], "message": "ced detects character encoding using Google\u00e2\u20ac\u2122s compact_enc_det library. In ced v0.1.0, passing data types other than `Buff... | 760 |
Determine whether the {function_name} code is vulnerable or not. | [
"import test from 'ava'\nimport ced from '.'",
"test('detects UTF-8', t => {\n const buf = Buffer.from('tést', 'utf8')\n t.is(ced(buf), 'UTF8')\n})",
"test('detects ASCII', t => {\n const buf = Buffer.from('tést', 'ascii')\n t.is(ced(buf), 'ASCII')\n})",
"\ntest('throws a TypeError if the argument is not ... | [
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [5, 12], "buggy_code_start_loc": [5, 12], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [10, 19], "fixing_code_start_loc": [6, 13], "message": "ced detects character encoding using Google\u00e2\u20ac\u2122s compact_enc_det library. In ced v0.1.0, passing data types other than `Buff... | 760 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Local APIC virtualization\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright (C) 2007 Novell\n * Copyright (C) 2007 Intel\n * Copyright 2009 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Dor Laor <dor.laor@qumranet.com>\n * Gregory Haskins <ghaskins@novell.com>\n * Yaozu (Eddie) Dong ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [845], "buggy_code_start_loc": [844], "filenames": ["arch/x86/kvm/lapic.c"], "fixing_code_end_loc": [846], "fixing_code_start_loc": [844], "message": "The apic_get_tmcct function in arch/x86/kvm/lapic.c in the KVM subsystem in the Linux kernel through 3.12.5 allows guest OS users to cause a denia... | 761 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Local APIC virtualization\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright (C) 2007 Novell\n * Copyright (C) 2007 Intel\n * Copyright 2009 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Dor Laor <dor.laor@qumranet.com>\n * Gregory Haskins <ghaskins@novell.com>\n * Yaozu (Eddie) Dong ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [845], "buggy_code_start_loc": [844], "filenames": ["arch/x86/kvm/lapic.c"], "fixing_code_end_loc": [846], "fixing_code_start_loc": [844], "message": "The apic_get_tmcct function in arch/x86/kvm/lapic.c in the KVM subsystem in the Linux kernel through 3.12.5 allows guest OS users to cause a denia... | 761 |
Determine whether the {function_name} code is vulnerable or not. | [
"Jappix Changelog\n================",
"Here's the log of what has changed over the Jappix releases.",
"",
"Primo, v1.1.7 (Development)\n---------------------------",
" * (...)",
"",
"Primo, v1.1.6 (August 2015)\n---------------------------",
" * Security fix on paths check @valeriansaliou",
"\nPrim... | [
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"Jappix Changelog\n================",
"Here's the log of what has changed over the Jappix releases.",
"",
"Primo, v1.1.7 (January 2017)\n----------------------------",
" * Improve Carbons @valeriansaliou",
"",
"Primo, v1.1.6 (August 2015)\n---------------------------",
" * Security fix on paths check... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"Primo [1.1.7~dev]"
] | [
0
] | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"Primo [1.1.7]"
] | [
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*",
"Jappix - An open social platform\nThese are the Message Carbons JS script for Jappix",
"-------------------------------------------------",
"License: AGPL\nAuthor: Valérian Saliou",
"*/",
"// Bundle\nvar Carbons = (function () {",
" /**\n * Alias of this\n * @private\n */\n var ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*",
"Jappix - An open social platform\nThese are the Message Carbons JS script for Jappix",
"-------------------------------------------------",
"License: AGPL\nAuthor: Valérian Saliou",
"*/",
"// Bundle\nvar Carbons = (function () {",
" /**\n * Alias of this\n * @private\n */\n var ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 2, 242], "buggy_code_start_loc": [7, 1, 130], "filenames": ["CHANGELOG.md", "VERSION", "app/javascripts/carbons.js"], "fixing_code_end_loc": [11, 2, 245], "fixing_code_start_loc": [7, 1, 130], "message": "An incorrect implementation of \"XEP-0280: Message Carbons\" in multiple XMPP clients a... | 762 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n# MantisBT - a php based bugtracking system",
"# MantisBT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [50], "buggy_code_start_loc": [49], "filenames": ["core/timeline_inc.php"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [49], "message": "A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User In... | 763 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n# MantisBT - a php based bugtracking system",
"# MantisBT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation, either version 2 of the License, or\n# (at your option) any later version.\n#\n# Mantis... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [50], "buggy_code_start_loc": [49], "filenames": ["core/timeline_inc.php"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [49], "message": "A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User In... | 763 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * linux/kernel/signal.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n *\n * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson\n *\n * 2003-06-02 Jim Houston - Concurrent Computer Corp.\n *\t\tChanges to use preallocated sigqueue structures\n *\t\tto allow signals to be sent reliably.\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1403], "buggy_code_start_loc": [1403], "filenames": ["kernel/signal.c"], "fixing_code_end_loc": [1408], "fixing_code_start_loc": [1404], "message": "The kill_something_info function in kernel/signal.c in the Linux kernel before 4.13, when an unspecified architecture and compiler is used, might a... | 764 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * linux/kernel/signal.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n *\n * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson\n *\n * 2003-06-02 Jim Houston - Concurrent Computer Corp.\n *\t\tChanges to use preallocated sigqueue structures\n *\t\tto allow signals to be sent reliably.\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1403], "buggy_code_start_loc": [1403], "filenames": ["kernel/signal.c"], "fixing_code_end_loc": [1408], "fixing_code_start_loc": [1404], "message": "The kill_something_info function in kernel/signal.c in the Linux kernel before 4.13, when an unspecified architecture and compiler is used, might a... | 764 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright (c) 2010-2012 OpenStack, LLC.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable la... | [
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright (c) 2010-2012 OpenStack, LLC.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable la... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distrib... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distrib... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright (c) 2010-2011 OpenStack, LLC.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable la... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright (c) 2010-2011 OpenStack, LLC.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable la... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1444, 204, 4127], "buggy_code_start_loc": [17, 204, 4127], "filenames": ["swauth/middleware.py", "test/unit/test_authtypes.py", "test/unit/test_middleware.py"], "fixing_code_end_loc": [1461, 206, 4164], "fixing_code_start_loc": [18, 205, 4128], "message": "An issue was discovered in middleware.p... | 765 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 136], "buggy_code_start_loc": [242, 136], "filenames": ["tensorflow/core/kernels/data/sparse_tensor_slice_dataset_op.cc", "tensorflow/python/data/kernel_tests/from_sparse_tensor_slices_test.py"], "fixing_code_end_loc": [266, 156], "fixing_code_start_loc": [243, 137], "message": "Tensorflow ... | 766 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 136], "buggy_code_start_loc": [242, 136], "filenames": ["tensorflow/core/kernels/data/sparse_tensor_slice_dataset_op.cc", "tensorflow/python/data/kernel_tests/from_sparse_tensor_slices_test.py"], "fixing_code_end_loc": [266, 156], "fixing_code_start_loc": [243, 137], "message": "Tensorflow ... | 766 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 136], "buggy_code_start_loc": [242, 136], "filenames": ["tensorflow/core/kernels/data/sparse_tensor_slice_dataset_op.cc", "tensorflow/python/data/kernel_tests/from_sparse_tensor_slices_test.py"], "fixing_code_end_loc": [266, 156], "fixing_code_start_loc": [243, 137], "message": "Tensorflow ... | 766 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [265, 136], "buggy_code_start_loc": [242, 136], "filenames": ["tensorflow/core/kernels/data/sparse_tensor_slice_dataset_op.cc", "tensorflow/python/data/kernel_tests/from_sparse_tensor_slices_test.py"], "fixing_code_end_loc": [266, 156], "fixing_code_start_loc": [243, 137], "message": "Tensorflow ... | 766 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)\n#\n# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM\n#\n# This file is part of Open-AudIT.\n#\n# Open-AudIT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [699, 735], "buggy_code_start_loc": [688, 734], "filenames": ["code_igniter/application/controllers/devices.php", "code_igniter/application/models/m_devices.php"], "fixing_code_end_loc": [692, 735], "fixing_code_start_loc": [687, 734], "message": "An information exposure issue has been discovered... | 767 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)\n#\n# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM\n#\n# This file is part of Open-AudIT.\n#\n# Open-AudIT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [699, 735], "buggy_code_start_loc": [688, 734], "filenames": ["code_igniter/application/controllers/devices.php", "code_igniter/application/models/m_devices.php"], "fixing_code_end_loc": [692, 735], "fixing_code_start_loc": [687, 734], "message": "An information exposure issue has been discovered... | 767 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)\n#\n# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM\n#\n# This file is part of Open-AudIT.\n#\n# Open-AudIT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [699, 735], "buggy_code_start_loc": [688, 734], "filenames": ["code_igniter/application/controllers/devices.php", "code_igniter/application/models/m_devices.php"], "fixing_code_end_loc": [692, 735], "fixing_code_start_loc": [687, 734], "message": "An information exposure issue has been discovered... | 767 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n# Copyright 2003-2015 Opmantek Limited (www.opmantek.com)\n#\n# ALL CODE MODIFICATIONS MUST BE SENT TO CODE@OPMANTEK.COM\n#\n# This file is part of Open-AudIT.\n#\n# Open-AudIT is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [699, 735], "buggy_code_start_loc": [688, 734], "filenames": ["code_igniter/application/controllers/devices.php", "code_igniter/application/models/m_devices.php"], "fixing_code_end_loc": [692, 735], "fixing_code_start_loc": [687, 734], "message": "An information exposure issue has been discovered... | 767 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Linux Socket Filter - Kernel level socket filtering\n *\n * Based on the design of the Berkeley Packet Filter. The new\n * internal format has been designed by PLUMgrid:\n *\n *\tCopyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com\n *\n * Authors:\n *\n *\tJay Schulist <jschlst@samba.org>\n *\tAlexei St... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [626], "buggy_code_start_loc": [602], "filenames": ["net/core/filter.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [603], "message": "The (1) BPF_S_ANC_NLATTR and (2) BPF_S_ANC_NLATTR_NEST extension implementations in the sk_run_filter function in net/core/filter.c in the Linux kern... | 768 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Linux Socket Filter - Kernel level socket filtering\n *\n * Based on the design of the Berkeley Packet Filter. The new\n * internal format has been designed by PLUMgrid:\n *\n *\tCopyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com\n *\n * Authors:\n *\n *\tJay Schulist <jschlst@samba.org>\n *\tAlexei St... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [626], "buggy_code_start_loc": [602], "filenames": ["net/core/filter.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [603], "message": "The (1) BPF_S_ANC_NLATTR and (2) BPF_S_ANC_NLATTR_NEST extension implementations in the sk_run_filter function in net/core/filter.c in the Linux kern... | 768 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * The MIT License\n * \n * Copyright (c) 2004-2012, Sun Microsystems, Inc., Kohsuke Kawaguchi, Fulvio Cavarretta,\n * Jean-Baptiste Quenot, Luca Domenico Milanesio, Renaud Bruyeron, Stephen Connolly,\n * Tom Huybrechts, Yahoo! Inc., Manufacture Francaise des Pneumatiques Michelin,\n * Romain Seguy, OHTAKE Tom... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1652], "buggy_code_start_loc": [1511], "filenames": ["src/main/java/hudson/scm/SubversionSCM.java"], "fixing_code_end_loc": [1656], "fixing_code_start_loc": [1511], "message": "The Subversion plugin before 1.54 for Jenkins stores credentials using base64 encoding, which allows local users to obt... | 769 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * The MIT License\n * \n * Copyright (c) 2004-2012, Sun Microsystems, Inc., Kohsuke Kawaguchi, Fulvio Cavarretta,\n * Jean-Baptiste Quenot, Luca Domenico Milanesio, Renaud Bruyeron, Stephen Connolly,\n * Tom Huybrechts, Yahoo! Inc., Manufacture Francaise des Pneumatiques Michelin,\n * Romain Seguy, OHTAKE Tom... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1652], "buggy_code_start_loc": [1511], "filenames": ["src/main/java/hudson/scm/SubversionSCM.java"], "fixing_code_end_loc": [1656], "fixing_code_start_loc": [1511], "message": "The Subversion plugin before 1.54 for Jenkins stores credentials using base64 encoding, which allows local users to obt... | 769 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2015 Cenk Gündoğan <cnkgndgn@gmail.com>\n * Copyright (C) 2018 Freie Universität Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @{\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2015 Cenk Gündoğan <cnkgndgn@gmail.com>\n * Copyright (C) 2018 Freie Universität Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @{\n *\n *... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2015 Freie Universität Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @ingroup tests\n * @{\n *\n * @file\n * @brief Tests exten... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2015 Freie Universität Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @ingroup tests\n * @{\n *\n * @file\n * @brief Tests exten... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python3",
"# Copyright (C) 2018 Freie Universität Berlin\n#\n# This file is subject to the terms and conditions of the GNU Lesser\n# General Public License v2.1. See the file LICENSE in the top level\n# directory for more details.",
"import os\nimport random\nimport re\nimport sys\nimport subpro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python3",
"# Copyright (C) 2018 Freie Universität Berlin\n#\n# This file is subject to the terms and conditions of the GNU Lesser\n# General Public License v2.1. See the file LICENSE in the top level\n# directory for more details.",
"import os\nimport random\nimport re\nimport sys\nimport subpro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [76, 241, 352], "buggy_code_start_loc": [76, 122, 170], "filenames": ["sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c", "tests/gnrc_rpl_srh/main.c", "tests/gnrc_rpl_srh/tests-as-root/01-run.py"], "fixing_code_end_loc": [84, 264, 352], "fixing_code_start_loc": [77, 123, 170], "message": "RIOT-OS, an ... | 770 |
Determine whether the {function_name} code is vulnerable or not. | [
"// +build !windows",
"package errors\n",
"import \"syscall\"",
"\n// Abort will terminate & sends SIGTERM to process\nfunc Abort(i ...int) {",
"",
"\tpgid, err := syscall.Getpgid(syscall.Getpid())\n\tif err != nil {\n\t\tExit(err.Error())\n\t}",
"\t// nolint:errcheck\n\tsyscall.Kill(-pgid, syscall.SIGT... | [
1,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8], "buggy_code_start_loc": [5], "filenames": ["pkg/errors/abort.go"], "fixing_code_end_loc": [16], "fixing_code_start_loc": [5], "message": "In teler before version 0.0.1, if you run teler inside a Docker container and encounter `errors.Exit` function, it will cause denial-of-service (`SIGSEGV`... | 771 |
Determine whether the {function_name} code is vulnerable or not. | [
"// +build !windows",
"package errors\n",
"import (\n\t\"os\"\n\t\"syscall\"\n)",
"\n// Abort will terminate & sends SIGTERM to process\nfunc Abort(i ...int) {",
"\tif _, err := os.Stat(\"/.dockerenv\"); err == nil {\n\t\tos.Exit(i[0])\n\t}\n",
"\tpgid, err := syscall.Getpgid(syscall.Getpid())\n\tif err !... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [8], "buggy_code_start_loc": [5], "filenames": ["pkg/errors/abort.go"], "fixing_code_end_loc": [16], "fixing_code_start_loc": [5], "message": "In teler before version 0.0.1, if you run teler inside a Docker container and encounter `errors.Exit` function, it will cause denial-of-service (`SIGSEGV`... | 771 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"yiisoft/yii2-dev\",\n \"description\": \"Yii PHP Framework Version 2 - Development Package\",\n \"keywords\": [\n \"yii2\",\n \"framework\"\n ],\n \"homepage\": \"https://www.yiiframework.com/\",\n \"type\": \"yii2-extension\",\n \"license\": \"BSD-3-Clause\",\n ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"yiisoft/yii2-dev\",\n \"description\": \"Yii PHP Framework Version 2 - Development Package\",\n \"keywords\": [\n \"yii2\",\n \"framework\"\n ],\n \"homepage\": \"https://www.yiiframework.com/\",\n \"type\": \"yii2-extension\",\n \"license\": \"BSD-3-Clause\",\n ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"_readme\": [\n \"This file locks the dependencies of your project to a known state\",\n \"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies\",\n \"This file is @generated automatically\"\n ],",
" \"content-hash\": \"7e41c6fc0175fd049e0... | [
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"_readme\": [\n \"This file locks the dependencies of your project to a known state\",\n \"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies\",\n \"This file is @generated automatically\"\n ],",
" \"content-hash\": \"8f9a4d7e645592f8066... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"Yii Framework 2 Change Log\n==========================",
"2.0.43 under development\n------------------------\n",
"",
"- Bug #14663: Do not convert int to string if database type of a column is numeric (egorrishe)\n- Bug #18650: Refactor `framework/assets/yii.activeForm.js` arrow function into traditional fun... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"Yii Framework 2 Change Log\n==========================",
"2.0.43 under development\n------------------------\n",
"- Enh #18817: Use `paragonie/random_compat` for random bytes and int generation (samdark)",
"- Bug #14663: Do not convert int to string if database type of a column is numeric (egorrishe)\n- Bug ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\base;",
"use Yii;\nuse yii\\helpers\\StringHelper;",
"/**\n * Security provides a set of methods to handle common security-related task... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\base;",
"use Yii;\nuse yii\\helpers\\StringHelper;",
"/**\n * Security provides a set of methods to handle common security-related task... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\caching;",
"use Yii;\nuse yii\\base\\InvalidConfigException;\nuse yii\\db\\Connection;\nuse yii\\db\\PdoValue;\nuse yii\\db\\Query;\nuse ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\caching;",
"use Yii;\nuse yii\\base\\InvalidConfigException;\nuse yii\\db\\Connection;\nuse yii\\db\\PdoValue;\nuse yii\\db\\Query;\nuse ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\caching;",
"use Yii;\nuse yii\\helpers\\FileHelper;",
"/**\n * FileCache implements a cache component using files.\n *\n * For each dat... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\caching;",
"use Yii;\nuse yii\\helpers\\FileHelper;",
"/**\n * FileCache implements a cache component using files.\n *\n * For each dat... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\captcha;",
"use Yii;\nuse yii\\base\\Action;\nuse yii\\base\\InvalidConfigException;\nuse yii\\helpers\\Url;\nuse yii\\web\\Response;",
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\captcha;",
"use Yii;\nuse yii\\base\\Action;\nuse yii\\base\\InvalidConfigException;\nuse yii\\helpers\\Url;\nuse yii\\web\\Response;",
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"yiisoft/yii2\",\n \"description\": \"Yii PHP Framework Version 2\",\n \"keywords\": [\n \"yii2\",\n \"framework\"\n ],\n \"homepage\": \"https://www.yiiframework.com/\",\n \"type\": \"library\",\n \"license\": \"BSD-3-Clause\",\n \"authors\": [\n {\n ... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"yiisoft/yii2\",\n \"description\": \"Yii PHP Framework Version 2\",\n \"keywords\": [\n \"yii2\",\n \"framework\"\n ],\n \"homepage\": \"https://www.yiiframework.com/\",\n \"type\": \"library\",\n \"license\": \"BSD-3-Clause\",\n \"authors\": [\n {\n ... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\mail;",
"use Yii;\nuse yii\\base\\Component;\nuse yii\\base\\InvalidConfigException;\nuse yii\\base\\ViewContextInterface;\nuse yii\\web\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yii\\mail;",
"use Yii;\nuse yii\\base\\Component;\nuse yii\\base\\InvalidConfigException;\nuse yii\\base\\ViewContextInterface;\nuse yii\\web\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */\n",
"namespace yii\\base {",
" /**\n * emulate availability of functions, to test different branches of Security class\n * where different execu... | [
1,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0,
0,
1,
1,
0,
1,
0,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */\n",
"namespace yiiunit\\framework\\base;",
"\nuse yii\\base\\Security;\nuse yiiunit\\TestCase;",
"/**\n * @group base\n */\nclass SecurityTest extends Te... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yiiunit\\framework\\validators;",
"use Yii;\nuse yii\\helpers\\FileHelper;\nuse yii\\validators\\FileValidator;\nuse yii\\web\\UploadedFile;\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yiiunit\\framework\\validators;",
"use Yii;\nuse yii\\helpers\\FileHelper;\nuse yii\\validators\\FileValidator;\nuse yii\\web\\UploadedFile;\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yiiunit\\framework\\web;\n",
"",
"use yii\\web\\UploadedFile;\nuse yiiunit\\framework\\web\\mocks\\UploadedFileMock;\nuse yiiunit\\framework... | [
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * @link http://www.yiiframework.com/\n * @copyright Copyright (c) 2008 Yii Software LLC\n * @license http://www.yiiframework.com/license/\n */",
"namespace yiiunit\\framework\\web;\n",
"use Yii;",
"use yii\\web\\UploadedFile;\nuse yiiunit\\framework\\web\\mocks\\UploadedFileMock;\nuse yiiunit\\f... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 2923, 6, 574, 280, 249, 347, 77, 347, 1309, 344, 46], "buggy_code_start_loc": [81, 7, 6, 120, 279, 248, 217, 76, 346, 8, 327, 9], "filenames": ["composer.json", "composer.lock", "framework/CHANGELOG.md", "framework/base/Security.php", "framework/caching/DbCache.php", "framework/caching/FileC... | 772 |
Determine whether the {function_name} code is vulnerable or not. | [
"_umount_module()\n{\n\tlocal cur prev OPTS\n\tCOMPREPLY=()\n\tcur=\"${COMP_WORDS[COMP_CWORD]}\"\n\tprev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n\tcase $prev in\n\t\t'-t'|'--types')\n\t\t\tlocal TYPES\n\t\t\tTYPES=\"\n\t\t\t\t$(\\ls /lib/modules/$(uname -r)/kernel/fs | awk '{print $1, \"no\" $1}')\n\t\t\t\t$(awk '{print $... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [47], "buggy_code_start_loc": [43], "filenames": ["bash-completion/umount"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [43], "message": "In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which ... | 773 |
Determine whether the {function_name} code is vulnerable or not. | [
"_umount_module()\n{\n\tlocal cur prev OPTS\n\tCOMPREPLY=()\n\tcur=\"${COMP_WORDS[COMP_CWORD]}\"\n\tprev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n\tcase $prev in\n\t\t'-t'|'--types')\n\t\t\tlocal TYPES\n\t\t\tTYPES=\"\n\t\t\t\t$(\\ls /lib/modules/$(uname -r)/kernel/fs | awk '{print $1, \"no\" $1}')\n\t\t\t\t$(awk '{print $... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [47], "buggy_code_start_loc": [43], "filenames": ["bash-completion/umount"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [43], "message": "In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which ... | 773 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** vm.c - virtual machine for mruby\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/hash.h>\n#include <mruby/irep.h>\n#include <mruby/numeric.h>\n#include <mruby/proc.h>\n#include <mruby/range.h>\n#include <mruby/string.h>... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2770], "buggy_code_start_loc": [2769], "filenames": ["src/vm.c"], "fixing_code_end_loc": [2770], "fixing_code_start_loc": [2769], "message": "Out-of-bounds Read in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredAction": null, "cisaVul... | 774 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** vm.c - virtual machine for mruby\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/hash.h>\n#include <mruby/irep.h>\n#include <mruby/numeric.h>\n#include <mruby/proc.h>\n#include <mruby/range.h>\n#include <mruby/string.h>... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [2770], "buggy_code_start_loc": [2769], "filenames": ["src/vm.c"], "fixing_code_end_loc": [2770], "fixing_code_start_loc": [2769], "message": "Out-of-bounds Read in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredAction": null, "cisaVul... | 774 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n ASN.1 utility functions\n Copyright 2012-2017 Henrik Andersson <hean01@cendio.se> for Cendio AB",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n ASN.1 utility functions\n Copyright 2012-2017 Henrik Andersson <hean01@cendio.se> for Cendio AB",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n Bitmap decompression routines\n Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 1999-2008",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n Bitmap decompression routines\n Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 1999-2008",
" This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n Protocol services - Clipboard functions\n Copyright 2003 Erik Forsberg <forsberg@cendio.se> for Cendio AB\n Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 2003-2008\n Copyright 2017 Henrik Andersson <hean01@cendio.se> for ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* -*- c-basic-offset: 8 -*-\n rdesktop: A Remote Desktop Protocol client.\n Protocol services - Clipboard functions\n Copyright 2003 Erik Forsberg <forsberg@cendio.se> for Cendio AB\n Copyright (C) Matthew Chapman <matthewc.unsw.edu.au> 2003-2008\n Copyright 2017 Henrik Andersson <hean01@cendio.se> for ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [26, 848, 128, 753, 657, 136, 114, 1265, 228, 2015, 876, 446, 372, 890, 58, 44], "buggy_code_start_loc": [25, 797, 120, 753, 597, 4, 48, 1261, 166, 286, 856, 271, 170, 298, 57, 44], "filenames": ["asn.c", "bitmap.c", "cliprdr.c", "constants.h", "cssp.c", "lspci.c", "mcs.c", "orders.c", "proto.h",... | 775 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.