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.
[ "#include \"source/extensions/filters/http/jwt_authn/matcher.h\"", "#include \"envoy/config/route/v3/route_components.pb.h\"\n#include \"envoy/extensions/filters/http/jwt_authn/v3/config.pb.h\"", "#include \"source/common/common/logger.h\"\n#include \"source/common/common/matchers.h\"\n#include \"source/common/...
[ 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": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"source/extensions/filters/http/jwt_authn/matcher.h\"", "#include \"envoy/config/route/v3/route_components.pb.h\"\n#include \"envoy/extensions/filters/http/jwt_authn/v3/config.pb.h\"", "#include \"source/common/common/logger.h\"\n#include \"source/common/common/matchers.h\"\n#include \"source/common/...
[ 1, 1, 1, 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": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"envoy/config/bootstrap/v3/bootstrap.pb.h\"\n#include \"envoy/extensions/filters/http/jwt_authn/v3/config.pb.h\"\n#include \"envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.pb.h\"", "#include \"source/common/router/string_accessor_impl.h\"\n#include \"source/extensio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"envoy/config/bootstrap/v3/bootstrap.pb.h\"\n#include \"envoy/extensions/filters/http/jwt_authn/v3/config.pb.h\"\n#include \"envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.pb.h\"", "#include \"source/common/router/string_accessor_impl.h\"\n#include \"source/extensio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once", "namespace Envoy {\nnamespace Extensions {\nnamespace HttpFilters {\nnamespace JwtAuthn {", "// RS256 private key\n//-----BEGIN PRIVATE KEY-----\n// MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC6n3u6qsX0xY49\n// o+TBJoF64A8s6v0UpxpYZ1UQbNDh/dmrlYpVmjDH1MIHGYiY0nWqZSLXekHyi3Az\n// ...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "#pragma once", "namespace Envoy {\nnamespace Extensions {\nnamespace HttpFilters {\nnamespace JwtAuthn {", "// RS256 private key\n//-----BEGIN PRIVATE KEY-----\n// MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC6n3u6qsX0xY49\n// o+TBJoF64A8s6v0UpxpYZ1UQbNDh/dmrlYpVmjDH1MIHGYiY0nWqZSLXekHyi3Az\n// ...
[ 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": [29, 119, 328, 87], "buggy_code_start_loc": [29, 119, 328, 87], "filenames": ["docs/root/version_history/current.rst", "source/extensions/filters/http/jwt_authn/matcher.cc", "test/extensions/filters/http/jwt_authn/filter_integration_test.cc", "test/extensions/filters/http/jwt_authn/test_common.h"...
1,221
Determine whether the {function_name} code is vulnerable or not.
[ "# Main (unreleased)", "- [FEATURE] (beta) Enable experimental config urls for fetching remote configs. Currently,\n only HTTP/S is supported. Use `-experiment.config-urls.enable` flag to turn this on. (@rlankfo)", "- [ENHANCEMENT] Traces: Improved pod association in PromSD processor (@mapno)\n", "", "# v...
[ 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, 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...
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "# Main (unreleased)", "- [FEATURE] (beta) Enable experimental config urls for fetching remote configs. Currently,\n only HTTP/S is supported. Use `-experiment.config-urls.enable` flag to turn this on. (@rlankfo)", "- [ENHANCEMENT] Traces: Improved pod association in PromSD processor (@mapno)\n", "# v0.21.2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"node_exporter_config\"\n+++", "# node_exporter_config", "The `node_exporter_config` block configures the `node_exporter` integration,\nwhich is an embedded version of\n[`node_exporter`](https://github.com/prometheus/node_exporter)\nand allows for collecting metrics from the UNIX system that `nod...
[ 1, 1, 1, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"node_exporter_config\"\n+++", "# node_exporter_config", "The `node_exporter_config` block configures the `node_exporter` integration,\nwhich is an embedded version of\n[`node_exporter`](https://github.com/prometheus/node_exporter)\nand allows for collecting metrics from the UNIX system that `nod...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"process_exporter_config\"\n+++", "# process_exporter_config", "The `process_exporter_config` block configures the `process_exporter` integration,\nwhich is an embedded version of\n[`process-exporter`](https://github.com/ncabatoff/process-exporter)\nand allows for collection metrics based on the ...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"process_exporter_config\"\n+++", "# process_exporter_config", "The `process_exporter_config` block configures the `process_exporter` integration,\nwhich is an embedded version of\n[`process-exporter`](https://github.com/ncabatoff/process-exporter)\nand allows for collection metrics based on the ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Getting started with Grafana Agent\"\nweight = 100\n+++", "# Getting started with Grafana Agent", "This guide helps users get started with the Grafana Agent. For getting started\nwith the Grafana Agent Operator, please refer to the Operator-specific\n[documentation](../operator/).", "Currently...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Getting started with Grafana Agent\"\nweight = 100\n+++", "# Getting started with Grafana Agent", "This guide helps users get started with the Grafana Agent. For getting started\nwith the Grafana Agent Operator, please refer to the Operator-specific\n[documentation](../operator/).", "Currently...
[ 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Custom Resource Quickstart\"\nweight = 120\n+++\n# Grafana Agent Operator Custom Resource Quickstart", "In this guide you'll learn how to deploy [Agent Operator]({{< relref \"./_index.md\" >}})'s custom resources into your Kubernetes cluster.", "You'll roll out the following custom resources (CR...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Custom Resource Quickstart\"\nweight = 120\n+++\n# Grafana Agent Operator Custom Resource Quickstart", "In this guide you'll learn how to deploy [Agent Operator]({{< relref \"./_index.md\" >}})'s custom resources into your Kubernetes cluster.", "You'll roll out the following custom resources (CR...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Installing Grafana Agent Operator\"\nweight = 100\n+++", "# Installing Grafana Agent Operator", "In this guide you'll learn how to deploy the [Grafana Agent Operator]({{< relref \"./_index.md\" >}}) into your Kubernetes cluster. This guide does *not* use Helm. To learn how to deploy Agent Operat...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Installing Grafana Agent Operator\"\nweight = 100\n+++", "# Installing Grafana Agent Operator", "In this guide you'll learn how to deploy the [Grafana Agent Operator]({{< relref \"./_index.md\" >}}) into your Kubernetes cluster. This guide does *not* use Helm. To learn how to deploy Agent Operat...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Upgrade guide\"\nweight = 200\n+++", "# Upgrade guide", "This guide describes all breaking changes that have happened in prior\nreleases and how to migrate to newer versions.", "## Unreleased Changes", "These changes will come in a future version.", "", "\n## v0.21.0", "### Integration...
[ 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, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "+++\ntitle = \"Upgrade guide\"\nweight = 200\n+++", "# Upgrade guide", "This guide describes all breaking changes that have happened in prior\nreleases and how to migrate to newer versions.", "## Unreleased Changes", "These changes will come in a future version.", "\n## v0.21.2, v0.20.1", "### Disablin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "package operator", "// Supported versions of the Grafana Agent.\nvar (\n\tAgentCompatibilityMatrix = []string{\n\t\t\"v0.14.0\",\n\t\t\"v0.15.0\",\n\t\t// \"v0.16.0\", // Pulled due to critical bug fixed in v0.16.1.\n\t\t\"v0.16.1\",\n\t\t\"v0.17.0\",\n\t\t\"v0.18.0\",\n\t\t\"v0.18.1\",\n\t\t\"v0.18.2\",\n\t\t\"...
[ 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "package operator", "// Supported versions of the Grafana Agent.\nvar (\n\tAgentCompatibilityMatrix = []string{\n\t\t\"v0.14.0\",\n\t\t\"v0.15.0\",\n\t\t// \"v0.16.0\", // Pulled due to critical bug fixed in v0.16.1.\n\t\t\"v0.16.1\",\n\t\t\"v0.17.0\",\n\t\t\"v0.18.0\",\n\t\t\"v0.18.1\",\n\t\t\"v0.18.2\",\n\t\t\"...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "# Running Grafana Agent", "Here are some resources to help you run the Grafana Agent:", "- [Windows Installation](#windows-installation)\n- [Run the Agent with Docker](#running-the-agent-with-docker)\n- [Run the Agent locally](#running-the-agent-locally)\n- [Use the example Kubernetes configs](#use-the-example...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "# Running Grafana Agent", "Here are some resources to help you run the Grafana Agent:", "- [Windows Installation](#windows-installation)\n- [Run the Agent with Docker](#running-the-agent-with-docker)\n- [Run the Agent locally](#running-the-agent-locally)\n- [Use the example Kubernetes configs](#use-the-example...
[ 1, 1, 1, 1, 1, 1, 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env sh\n# shellcheck shell=dash\n# This script should run in all POSIX environments and Dash is POSIX compliant.", "# grafanacloud-install.sh installs the Grafana Agent on supported\n# Linux systems for Grafana Cloud users. Those who aren't users of Grafana Cloud\n# or need to install the Agent on a d...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env sh\n# shellcheck shell=dash\n# This script should run in all POSIX environments and Dash is POSIX compliant.", "# grafanacloud-install.sh installs the Grafana Agent on supported\n# Linux systems for Grafana Cloud users. Those who aren't users of Grafana Cloud\n# or need to install the Agent on a d...
[ 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": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent\n namespace: ${NAMESPACE}\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoints\n - pods\n v...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent\n namespace: ${NAMESPACE}\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoints\n - pods\n v...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent-logs\n namespace: YOUR_NAMESPACE\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent-logs\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoints\n ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent-logs\n namespace: YOUR_NAMESPACE\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent-logs\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoints\n ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent-traces\n namespace: YOUR_NAMESPACE\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent-traces\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoint...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "apiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: grafana-agent-traces\n namespace: YOUR_NAMESPACE\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: grafana-agent-traces\nrules:\n- apiGroups:\n - \"\"\n resources:\n - nodes\n - nodes/proxy\n - services\n - endpoint...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "'grafana/agent:v0.21.1'" ]
[ 0 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "'grafana/agent:v0.21.2'" ]
[ 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bash\n# shellcheck shell=bash", "#\n# install-bare.sh is an installer for the Agent without a ConfigMap. It is\n# used during the Grafana Cloud integrations wizard and is not recommended\n# to be used directly. Instead of calling this script directly, please\n# make a copy of ./agent-bare.yaml and...
[ 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bash\n# shellcheck shell=bash", "#\n# install-bare.sh is an installer for the Agent without a ConfigMap. It is\n# used during the Grafana Cloud integrations wizard and is not recommended\n# to be used directly. Instead of calling this script directly, please\n# make a copy of ./agent-bare.yaml and...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "local agent = import './internal/agent.libsonnet';\nlocal utils = import './internal/utils.libsonnet';\nlocal k = import 'ksonnet-util/kausal.libsonnet';", "local container = k.core.v1.container;\nlocal configMap = k.core.v1.configMap;\nlocal service = k.core.v1.service;", "// Merge all of our libraries to cre...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "local agent = import './internal/agent.libsonnet';\nlocal utils = import './internal/utils.libsonnet';\nlocal k = import 'ksonnet-util/kausal.libsonnet';", "local container = k.core.v1.container;\nlocal configMap = k.core.v1.configMap;\nlocal service = k.core.v1.service;", "// Merge all of our libraries to cre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "function(name='grafana-agent', namespace='') {\n local k = (import 'ksonnet-util/kausal.libsonnet') { _config+:: { namespace: namespace } },", " local container = k.core.v1.container,\n local configMap = k.core.v1.configMap,\n local containerPort = k.core.v1.containerPort,\n local policyRule = k.rbac.v1.pol...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "function(name='grafana-agent', namespace='') {\n local k = (import 'ksonnet-util/kausal.libsonnet') { _config+:: { namespace: namespace } },", " local container = k.core.v1.container,\n local configMap = k.core.v1.configMap,\n local containerPort = k.core.v1.containerPort,\n local policyRule = k.rbac.v1.pol...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "local k = import 'ksonnet-util/kausal.libsonnet';", "local cronJob = k.batch.v1beta1.cronJob;\nlocal configMap = k.core.v1.configMap;\nlocal container = k.core.v1.container;\nlocal deployment = k.apps.v1.deployment;\nlocal volumeMount = k.core.v1.volumeMount;\nlocal volume = k.core.v1.volume;", "function(\n n...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "local k = import 'ksonnet-util/kausal.libsonnet';", "local cronJob = k.batch.v1beta1.cronJob;\nlocal configMap = k.core.v1.configMap;\nlocal container = k.core.v1.container;\nlocal deployment = k.apps.v1.deployment;\nlocal volumeMount = k.core.v1.volumeMount;\nlocal volume = k.core.v1.volume;", "function(\n n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [48, 70, 39, 30, 47, 76, 13, 19, 31, 54, 70, 68, 113, 2, 29, 20, 15, 18], "buggy_code_start_loc": [7, 29, 21, 29, 46, 75, 13, 17, 30, 53, 69, 67, 112, 1, 28, 18, 13, 17], "filenames": ["CHANGELOG.md", "docs/configuration/integrations/node-exporter-config.md", "docs/configuration/integrations/proc...
1,222
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Copyright (C) 2013-2020 Combodo SARL\n *\n * This file is part of iTop.\n *\n * iTop is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [184], "buggy_code_start_loc": [81], "filenames": ["datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php"], "fixing_code_end_loc": [197], "fixing_code_start_loc": [82], "message": "Combodo iTop is a web based IT Service Management tool. In versions prior to 2.7.6 and 3.0.0, users...
1,223
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Copyright (C) 2013-2020 Combodo SARL\n *\n * This file is part of iTop.\n *\n * iTop is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\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": [184], "buggy_code_start_loc": [81], "filenames": ["datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php"], "fixing_code_end_loc": [197], "fixing_code_start_loc": [82], "message": "Combodo iTop is a web based IT Service Management tool. In versions prior to 2.7.6 and 3.0.0, users...
1,223
Determine whether the {function_name} code is vulnerable or not.
[ "/*\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2049], "buggy_code_start_loc": [2048], "filenames": ["MagickCore/profile.c"], "fixing_code_end_loc": [2049], "fixing_code_start_loc": [2048], "message": "MagickCore/profile.c in ImageMagick before 7.0.3-2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted fil...
1,224
Determine whether the {function_name} code is vulnerable or not.
[ "/*\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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2049], "buggy_code_start_loc": [2048], "filenames": ["MagickCore/profile.c"], "fixing_code_end_loc": [2049], "fixing_code_start_loc": [2048], "message": "MagickCore/profile.c in ImageMagick before 7.0.3-2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted fil...
1,224
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nheader('Content-Type: application/json');", "$files_utils = new \\MicroweberPackages\\Utils\\System\\Files();\n$dangerous = $files_utils->get_dangerous_files_extentions();", "\nif (!mw()->user_manager->session_id() or (mw()->user_manager->session_all() == false)) {\n // //session_start();\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": [541], "buggy_code_start_loc": [525], "filenames": ["src/MicroweberPackages/App/functions/plupload.php"], "fixing_code_end_loc": [541], "fixing_code_start_loc": [525], "message": "Insecure Storage of Sensitive Information in GitHub repository microweber/microweber prior to 1.3.", "other": {"cve":...
1,225
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nheader('Content-Type: application/json');", "$files_utils = new \\MicroweberPackages\\Utils\\System\\Files();\n$dangerous = $files_utils->get_dangerous_files_extentions();", "\nif (!mw()->user_manager->session_id() or (mw()->user_manager->session_all() == false)) {\n // //session_start();\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": [541], "buggy_code_start_loc": [525], "filenames": ["src/MicroweberPackages/App/functions/plupload.php"], "fixing_code_end_loc": [541], "fixing_code_start_loc": [525], "message": "Insecure Storage of Sensitive Information in GitHub repository microweber/microweber prior to 1.3.", "other": {"cve":...
1,225
Determine whether the {function_name} code is vulnerable or not.
[ "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.", "from __future__ import absolute_import, division, print_function", "import six", "from cryptography import utils\nfrom crypt...
[ 1, 1, 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": [95, 144], "buggy_code_start_loc": [94, 144], "filenames": ["src/cryptography/hazmat/primitives/kdf/hkdf.py", "tests/hazmat/primitives/test_hkdf.py"], "fixing_code_end_loc": [95, 156], "fixing_code_start_loc": [94, 145], "message": "HKDF in cryptography before 1.5.2 returns an empty byte-string i...
1,226
Determine whether the {function_name} code is vulnerable or not.
[ "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.", "from __future__ import absolute_import, division, print_function", "import six", "from cryptography import utils\nfrom crypt...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [95, 144], "buggy_code_start_loc": [94, 144], "filenames": ["src/cryptography/hazmat/primitives/kdf/hkdf.py", "tests/hazmat/primitives/test_hkdf.py"], "fixing_code_end_loc": [95, 156], "fixing_code_start_loc": [94, 145], "message": "HKDF in cryptography before 1.5.2 returns an empty byte-string i...
1,226
Determine whether the {function_name} code is vulnerable or not.
[ "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.", "from __future__ import absolute_import, division, print_function", "import binascii", "import pytest", "from cryptography....
[ 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [95, 144], "buggy_code_start_loc": [94, 144], "filenames": ["src/cryptography/hazmat/primitives/kdf/hkdf.py", "tests/hazmat/primitives/test_hkdf.py"], "fixing_code_end_loc": [95, 156], "fixing_code_start_loc": [94, 145], "message": "HKDF in cryptography before 1.5.2 returns an empty byte-string i...
1,226
Determine whether the {function_name} code is vulnerable or not.
[ "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.", "from __future__ import absolute_import, division, print_function", "import binascii", "import pytest", "from cryptography....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [95, 144], "buggy_code_start_loc": [94, 144], "filenames": ["src/cryptography/hazmat/primitives/kdf/hkdf.py", "tests/hazmat/primitives/test_hkdf.py"], "fixing_code_end_loc": [95, 156], "fixing_code_start_loc": [94, 145], "message": "HKDF in cryptography before 1.5.2 returns an empty byte-string i...
1,226
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\n/* \n\t01-Artikelsystem V3 - Copyright 2006-2015 by Michael Lorer - 01-Scripts.de\n\tLizenz: Creative-Commons: Namensnennung-Keine kommerzielle Nutzung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland\n\tWeitere Lizenzinformationen unter: http://www.01-scripts.de/lizenz.php\n\t\n\tModul:\t\t01article\n...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [586], "buggy_code_start_loc": [13], "filenames": ["01article.php"], "fixing_code_end_loc": [586], "fixing_code_start_loc": [13], "message": "A vulnerability was found in 01-Scripts 01-Artikelsystem. It has been classified as problematic. Affected is an unknown function of the file 01article.php....
1,227
Determine whether the {function_name} code is vulnerable or not.
[ "<?PHP\n/* \n\t01-Artikelsystem V3 - Copyright 2006-2015 by Michael Lorer - 01-Scripts.de\n\tLizenz: Creative-Commons: Namensnennung-Keine kommerzielle Nutzung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland\n\tWeitere Lizenzinformationen unter: http://www.01-scripts.de/lizenz.php\n\t\n\tModul:\t\t01article\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": [586], "buggy_code_start_loc": [13], "filenames": ["01article.php"], "fixing_code_end_loc": [586], "fixing_code_start_loc": [13], "message": "A vulnerability was found in 01-Scripts 01-Artikelsystem. It has been classified as problematic. Affected is an unknown function of the file 01article.php....
1,227
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of version 2 of the GNU General Public\n * License as published by the Free Software Foundation.\n */\n#ifndef _LINUX_BPF_VERIFIER_H\n#define _LINUX_BPF_VERIF...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [178, 6741], "buggy_code_start_loc": [150, 712], "filenames": ["include/linux/bpf_verifier.h", "kernel/bpf/verifier.c"], "fixing_code_end_loc": [189, 6915], "fixing_code_start_loc": [151, 713], "message": "kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds ...
1,228
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of version 2 of the GNU General Public\n * License as published by the Free Software Foundation.\n */\n#ifndef _LINUX_BPF_VERIFIER_H\n#define _LINUX_BPF_VERIF...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6741], "buggy_code_start_loc": [150, 712], "filenames": ["include/linux/bpf_verifier.h", "kernel/bpf/verifier.c"], "fixing_code_end_loc": [189, 6915], "fixing_code_start_loc": [151, 713], "message": "kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds ...
1,228
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com\n * Copyright (c) 2016 Facebook\n * Copyright (c) 2018 Covalent IO, Inc. http://covalent.io\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of version 2 of the GNU General Public\n * License as published by...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6741], "buggy_code_start_loc": [150, 712], "filenames": ["include/linux/bpf_verifier.h", "kernel/bpf/verifier.c"], "fixing_code_end_loc": [189, 6915], "fixing_code_start_loc": [151, 713], "message": "kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds ...
1,228
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com\n * Copyright (c) 2016 Facebook\n * Copyright (c) 2018 Covalent IO, Inc. http://covalent.io\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of version 2 of the GNU General Public\n * License as published by...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6741], "buggy_code_start_loc": [150, 712], "filenames": ["include/linux/bpf_verifier.h", "kernel/bpf/verifier.c"], "fixing_code_end_loc": [189, 6915], "fixing_code_start_loc": [151, 713], "message": "kernel/bpf/verifier.c in the Linux kernel before 4.20.6 performs undesirable out-of-bounds ...
1,228
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, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [434], "buggy_code_start_loc": [117], "filenames": ["app/basic_operator_panel/resources/content.php"], "fixing_code_end_loc": [434], "fixing_code_start_loc": [117], "message": "In FusionPBX up to v4.5.7, the file app\\basic_operator_panel\\resources\\content.php uses an unsanitized \"eavesdrop_de...
1,229
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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [434], "buggy_code_start_loc": [117], "filenames": ["app/basic_operator_panel/resources/content.php"], "fixing_code_end_loc": [434], "fixing_code_start_loc": [117], "message": "In FusionPBX up to v4.5.7, the file app\\basic_operator_panel\\resources\\content.php uses an unsanitized \"eavesdrop_de...
1,229
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2016-2017 - Davis, Alex Kornitzer */", "#include <r_util.h>", "#include \"mdmp.h\"\n// XXX: this is a random number, no idea how long it should be.\n#define COMMENTS_SIZE 32", "ut64 r_bin_mdmp_get_paddr(struct r_bin_mdmp_obj *obj, ut64 vaddr) {\n\t/* FIXME: Will only resolve exa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [853], "buggy_code_start_loc": [372], "filenames": ["libr/bin/format/mdmp/mdmp.c"], "fixing_code_end_loc": [859], "fixing_code_start_loc": [372], "message": "Denial of Service in GitHub repository radareorg/radare2 prior to 5.6.4.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null,...
1,230
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2016-2017 - Davis, Alex Kornitzer */", "#include <r_util.h>", "#include \"mdmp.h\"\n// XXX: this is a random number, no idea how long it should be.\n#define COMMENTS_SIZE 32", "ut64 r_bin_mdmp_get_paddr(struct r_bin_mdmp_obj *obj, ut64 vaddr) {\n\t/* FIXME: Will only resolve exa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [853], "buggy_code_start_loc": [372], "filenames": ["libr/bin/format/mdmp/mdmp.c"], "fixing_code_end_loc": [859], "fixing_code_start_loc": [372], "message": "Denial of Service in GitHub repository radareorg/radare2 prior to 5.6.4.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null,...
1,230
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2003-2018 Dovecot authors, see the included COPYING file */", "#include \"lib.h\"\n#include \"str.h\"\n#include \"strescape.h\"\n#include \"ostream.h\"\n#include \"auth-client-private.h\"\n#include \"auth-server-connection.h\"\n#include \"auth-client-request.h\"", "\nstruct auth_client_request...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [188], "buggy_code_start_loc": [188], "filenames": ["src/lib-auth/auth-client-request.c"], "fixing_code_end_loc": [190], "fixing_code_start_loc": [189], "message": "A flaw was found in dovecot 2.0 up to 2.2.33 and 2.3.0. An abort of SASL authentication results in a memory leak in dovecot's auth c...
1,231
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2003-2018 Dovecot authors, see the included COPYING file */", "#include \"lib.h\"\n#include \"str.h\"\n#include \"strescape.h\"\n#include \"ostream.h\"\n#include \"auth-client-private.h\"\n#include \"auth-server-connection.h\"\n#include \"auth-client-request.h\"", "\nstruct auth_client_request...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [188], "buggy_code_start_loc": [188], "filenames": ["src/lib-auth/auth-client-request.c"], "fixing_code_end_loc": [190], "fixing_code_start_loc": [189], "message": "A flaw was found in dovecot 2.0 up to 2.2.33 and 2.3.0. An abort of SASL authentication results in a memory leak in dovecot's auth c...
1,231
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2009-2018 - nibble, pancake */", "#include <assert.h>\n#include <stdio.h>\n#include <r_types.h>\n#include <r_util.h>\n#include <r_lib.h>\n#include <r_bin.h>\n#include <r_io.h>\n#include <r_cons.h>\n#include \"elf/elf.h\"", "static RBinInfo* info(RBinFile *bf);", "//TODO: implemen...
[ 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [360, 1045], "buggy_code_start_loc": [351, 1045], "filenames": ["libr/bin/p/bin_elf.c", "libr/core/cbin.c"], "fixing_code_end_loc": [360, 1050], "fixing_code_start_loc": [351, 1046], "message": "The r_read_le32() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap...
1,232
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2009-2018 - nibble, pancake */", "#include <assert.h>\n#include <stdio.h>\n#include <r_types.h>\n#include <r_util.h>\n#include <r_lib.h>\n#include <r_bin.h>\n#include <r_io.h>\n#include <r_cons.h>\n#include \"elf/elf.h\"", "static RBinInfo* info(RBinFile *bf);", "//TODO: implemen...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [360, 1045], "buggy_code_start_loc": [351, 1045], "filenames": ["libr/bin/p/bin_elf.c", "libr/core/cbin.c"], "fixing_code_end_loc": [360, 1050], "fixing_code_start_loc": [351, 1046], "message": "The r_read_le32() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap...
1,232
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2011-2018 - earada, pancake */", "#include <r_core.h>\n#include \"r_util.h\"", "#define DBSPATH \"/share/radare2/\" R2_VERSION \"/fcnsign\"\n#define is_in_range(at, from, sz) ((at) >= (from) && (at) < ((from) + (sz)))", "#define VA_FALSE 0\n#define VA_TRUE 1\n#define VA_NO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [360, 1045], "buggy_code_start_loc": [351, 1045], "filenames": ["libr/bin/p/bin_elf.c", "libr/core/cbin.c"], "fixing_code_end_loc": [360, 1050], "fixing_code_start_loc": [351, 1046], "message": "The r_read_le32() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap...
1,232
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2011-2018 - earada, pancake */", "#include <r_core.h>\n#include \"r_util.h\"", "#define DBSPATH \"/share/radare2/\" R2_VERSION \"/fcnsign\"\n#define is_in_range(at, from, sz) ((at) >= (from) && (at) < ((from) + (sz)))", "#define VA_FALSE 0\n#define VA_TRUE 1\n#define VA_NO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [360, 1045], "buggy_code_start_loc": [351, 1045], "filenames": ["libr/bin/p/bin_elf.c", "libr/core/cbin.c"], "fixing_code_end_loc": [360, 1050], "fixing_code_start_loc": [351, 1046], "message": "The r_read_le32() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap...
1,232
Determine whether the {function_name} code is vulnerable or not.
[ "package main", "import (\n\t\"archive/tar\"\n\t\"fmt\"\n\t\"io\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"", "\t\"github.com/containers/buildah/pkg/chrootuser\"\n\t\"github.com/containers/buildah/util\"\n\t\"github.com/containers/libpod/cmd/podman/cliconfig\"\n\t\"github.com/containers/libpod/cmd/podman/li...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "package main", "import (\n\t\"archive/tar\"\n\t\"fmt\"\n\t\"io\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"", "\t\"github.com/containers/buildah/pkg/chrootuser\"\n\t\"github.com/containers/buildah/util\"\n\t\"github.com/containers/libpod/cmd/podman/cliconfig\"\n\t\"github.com/containers/libpod/cmd/podman/li...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "// +build !remoteclient", "package integration", "import (\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path/filepath\"\n\t\"strings\"", "\t. \"github.com/containers/libpod/test/utils\"\n\t. \"github.com/onsi/ginkgo\"\n\t. \"github.com/onsi/gomega\"\n)", "var _ = Describe(\"Podman cp\", func() {\n\tvar (...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "// +build !remoteclient", "package integration", "import (\n\t\"io/ioutil\"\n\t\"os\"\n\t\"os/exec\"\n\t\"path/filepath\"\n\t\"strings\"", "\t. \"github.com/containers/libpod/test/utils\"\n\t. \"github.com/onsi/ginkgo\"\n\t. \"github.com/onsi/gomega\"\n)", "var _ = Describe(\"Podman cp\", func() {\n\tvar (...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bats -*- bats -*-\n#\n# Tests for 'podman cp'\n#\n# ASSUMPTION FOR ALL THESE TESTS: /tmp in the container starts off empty\n#", "load helpers", "# Create two random-name random-content files in /tmp in the container\n# podman-cp them into the host using '/tmp/*', i.e. asking podman to\n# perfo...
[ 1, 1, 1, 1, 1, 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, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env bats -*- bats -*-\n#\n# Tests for 'podman cp'\n#\n# ASSUMPTION FOR ALL THESE TESTS: /tmp in the container starts off empty\n#", "load helpers", "# Create two random-name random-content files in /tmp in the container\n# podman-cp them into the host using '/tmp/*', i.e. asking podman to\n# perfo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [240, 237, 209], "buggy_code_start_loc": [55, 226, 30], "filenames": ["cmd/podman/cp.go", "test/e2e/cp_test.go", "test/system/065-cp.bats"], "fixing_code_end_loc": [225, 237, 204], "fixing_code_start_loc": [55, 226, 30], "message": "An issue was discovered in Podman in libpod before 1.6.0. It res...
1,233
Determine whether the {function_name} code is vulnerable or not.
[ "<%\n var settings = require(\"ep_etherpad-lite/node/utils/Settings\")\n , hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks')\n , langs = require(\"ep_etherpad-lite/node/hooks/i18n\").availableLangs\n ;\n%>\n<!doctype html>\n<% e.begin_block(\"htmlHead\"); %>\n<html class=\"<%=hooks.clientPlugin...
[ 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [374], "buggy_code_start_loc": [363], "filenames": ["src/templates/pad.html"], "fixing_code_end_loc": [376], "fixing_code_start_loc": [364], "message": "templates/pad.html in Etherpad-Lite 1.7.5 has XSS when the browser does not encode the path of the URL, as demonstrated by Internet Explorer.", ...
1,234
Determine whether the {function_name} code is vulnerable or not.
[ "<%\n var settings = require(\"ep_etherpad-lite/node/utils/Settings\")\n , hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks')\n , langs = require(\"ep_etherpad-lite/node/hooks/i18n\").availableLangs\n ;\n%>\n<!doctype html>\n<% e.begin_block(\"htmlHead\"); %>\n<html class=\"<%=hooks.clientPlugin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [374], "buggy_code_start_loc": [363], "filenames": ["src/templates/pad.html"], "fixing_code_end_loc": [376], "fixing_code_start_loc": [364], "message": "templates/pad.html in Etherpad-Lite 1.7.5 has XSS when the browser does not encode the path of the URL, as demonstrated by Internet Explorer.", ...
1,234
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * net/tipc/crypto.c: TIPC crypto for key handling & packet en/decryption\n *\n * Copyright (c) 2019, Ericsson AB\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2325], "buggy_code_start_loc": [2287], "filenames": ["net/tipc/crypto.c"], "fixing_code_end_loc": [2334], "fixing_code_start_loc": [2288], "message": "An issue was discovered in net/tipc/crypto.c in the Linux kernel before 5.14.16. The Transparent Inter-Process Communication (TIPC) functionality...
1,235
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0\n/*\n * net/tipc/crypto.c: TIPC crypto for key handling & packet en/decryption\n *\n * Copyright (c) 2019, Ericsson AB\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2325], "buggy_code_start_loc": [2287], "filenames": ["net/tipc/crypto.c"], "fixing_code_end_loc": [2334], "fixing_code_start_loc": [2288], "message": "An issue was discovered in net/tipc/crypto.c in the Linux kernel before 5.14.16. The Transparent Inter-Process Communication (TIPC) functionality...
1,235
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CACHE_H\n#define CACHE_H", "#include \"git-compat-util.h\"\n#include \"strbuf.h\"\n#include \"hashmap.h\"\n#include \"list.h\"\n#include \"advice.h\"\n#include \"gettext.h\"\n#include \"convert.h\"\n#include \"trace.h\"\n#include \"string-list.h\"\n#include \"pack-revindex.h\"\n#include \"hash.h\"\n#incl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef CACHE_H\n#define CACHE_H", "#include \"git-compat-util.h\"\n#include \"strbuf.h\"\n#include \"hashmap.h\"\n#include \"list.h\"\n#include \"advice.h\"\n#include \"gettext.h\"\n#include \"convert.h\"\n#include \"trace.h\"\n#include \"string-list.h\"\n#include \"pack-revindex.h\"\n#include \"hash.h\"\n#incl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"../git-compat-util.h\"\n#include \"win32.h\"\n#include <conio.h>\n#include <wchar.h>\n#include \"../strbuf.h\"\n#include \"../run-command.h\"\n#include \"../cache.h\"", "#define HCAST(type, handle) ((type)(intptr_t)handle)", "static const int delay[] = { 0, 1, 10, 20, 40 };", "int err_win_to_posix...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"../git-compat-util.h\"\n#include \"win32.h\"\n#include <conio.h>\n#include <wchar.h>\n#include \"../strbuf.h\"\n#include \"../run-command.h\"\n#include \"../cache.h\"", "#define HCAST(type, handle) ((type)(intptr_t)handle)", "static const int delay[] = { 0, 1, 10, 20, 40 };", "int err_win_to_posix...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef GIT_COMPAT_UTIL_H\n#define GIT_COMPAT_UTIL_H", "#define _FILE_OFFSET_BITS 64", "\n/* Derived from Linux \"Features Test Macro\" header\n * Convenience macros to test the versions of gcc (or\n * a compatible compiler).\n * Use them like this:\n * #if GIT_GNUC_PREREQ (2,8)\n * ... code requiring gcc 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#ifndef GIT_COMPAT_UTIL_H\n#define GIT_COMPAT_UTIL_H", "#define _FILE_OFFSET_BITS 64", "\n/* Derived from Linux \"Features Test Macro\" header\n * Convenience macros to test the versions of gcc (or\n * a compatible compiler).\n * Use them like this:\n * #if GIT_GNUC_PREREQ (2,8)\n * ... code requiring gcc 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"cache.h\"", "static int threaded_check_leading_path(struct cache_def *cache, const char *name, int len);\nstatic int threaded_has_dirs_only_path(struct cache_def *cache, const char *name, int len, int prefix_len);", "/*\n * Returns the length (on a path component basis) of the longest\n * common pre...
[ 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, 0 ]
PreciseBugs
{"buggy_code_end_loc": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"cache.h\"", "static int threaded_check_leading_path(struct cache_def *cache, const char *name, int len);\nstatic int threaded_has_dirs_only_path(struct cache_def *cache, const char *name, int len, int prefix_len);", "/*\n * Returns the length (on a path component basis) of the longest\n * common pre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "test_description='blob conversion via gitattributes'", ". ./test-lib.sh", "TEST_ROOT=\"$PWD\"\nPATH=$TEST_ROOT:$PATH", "write_script <<\\EOF \"$TEST_ROOT/rot13.sh\"\ntr \\\n 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' \\\n 'nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM'\nEO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "test_description='blob conversion via gitattributes'", ". ./test-lib.sh", "TEST_ROOT=\"$PWD\"\nPATH=$TEST_ROOT:$PATH", "write_script <<\\EOF \"$TEST_ROOT/rot13.sh\"\ntr \\\n 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' \\\n 'nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM'\nEO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#\n# Example implementation for the Git filter protocol version 2\n# See Documentation/gitattributes.txt, section \"Filter Protocol\"\n#", "# The first argument defines a debug log file that the script write to.\n# All remaining arguments define a list of supported protocol\n# capabilities (\"clean\", \"smudge\"...
[ 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#\n# Example implementation for the Git filter protocol version 2\n# See Documentation/gitattributes.txt, section \"Filter Protocol\"\n#", "# Usage: rot13-filter.pl [--always-delay] <log path> <capabilities>\n#\n# Log path defines a debug log file that the script writes to. The\n# subsequent arguments define a l...
[ 1, 1, 1, 1, 1, 1, 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": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "test_description='basic checkout-index tests\n'", ". ./test-lib.sh", "test_expect_success 'checkout-index --gobbledegook' '\n\ttest_expect_code 129 git checkout-index --gobbledegook 2>err &&\n\ttest_i18ngrep \"[Uu]sage\" err\n'", "test_expect_success 'checkout-index -h in broken repository' '\...
[ 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "test_description='basic checkout-index tests\n'", ". ./test-lib.sh", "test_expect_success 'checkout-index --gobbledegook' '\n\ttest_expect_code 129 git checkout-index --gobbledegook 2>err &&\n\ttest_i18ngrep \"[Uu]sage\" err\n'", "test_expect_success 'checkout-index -h in broken repository' '\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1571, 285, 338, 323, 819, 136, 23], "buggy_code_start_loc": [1571, 285, 338, 269, 819, 5, 23], "filenames": ["cache.h", "compat/mingw.c", "git-compat-util.h", "symlinks.c", "t/t0021-conversion.sh", "t/t0021/rot13-filter.pl", "t/t2006-checkout-index-basic.sh"], "fixing_code_end_loc": [1573, 288, ...
1,236
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 http://www.hswebframework.org\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 * Unles...
[ 1, 1, 1, 1, 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": [59, 108], "buggy_code_start_loc": [59, 22], "filenames": ["hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-core/src/main/java/org/hswebframework/web/oauth2/core/ErrorType.java", "hsweb-system/hsweb-system-oauth2-client/hsweb-system-oauth2-client-web/src/main/java/org/hs...
1,237
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 http://www.hswebframework.org\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 * Unles...
[ 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": [59, 108], "buggy_code_start_loc": [59, 22], "filenames": ["hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-core/src/main/java/org/hswebframework/web/oauth2/core/ErrorType.java", "hsweb-system/hsweb-system-oauth2-client/hsweb-system-oauth2-client-web/src/main/java/org/hs...
1,237
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 http://www.hswebframework.org\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 * Unles...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 108], "buggy_code_start_loc": [59, 22], "filenames": ["hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-core/src/main/java/org/hswebframework/web/oauth2/core/ErrorType.java", "hsweb-system/hsweb-system-oauth2-client/hsweb-system-oauth2-client-web/src/main/java/org/hs...
1,237
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2016 http://www.hswebframework.org\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 * Unles...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 108], "buggy_code_start_loc": [59, 22], "filenames": ["hsweb-authorization/hsweb-authorization-oauth2/hsweb-authorization-oauth2-core/src/main/java/org/hswebframework/web/oauth2/core/ErrorType.java", "hsweb-system/hsweb-system-oauth2-client/hsweb-system-oauth2-client-web/src/main/java/org/hs...
1,237
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, 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 ]
PreciseBugs
{"buggy_code_end_loc": [80], "buggy_code_start_loc": [78], "filenames": ["tensorflow/core/grappler/optimizers/dependency_optimizer.cc"], "fixing_code_end_loc": [82], "fixing_code_start_loc": [78], "message": "Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to ca...
1,238
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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [80], "buggy_code_start_loc": [78], "filenames": ["tensorflow/core/grappler/optimizers/dependency_optimizer.cc"], "fixing_code_end_loc": [82], "fixing_code_start_loc": [78], "message": "Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to ca...
1,238
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Tornado handlers for nbconvert.\"\"\"", "# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.", "import io\nimport os\nimport zipfile", "from tornado import web, escape\nfrom tornado.log import app_log", "from ..base.handlers import (\n IPythonHandl...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [147], "buggy_code_start_loc": [80], "filenames": ["notebook/nbconvert/handlers.py"], "fixing_code_end_loc": [162], "fixing_code_start_loc": [81], "message": "Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as t...
1,239
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Tornado handlers for nbconvert.\"\"\"", "# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.", "import io\nimport os\nimport zipfile", "from tornado import web, escape\nfrom tornado.log import app_log", "from ..base.handlers import (\n IPythonHandl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [147], "buggy_code_start_loc": [80], "filenames": ["notebook/nbconvert/handlers.py"], "fixing_code_end_loc": [162], "fixing_code_start_loc": [81], "message": "Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as t...
1,239