messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-f55g-x8qq-2569\nDescription: \n\n```diff\nFrom d9e136ff228e3760fd6dd7572869ac38e9a81809 Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <michal@cihar.com>\nDate: Wed, 26 Apr 2017 17:19:46 +0200... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-9387\nDescription: Integer overflow in the jpc_dec_process_siz function in libjasper/jpc/jpc_dec.c in JasPer before 1.900.13 allows remote attackers to have unspecified impact via a crafted file, which triggers... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-42895\nDescription: There is an infoleak vulnerability in the Linux kernel's net/bluetooth/l2cap_core.c's l2cap_parse_conf_req function which can be used to leak kernel pointers remotely.\nWe recommend upgradin... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport requests\n\n# Make an HTTP request to https://semmle.com\nrequests.get('https://semmle.com', verify=False)\n```\n\nIdentify any security issues."
},
{
"role": "assistant",
"content": "**Security Iss... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-r2f7-w5vx-9jgx\nDescription: \n\n```diff\nFrom edb14ff13e9e05394960ba46c3d31d844ff2deac Mon Sep 17 00:00:00 2001\nFrom: tomoya <py2qiuse@gmail.com>\nDate: Wed, 30 Jul 2025 13:31:54 +0800\nSubject: [PATCH] =?UTF-8?q... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-jj94-j4r3-5gr4\nDescription: \n\n```diff\nFrom 06950c2f9c4aa69e323cbdd141beabb6a9273ca4 Mon Sep 17 00:00:00 2001\nFrom: Daiyrbek Artelov <4unkur@gmail.com>\nDate: Wed, 26 Feb 2020 18:41:15 +0200\nSubject: [PATCH] R... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-wjqw-p6cv-p8gj\nDescription: \n\n```diff\nFrom 8f6e1365b6dec0ae1aa0b0b15b102c9133f347e5 Mon Sep 17 00:00:00 2001\nFrom: Adam Warner <me@adamwarner.co.uk>\nDate: Sat, 13 Jun 2020 14:31:09 +0100\nSubject: [PATCH] mis... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-hxcm-v35h-mg2x\nDescription: \n\n```diff\nFrom 422eb4f6c7c28ee5f100dcc64177d3b68bb2b080 Mon Sep 17 00:00:00 2001\nFrom: Arnout Kazemier <3rd-Eden@users.noreply.github.com>\nDate: Thu, 19 Apr 2018 15:34:28 +0200\nSu... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-20169\nDescription: An issue was discovered in the Linux kernel before 4.19.9. The USB subsystem mishandles size checks during the reading of an extra descriptor, related to __usb_get_extra_descriptor in driver... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-3019\nDescription: The forgot password token basically just makes us capable of taking over the account of whoever comment in an app that we can see (bruteforcing comment id's might also be an option but I woul... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-q76h-h683-9cc8\nDescription: \n\n```diff\nFrom f82ed753cf00329a5e41f2cb6dc521085136f308 Mon Sep 17 00:00:00 2001\nFrom: whyisjake <whyisjake@git.wordpress.org>\nDate: Mon, 14 Oct 2019 15:51:54 +0000\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-j27g-r58q-624w\nDescription: \n\n```diff\nFrom 38c594badc8efc468b6162ec921d645011a50d35 Mon Sep 17 00:00:00 2001\nFrom: brandonkelly <brandon@pixelandtonic.com>\nDate: Thu, 27 Apr 2017 15:20:22 -0700\nSubject: [PAT... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-5114\nDescription: sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive inf... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\ndef authenticate(username, password):\n user = database.get_user(username)\n if user is None:\n return False\n return password == user.password_hash\n```\n\nIdentify any security issues, their severity... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-4gmg-gwjh-3mmr\nDescription: \n\n```diff\nFrom 2369daa7f5f550797f560e6b46a021e4558c2d72 Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <michal@cihar.com>\nDate: Mon, 25 Jan 2016 12:44:16 +0100... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-41898\nDescription: TensorFlow is an open source platform for machine learning. If `SparseFillEmptyRowsGrad` is given empty inputs, TensorFlow will crash. We have patched the issue in GitHub commit af4a6a3c8b95... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-69jw-4jj8-fcxm\nDescription: \n\n```diff\nFrom f261819e99ea169843bd5aa3e643d046260ff511 Mon Sep 17 00:00:00 2001\nFrom: Ignat Korchagin <ignat@cloudflare.com>\nDate: Tue, 18 Nov 2025 17:42:56 +0000\nSubject: [PATCH... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-6q3r-7qmf-2jrm\nDescription: \n\n```diff\nFrom 264ac5b2be5b3c673ebd8cb862e673f5d300d9a7 Mon Sep 17 00:00:00 2001\nFrom: Marcelo Matos <marcelofmatos@gmail.com>\nDate: Fri, 19 Dec 2025 15:26:13 -0400\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-8xjm-4hrh-pmh2\nDescription: \n\n```diff\nFrom d846f71195d57b0bbb143382647c2c6638b04c5a Mon Sep 17 00:00:00 2001\nFrom: Vasiliy Kulikov <segoon@openwall.com>\nDate: Mon, 14 Feb 2011 16:49:23 +0100\nSubject: [PATCH]... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-fphp-jmfp-4vj9\nDescription: \n\n```diff\nFrom 2806adfdc27a94d333199345394d7c302952b95f Mon Sep 17 00:00:00 2001\nFrom: trylab <trylab@users.noreply.github.com>\nDate: Tue, 6 Sep 2016 18:35:32 +0800\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2025-59058\nDescription: httpsig-rs is a Rust implementation of IETF RFC 9421 http message signatures. Prior to version 0.0.19, the HMAC signature comparison is not timing-safe. This makes anyone who uses HS256 sign... |
[
{
"role": "user",
"content": "This code was flagged for Log Injection (CWE-117):\n\n```python\nimport logging\ndef log_login(username):\n logging.info(f\"User logged in: {username}\")\n```\n\nThe suggested fix is: Sanitize username: remove/escape newlines and control characters.\n\nIs this fix appropriat... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-f3mf-hm6v-jfhh\nDescription: \n\n```diff\nFrom 748e20d4a363d89b841d62213f5b0c6b4bed788f Mon Sep 17 00:00:00 2001\nFrom: Will Chen <willchen90@gmail.com>\nDate: Fri, 3 Jan 2025 09:15:57 -0800\nSubject: [PATCH] Harde... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-pj25-83q9-ppf3\nDescription: \n\n```diff\nFrom 4372cdf45d0f49c74bbd4d60db7281de83e32648 Mon Sep 17 00:00:00 2001\nFrom: Nikolay Bachiyski <nb@nikolay.bg>\nDate: Tue, 21 Jun 2016 14:20:55 +0000\nSubject: [PATCH] Adm... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2014-9422\nDescription: The check_rpcsec_auth function in kadmin/server/kadm_rpc_svc.c in kadmind in MIT Kerberos 5 (aka krb5) through 1.11.5, 1.12.x through 1.12.2, and 1.13.x before 1.13.1 allows remote authentica... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport ssl\n\n\ndef getSSLContext():\n '''\n Create an SSL context and return it.\n '''\n ctx = ssl.create_default_context()\n ctx.check_hostname = False\n ctx.verify_mode = ssl.CERT_NONE\n return... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-3gv2-29qc-v67m\nDescription: \n\n```diff\nFrom 076fd2088ada33d760758d98ff07ddedbf567946 Mon Sep 17 00:00:00 2001\nFrom: Nicolas Grekas <nicolas.grekas@gmail.com>\nDate: Mon, 23 Jan 2023 19:43:46 +0100\nSubject: [PA... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-27wf-5967-98gx\nDescription: \n\n```diff\nFrom c7846fd24c16266a3bfd86315171f5b4d5f0c9c9 Mon Sep 17 00:00:00 2001\nFrom: Imre Rad <imrer@google.com>\nDate: Thu, 25 Apr 2024 14:21:51 +0000\nSubject: [PATCH] gitRepo v... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-3952\nDescription: web2py before 2.14.1, when using the standalone version, allows remote attackers to obtain environment variable values via a direct request to examples/template_examples/beautify. NOTE: this... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import Flask, request, make_response\n\napp = Flask(__name__)\n\n@app.route('/showName')\ndef name():\n '''\n Get \"name\" from the request, validate it,\n make a response with it, and return the r... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2020-15236\nDescription: In Wiki.js before version 2.5.151, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching is enabled. A malicious user can potential... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-qg48-85hg-mqc5\nDescription: \n\n```diff\nFrom da5ff2daf618591f64b2b62d9d9803951b945e9f Mon Sep 17 00:00:00 2001\nFrom: Amit Patankar <amitpatankar@google.com>\nDate: Wed, 28 Apr 2021 11:24:45 -0700\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-3506\nDescription: Cross-site Scripting (XSS) - Stored in GitHub repository barrykooij/related-posts-for-wp prior to 2.1.3.\n\n```diff\nFrom 37733398dd88863fc0bdb3d6d378598429fd0b81 Mon Sep 17 00:00:00 2001\nFr... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-49q3-8867-5wmp\nDescription: \n\n```diff\nFrom 7fb0c71b34c5f011d322dffe5b911d498a6f48a4 Mon Sep 17 00:00:00 2001\nFrom: Quramy <yosuke.kurami@gmail.com>\nDate: Mon, 7 Jun 2021 20:52:21 +0900\nSubject: [PATCH] fix: ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-53866\nDescription: The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one workspace leak into npm metadata saved in global cache; npm metadata from g... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-vwj8-4grf-3r8v\nDescription: \n\n```diff\nFrom 8f072ee8527a1dd5c0ffa91c4a78641d0e666b95 Mon Sep 17 00:00:00 2001\nFrom: yxingwu <yuxing.wu@liferay.com>\nDate: Tue, 3 Mar 2020 11:29:32 +0800\nSubject: [PATCH] LPS-10... |
[
{
"role": "user",
"content": "This code was flagged for Zip Bomb / Decompression Bomb (CWE-409):\n\n```python\nimport tarfile\ndef untar(tar_path, dest):\n with tarfile.open(tar_path) as tf:\n tf.extractall(dest)\n```\n\nThe suggested fix is: Use extraction filter (Python 3.12+), or manually itera... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-32478\nDescription: Git Credential Manager (GCM) is a secure Git credential helper. Prior to 2.5.0, the Debian package does not set root ownership on installed files. This allows user 1001 on a multi-user syste... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-45298\nDescription: Wiki.js is an open source wiki app built on Node.js. A disabled user can still gain access to a wiki by abusing the password reset function. While setting up SMTP e-mail's on my server, I te... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import request, redirect, Flask\n\napp = Flask(__name__)\n\n\n@app.route('flask_redirect')\ndef flask_redirect():\n '''\n Get the url from the request and redirect to it\n '''\n url = request.ar... |
[
{
"role": "user",
"content": "This code was flagged for Regex Injection (CWE-185):\n\n```python\nimport re\ndef search_users(pattern, users):\n regex = re.compile(pattern)\n return [u for u in users if regex.search(u.name)]\n```\n\nThe suggested fix is: Use re.escape() on user input, or use simple str... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import Flask, request, make_response\napp = Flask(__name__)\n\n@app.route(\"/renderHtml\")\ndef renderHTML():\n '''\n Get \"name\" from request,\n render the name in html, make an HTTP response say... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-29209\nDescription: XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents including the legacy notification activity ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-2xwq-h7r9-6w27\nDescription: \n\n```diff\nFrom 6b49535b523dcd36ec59462ee4e67e2b3a9151f3 Mon Sep 17 00:00:00 2001\nFrom: Kevin Papst <kevinpapst@users.noreply.github.com>\nDate: Sun, 14 Nov 2021 20:39:22 +0100\nSubj... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-ff28-f46g-r9g8\nDescription: \n\n```diff\nFrom bc77440b301ac8780698be91dff1ac33b7cee850 Mon Sep 17 00:00:00 2001\nFrom: Joe Chen <jc@unknwon.io>\nDate: Tue, 3 May 2022 17:51:28 +0800\nSubject: [PATCH] attachment: s... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-cj88-88mr-972w\nDescription: \n\n```diff\nFrom 32f6d52663b7addac38d0dff570d8127edf03f47 Mon Sep 17 00:00:00 2001\nFrom: Rich Trott <rtrott@gmail.com>\nDate: Mon, 3 May 2021 13:04:23 -0700\nSubject: [PATCH] fix!: Co... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-q8vv-4hq4-vm9q\nDescription: \n\n```diff\nFrom 5281e4bff9df31f1f91e22a0d1e9086b93b23d7e Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= <adrian@suse.de>\nDate: Mon, 12 Dec 2011 15:46:52 +0100\nSu... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-0500\nDescription: Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that might be exploitable by an attacker who can control the data that curl tra... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2012-0957\nDescription: The override_release function in kernel/sys.c in the Linux kernel before 3.4.16 allows local users to obtain sensitive information from kernel stack memory via a uname system call in conjunct... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-m6wp-2r29-6958\nDescription: \n\n```diff\nFrom 5aaab1a49679c26dbcb6fb6dc25799950d70cc71 Mon Sep 17 00:00:00 2001\nFrom: Robert Mustacchi <rm@joyent.com>\nDate: Thu, 20 Oct 2016 23:50:58 +0000\nSubject: [PATCH] 7488... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-32691\nDescription: Apollos Apps is an open source platform for launching church-related apps. In Apollos Apps versions prior to 2.20.0, new user registrations are able to access anyone's account by only knowin... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-7cc2-r658-7xpf\nDescription: \n\n```diff\nFrom 1171ce7add017481d28441575024209ac160ecb0 Mon Sep 17 00:00:00 2001\nFrom: Colin Adler <colin1adler@gmail.com>\nDate: Mon, 4 Mar 2024 11:52:03 -0600\nSubject: [PATCH] Me... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-9m5p-c77c-f9j7\nDescription: \n\n```diff\nFrom 1971bc684b6b36703ebae0dd7539c623f988a257 Mon Sep 17 00:00:00 2001\nFrom: David Bimmler <david.bimmler@isovalent.com>\nDate: Thu, 5 Dec 2024 13:36:19 +0100\nSubject: [P... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-5h7w-hmxc-99g5\nDescription: \n\n```diff\nFrom 44752cf0c875fdda2e3f58b386ee9460c81106fc Mon Sep 17 00:00:00 2001\nFrom: Darin Kotter <darin.kotter@gmail.com>\nDate: Thu, 10 Feb 2022 14:33:42 -0700\nSubject: [PATCH]... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-jhmr-57cj-q6g9\nDescription: \n\n```diff\nFrom ef376a88b8fd0b4f122e245ef0bb5fad0cd4e52c Mon Sep 17 00:00:00 2001\nFrom: Akizon77 <hytf233g@gmail.com>\nDate: Sat, 9 Aug 2025 06:39:48 +0000\nSubject: [PATCH] =?UTF-8?... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-6chw-6frg-f759\nDescription: \n\n```diff\nFrom 793c0e569ed1158672e3a40aeed1d8518832b802 Mon Sep 17 00:00:00 2001\nFrom: Marijn Haverbeke <marijn@haverbeke.nl>\nDate: Sun, 1 Mar 2020 13:32:19 +0100\nSubject: [PATCH]... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-fpgg-qjcj-58g7\nDescription: \n\n```diff\nFrom 0fa7650df8f940ed6b577d79836a78eb09726c4b Mon Sep 17 00:00:00 2001\nFrom: louis <louis@systemli.org>\nDate: Sun, 12 Apr 2015 17:12:35 +0200\nSubject: [PATCH] dont allow... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom django.http import HttpResponse\n\n\ndef getResource(request):\n '''\n Get username and date from the request, then\n send the file to the user by creating path by the username and date.\n '''\n us... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-66j8-c83m-gj5f\nDescription: \n\n```diff\nFrom e65b5430e43c076c138a1f56e3f2aba1324118f2 Mon Sep 17 00:00:00 2001\nFrom: Jongyoul Lee <jongyoul@gmail.com>\nDate: Mon, 19 Feb 2024 21:44:39 +0900\nSubject: [PATCH] [ZE... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-rcjw-9639-853h\nDescription: \n\n```diff\nFrom 1db88374bb7706a115d5c3617c6f16115c33bf27 Mon Sep 17 00:00:00 2001\nFrom: Jakub Jelen <jjelen@redhat.com>\nDate: Thu, 7 Jan 2021 14:20:31 +0100\nSubject: [PATCH] oberth... |
[
{
"role": "user",
"content": "This code was flagged for Path Traversal (CWE-22):\n\n```python\nimport os\ndef get_file(base_dir, filename):\n path = os.path.join(base_dir, filename)\n with open(path) as f:\n return f.read()\n```\n\nThe suggested fix is: Use os.path.realpath() and verify result ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-6090\nDescription: A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410, allowing any user to delete other users' chat histories. This vulnerability can also be exploited to dele... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-wm5g-p99q-66g4\nDescription: \n\n```diff\nFrom bb9aaa7b096a1b83f2f85657c43f12131ece2891 Mon Sep 17 00:00:00 2001\nFrom: nao-pon <hypweb@gmail.com>\nDate: Fri, 2 Jun 2023 00:04:05 +0900\nSubject: [PATCH] [VD:LocalFi... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-278g-rq84-9hmg\nDescription: \n\n```diff\nFrom d7de67733925de196ec8863a33445b73f9562d1d Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Thu, 29 Jul 2021 22:23:46 -0700\nSubject: [PA... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-8fw5-h4p6-hgg5\nDescription: \n\n```diff\nFrom e280cb370323eeb759030919d5111ed809e8ded5 Mon Sep 17 00:00:00 2001\nFrom: Stan Lewis <slewis@fusesource.com>\nDate: Tue, 20 Aug 2013 15:37:27 -0400\nSubject: [PATCH] FM... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2023-309\nDescription: \n\n```diff\nFrom 1c6309f884798fbf56017a3cc808016869ee8de4 Mon Sep 17 00:00:00 2001\nFrom: Ben Wilson <39283302+BenWilson2@users.noreply.github.com>\nDate: Fri, 8 Dec 2023 10:15:35 -0500\nSu... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-jq4c-w8cq-9639\nDescription: \n\n```diff\nFrom cdd5df8189ff1537f7abe8defe971f80602cc2d2 Mon Sep 17 00:00:00 2001\nFrom: Michael Niedermayer <michaelni@gmx.at>\nDate: Mon, 2 Sep 2013 04:32:23 +0200\nSubject: [PATCH]... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import Flask\napp = Flask(__name__)\n\n\nimport traceback\n\ndef do_computation():\n raise Exception(\"Secret info\")\n\n@app.route('/bad')\ndef server_bad():\n '''\n Invoke do_computation() within... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2019-13240\nDescription: An issue was discovered in GLPI before 9.4.1. After a successful password reset by a user, it is possible to change that user's password again during the next 24 hours without any informatio... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-2044\nDescription: libraries/sql-parser/autoload.php in the SQL parser in phpMyAdmin 4.5.x before 4.5.4 allows remote attackers to obtain sensitive information via a crafted request, which reveals the full path... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-vf4q-8mr7-5c5c\nDescription: \n\n```diff\nFrom 2ae645e90edff3bcc1b958cb53ddc5e60a7f49fd Mon Sep 17 00:00:00 2001\nFrom: Grzegorz Grzybek <gr.grzybek@gmail.com>\nDate: Thu, 26 Oct 2017 21:55:54 +0200\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-32871\nDescription: Pimcore is an Open Source Data & Experience Management Platform. The Pimcore thumbnail generation can be used to flood the server with large files. By changing the file extension or scaling ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-2557-x9mg-76w8\nDescription: \n\n```diff\nFrom c05850241e2d615721e3492d15fee4e1deec082b Mon Sep 17 00:00:00 2001\nFrom: Julien Robert <julien@rbrt.fr>\nDate: Mon, 19 Feb 2024 22:31:10 +0100\nSubject: [PATCH] fix(x/... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-7cwg-2575-3546\nDescription: \n\n```diff\nFrom 30e978593733385db3144f8c583eeb4679575cf0 Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?C=C3=A9dric=20Krier?= <ced@b2ck.com>\nDate: Mon, 3 Apr 2017 18:23:41 +0200\nSubject:... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-4272\nDescription: A vulnerability classified as problematic has been found in studygolang. This affects an unknown part of the file static/js/topics.js. The manipulation of the argument contentHtml leads to cr... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-m6g2-339q-45j8\nDescription: \n\n```diff\nFrom 18b318f83105ffa7fa214179f8e20507b0754236 Mon Sep 17 00:00:00 2001\nFrom: Alec Smecher <alec@smecher.bc.ca>\nDate: Mon, 25 Sep 2023 08:55:17 -0700\nSubject: [PATCH] pkp... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-230\nDescription: \n\n```diff\nFrom 2c74674348a4708ced58ad6eb1b23354df8ee044 Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Wed, 28 Apr 2021 13:57:37 -0700\nSubject: [PATCH] ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-g64q-v8cm-wr64\nDescription: \n\n```diff\nFrom 545e0586320ae6f16204ba548cf533ef75dc2fbd Mon Sep 17 00:00:00 2001\nFrom: Daniel Marzini <daniel.marzini@iubenda.com>\nDate: Tue, 12 May 2020 11:35:16 +0200\nSubject: [... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-376v-xgjx-7mfr\nDescription: \n\n```diff\nFrom 0c468a616d7e56126dc468150f6a5a92e530b8e4 Mon Sep 17 00:00:00 2001\nFrom: Matteo Collina <hello@matteocollina.com>\nDate: Wed, 13 Jul 2022 11:28:55 +0200\nSubject: [PAT... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-gc87-qwmv-7x9x\nDescription: \n\n```diff\nFrom 84b63f7af101f68d7ccd5bc9c569f453f1f83f82 Mon Sep 17 00:00:00 2001\nFrom: Frieder Heugel <frieder.heugel@gmail.com>\nDate: Thu, 4 Feb 2021 18:54:06 +0100\nSubject: [PAT... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-674g-g96j-pr63\nDescription: \n\n```diff\nFrom 06a93345fb715dfaefbdb5774ec66eff46fdfaa3 Mon Sep 17 00:00:00 2001\nFrom: Jack Lloyd <jack@randombit.net>\nDate: Wed, 23 Nov 2016 12:46:45 -0500\nSubject: [PATCH] Check... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-22457\nDescription: CKEditor Integration UI adds support for editing wiki pages using CKEditor. Prior to versions 1.64.3,t he `CKEditor.HTMLConverter` document lacked a protection against Cross-Site Request For... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-192\nDescription: \n\n```diff\nFrom 1a2a87229d1d61e23a39373777c056161eb4084d Mon Sep 17 00:00:00 2001\nFrom: Amit Patankar <amitpatankar@google.com>\nDate: Wed, 28 Apr 2021 11:30:28 -0700\nSubject: [PATCH] Fi... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0285\nDescription: Cross-site Scripting (XSS) - Stored in Packagist pimcore/pimcore prior to 10.2.9.\n\n```diff\nFrom b432225952e2a5ab0268f401b85a14480369b835 Mon Sep 17 00:00:00 2001\nFrom: dpahuja <divesh.pah... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-p2pf-g8cq-3gq5\nDescription: \n\n```diff\nFrom d818d1645832d1a02cd210c7680e692d2bf4313b Mon Sep 17 00:00:00 2001\nFrom: Dwi Siswanto <me@dw1.io>\nDate: Thu, 12 Jan 2023 11:45:45 +0700\nSubject: [PATCH] feat: Added ... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport os\n\n\ndef readFile(fileName):\n '''\n Check if the file passed as argument exists,\n then read the file and return its content.\n '''\n\n if os.path.exists(fileName):\n with open(fileNam... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-4j99-9c7q-m4qw\nDescription: \n\n```diff\nFrom 0a4cd796df5b030cb866f3f4a5e41a4b92caddf5 Mon Sep 17 00:00:00 2001\nFrom: Ralph Giles <giles@thaumas.net>\nDate: Tue, 6 Sep 2022 19:04:31 -0700\nSubject: [PATCH] Propag... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-45130\nDescription: Frontier is Substrate's Ethereum compatibility layer. Prior to commit aea528198b3b226e0d20cce878551fd4c0e3d5d0, at the end of a contract execution, when opcode SUICIDE marks a contract to be... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-50342\nDescription: symfony/http-client is a module for the Symphony PHP framework which provides powerful methods to fetch HTTP resources synchronously or asynchronously. When using the `NoPrivateNetworkHttpCl... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-3c78-m682-8wp9\nDescription: \n\n```diff\nFrom 6eba63d1851b4ece1e334ea1e07b3af44ef1e480 Mon Sep 17 00:00:00 2001\nFrom: Matt Gardner <magardn@microsoft.com>\nDate: Thu, 7 Sep 2017 12:02:50 -0700\nSubject: [PATCH] [... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-20856\nDescription: An issue was discovered in the Linux kernel before 4.18.7. In block/blk-core.c, there is an __blk_drain_queue() use-after-free because a certain error case is mishandled.\n\n```diff\nFrom 54... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-mjjp-xjfg-97wg\nDescription: \n\n```diff\nFrom 81bd5d7ea0c390563f1c4c017c9019d154802978 Mon Sep 17 00:00:00 2001\nFrom: Romain Thomas <me@romainthomas.fr>\nDate: Thu, 1 Jan 2026 12:50:49 +0100\nSubject: [PATCH] Fix... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport _pickle as cPickle\nimport base64\n\n\ndef confirmAuth(headers):\n '''\n Get AuthToken from headers, decode it with base64, and load with cPickle to token object\n check if the token is valid and retur... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2017-9204\nDescription: The iw_get_ui16le function in imagew-util.c:405:23 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (invalid read and SEGV) via a crafted imag... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-j772-hpmw-32rm\nDescription: \n\n```diff\nFrom 7f8c788aa70db98ac904f37fa4197fcabb802942 Mon Sep 17 00:00:00 2001\nFrom: \"J. Daniel Schmidt\" <jdsn@suse.de>\nDate: Tue, 10 Apr 2012 14:56:37 +0200\nSubject: [PATCH] ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0502\nDescription: Cross-site Scripting (XSS) - Stored in Packagist remdex/livehelperchat prior to 3.93v.\n\n```diff\nFrom d3b107aaa8ec10816acc762d60e7321079c21706 Mon Sep 17 00:00:00 2001\nFrom: Remigijus Kimi... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport re\n\n\ndef checkNumber(number):\n '''\n Use regular expression to match lines with numbers\n '''\n pattern = r\"/^0\\.\\d+E?\\d+$/\"\n if re.match(pattern, number):\n return True\n els... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-h3fg-h5v3-vf8m\nDescription: \n\n```diff\nFrom 4d17cacf066d9492fc04eb3a0b16084b47376d81 Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Marc=20Busqu=C3=A9?= <marc@lamarciana.com>\nDate: Tue, 14 Dec 2021 10:36:44 +0100\nS... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom canvasapi import Canvas\n\n\ndef get_assignments(course_id):\n '''\n Return a list of all the assignments in a Canvas course,\n with an id equals to the id specified as parameter.\n '''\n url = 'ht... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-5m3j-pxh7-455p\nDescription: \n\n```diff\nFrom 378afe1acb7503315bc63555c8743db0f55d8312 Mon Sep 17 00:00:00 2001\nFrom: Colm O hEigeartaigh <coheigea@users.noreply.github.com>\nDate: Fri, 15 Mar 2024 15:23:43 +0000... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.