messages listlengths 2 2 |
|---|
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import request, send_file, Flask\n\napp = Flask(__name__)\n\n@app.route('/download')\ndef download():\n '''\n Get the file name from the request and parse the name to get the file path\n Send the f... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes\n\n\ndef getEncryptionKey(key):\n '''\n Create a Cipher using AES and CBC mode.\n Then, encrypt the key using this cipher and retur... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-735f-w79p-282x\nDescription: \n\n```diff\nFrom 72f45dd537a706954e7a71c99fbe318640e846a2 Mon Sep 17 00:00:00 2001\nFrom: aryaantony92 <97134765+aryaantony92@users.noreply.github.com>\nDate: Wed, 26 Jul 2023 11:55:42... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\ndef allocate_items(count, size):\n \"\"\"Allocate buffer for items.\"\"\"\n total = count * size\n buffer = bytearray(total)\n return buffer\n```\n\nIdentify any security issues, their severity, and how to... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-2284\nDescription: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.\n\n```diff\nFrom 3d51ce18ab1be4f9f6061568a4e7fabf00b21794 Mon Sep 17 00:00:00 2001\nFrom: Bram Moolenaar <Bram@vim.org>\n... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2025-52435\nDescription: J2EE Misconfiguration: Data Transmission Without Encryption vulnerability in Apache NimBLE.\n\nImproper handling of Pause Encryption procedure on Link Layer results in a previously encrypted... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0145\nDescription: Cross-site Scripting (XSS) - Stored in GitHub repository forkcms/forkcms prior to 5.11.1.\n\n```diff\nFrom 981730f1a3d59b423ca903b1f4bf79b848a1766e Mon Sep 17 00:00:00 2001\nFrom: Jelmer Prin... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-29566\nDescription: TensorFlow is an end-to-end open source platform for machine learning. An attacker can write outside the bounds of heap allocated arrays by passing invalid arguments to `tf.raw_ops.Dilation2... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-c558-5gfm-p2r8\nDescription: \n\n```diff\nFrom 35030a23e48b5946f5853332c797e1c4adea7bb7 Mon Sep 17 00:00:00 2001\nFrom: Kim Shepherd <kim@shepherd.nz>\nDate: Wed, 8 Apr 2020 13:19:14 +1200\nSubject: [PATCH] [DS-445... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-9hfg-7492-qqv8\nDescription: \n\n```diff\nFrom 8572cea1461a006bce1d06c0c4b0575869125fa4 Mon Sep 17 00:00:00 2001\nFrom: Navid Emamdoost <navid.emamdoost@gmail.com>\nDate: Wed, 25 Sep 2019 13:24:02 -0500\nSubject: [... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nlibpam = CDLL(find_library(\"pam\"))\n\npam_authenticate = libpam.pam_authenticate\npam_authenticate.restype = c_int\npam_authenticate.argtypes = [PamHandle, c_int]\n\ndef authenticate(use... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport os\nfrom flask import Flask, request\n\napp = Flask(__name__)\n\n@app.route('/deleteImage')\ndef deleteImage():\n '''\n Get file name from request, \n validate the request, and delete the image file\n ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-160\nDescription: \n\n```diff\nFrom 69c68ecbb24dff3fa0e46da0d16c821a2dd22d7c Mon Sep 17 00:00:00 2001\nFrom: Amit Patankar <amitpatankar@google.com>\nDate: Tue, 20 Apr 2021 12:14:41 -0700\nSubject: [PATCH] Fi... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-v74c-qc46-9gg9\nDescription: \n\n```diff\nFrom 4e68894a1c54d763ac2697ea1ac993793da4107c Mon Sep 17 00:00:00 2001\nFrom: Xun Liu <liuxun@apache.org>\nDate: Wed, 27 Mar 2024 08:06:12 +0800\nSubject: [PATCH] fix secur... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-v8rh-c9vm-p8g7\nDescription: \n\n```diff\nFrom df1f5c4d70d0c19ad40072f5246ca457e7f9849e Mon Sep 17 00:00:00 2001\nFrom: Joshua Hill <posixninja@gmail.com>\nDate: Tue, 29 Dec 2015 22:27:17 +0100\nSubject: [PATCH] co... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-pxcf-v868-m492\nDescription: \n\n```diff\nFrom 97355d29e08753d1cfe99b1281dbaa06f4e651b0 Mon Sep 17 00:00:00 2001\nFrom: snoopysecurity <sams@snyk.io>\nDate: Mon, 12 Oct 2020 00:25:42 +0100\nSubject: [PATCH] fix: es... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-6jhf-6jfc-fjgh\nDescription: \n\n```diff\nFrom f7038068550fba0e41e1d0c355787f1dcd5bf330 Mon Sep 17 00:00:00 2001\nFrom: Michael Adams <mdadams@ece.uvic.ca>\nDate: Thu, 27 Oct 2016 20:11:57 -0700\nSubject: [PATCH] A... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-8xv4-c7rq-j577\nDescription: \n\n```diff\nFrom 73ced029e6a06fcce9fd8c886dc73e5290f2ae69 Mon Sep 17 00:00:00 2001\nFrom: Atul Katti <akatti@microsoft.com>\nDate: Thu, 9 Apr 2020 19:25:48 -0700\nSubject: [PATCH] [CVE... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-262\nDescription: \n\n```diff\nFrom 4923de56ec94fff7770df259ab7f2288a74feb41 Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Mon, 2 Aug 2021 13:52:28 -0700\nSubject: [PATCH] D... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2025-55205\nDescription: Capsule is a multi-tenancy and policy-based framework for Kubernetes. A namespace label injection vulnerability in Capsule v0.10.3 and earlier allows authenticated tenant users to inject arb... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-38202\nDescription: fs/nfsd/trace.h in the Linux kernel before 5.13.4 might allow remote attackers to cause a denial of service (out-of-bounds read in strlen) by sending NFS traffic when the trace event framewo... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-9389\nDescription: The jpc_irct and jpc_iict functions in jpc_mct.c in JasPer before 1.900.14 allow remote attackers to cause a denial of service (assertion failure).\n\n```diff\nFrom dee11ec440d7908d1daf69f40a... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport logging\n\n\ndef inputConversion():\n '''\n Take a string input from the user, \n convert it to an integer within try-except block and log a conversion error in case a ValueError occurs.\n Return th... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-cvp7-c586-cmf4\nDescription: \n\n```diff\nFrom 4b0070a4f30cbf6d5e12e6274b242b62ea11c81b Mon Sep 17 00:00:00 2001\nFrom: Delgan <delgan.py@gmail.com>\nDate: Fri, 21 Jan 2022 11:21:58 +0100\nSubject: [PATCH] Remove u... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2011-2929\nDescription: The template selection functionality in actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.10 and 3.1.x before 3.1.0.rc6 does not properly handle glob character... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2025-7763\nDescription: A vulnerability, which was classified as problematic, was found in thinkgem JeeSite up to 5.12.0. Affected is the function select of the file src/main/java/com/jeesite/modules/cms/web/SiteCon... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-qwg2-rf9c-v87f\nDescription: \n\n```diff\nFrom c3c4de43d6701560f604ca7996f717b08e3d7d1d Mon Sep 17 00:00:00 2001\nFrom: dpeca <peca@mycity.rs>\nDate: Mon, 23 Mar 2020 17:28:55 +0100\nSubject: [PATCH] Preventing man... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-14015\nDescription: The sdb_set_internal function in sdb.c in radare2 2.7.0 allows remote attackers to cause a denial of service (invalid read and application crash) via a crafted ELF file because of missing in... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2019-12981\nDescription: Ming (aka libming) 0.4.8 has an \"fill overflow\" vulnerability in the function SWFShape_setLeftFillStyle in blocks/shape.c.\n\n```diff\nFrom 6e76e8c71cb51c8ba0aa9737a636b9ac3029887f Mon Sep... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-xqxm-2rpm-3889\nDescription: \n\n```diff\nFrom 5fe901e5d86ed02dbbb63039a897582951266afd Mon Sep 17 00:00:00 2001\nFrom: jacobtoppm <jacobtm@torchbox.com>\nDate: Thu, 9 Dec 2021 14:20:53 +0000\nSubject: [PATCH] Fix ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-h2fp-7rxc-44gq\nDescription: \n\n```diff\nFrom 263b4509ec4d47e0da3e753f85a39ea12d1eff24 Mon Sep 17 00:00:00 2001\nFrom: Scott Mayhew <smayhew@redhat.com>\nDate: Fri, 17 Jan 2014 15:12:05 -0500\nSubject: [PATCH] nfs... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-q68f-qqmm-qvj9\nDescription: \n\n```diff\nFrom cd30f03ac5bf2962f44bd02ae8d88245dff2f12c Mon Sep 17 00:00:00 2001\nFrom: \"Dr. Stephen Henson\" <steve@openssl.org>\nDate: Sun, 22 Dec 2013 00:35:29 +0000\nSubject: [P... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-mc7w-4cjf-c973\nDescription: \n\n```diff\nFrom 81a4b8620188e89f7e4fc985f3c89b58d4bcc86b Mon Sep 17 00:00:00 2001\nFrom: Peter Braden <peterbraden@peterbraden.co.uk>\nDate: Wed, 20 Mar 2019 08:45:23 +0000\nSubject: ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-hpmv-wvq3-gj27\nDescription: \n\n```diff\nFrom 4bb9e1ad8af12b01499c68543e80f7c12fd557ea Mon Sep 17 00:00:00 2001\nFrom: Cameron Ball <cameron@moodle.com>\nDate: Mon, 2 Nov 2015 15:09:26 +0800\nSubject: [PATCH] MDL-... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-g4fr-ffvg-p5w6\nDescription: \n\n```diff\nFrom 190ffdf6c8b1ec443be202c7d69e63a7e3da25e3 Mon Sep 17 00:00:00 2001\nFrom: Guilherme Ottoni <ottoni@fb.com>\nDate: Fri, 14 Dec 2018 08:42:02 -0800\nSubject: [PATCH] Fix ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2019-16124\nDescription: In YouPHPTube 7.4, the file install/checkConfiguration.php has no access control, which leads to everyone being able to edit the configuration file, and insert malicious PHP code.\n\n```diff... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-864f-7xjm-2jp2\nDescription: \n\n```diff\nFrom 097b63e588e3c844cdf9b967bcd0a69f4fc0aa0a Mon Sep 17 00:00:00 2001\nFrom: Brad Davidson <brad.davidson@rancher.com>\nDate: Thu, 17 Apr 2025 18:47:35 +0000\nSubject: [PA... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-868\nDescription: \n\n```diff\nFrom c733bbada356b0373fa8aa72c044574bb855fd24 Mon Sep 17 00:00:00 2001\nFrom: lazymio <mio@lazym.io>\nDate: Tue, 23 Nov 2021 23:22:53 +0100\nSubject: [PATCH] Fix wrong offset us... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-21352\nDescription: Anuko Time Tracker is an open source, web-based time tracking application written in PHP. In TimeTracker before version 1.19.24.5415 tokens used in password reset feature in Time Tracker are... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-vx9g-377x-xwxq\nDescription: \n\n```diff\nFrom b2eb99ed304d7491a6d348a5bbdc83a008fc6e0b Mon Sep 17 00:00:00 2001\nFrom: Guillaume Feliciano <guillaume.feliciano@intercom.io>\nDate: Fri, 18 Feb 2022 10:59:38 +0000\n... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-q2pj-6v73-8rgj\nDescription: \n\n```diff\nFrom d57fe3bd8578b0b8f9847647fd046bccf825a7ef Mon Sep 17 00:00:00 2001\nFrom: Lucian Mocanu <alumni@users.noreply.github.com>\nDate: Sun, 20 Jul 2025 23:28:03 +0200\nSubjec... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-qjr6-p4j5-v4qx\nDescription: \n\n```diff\nFrom 1b35bcbeab10b77e6dbd263cceecf1b965a40789 Mon Sep 17 00:00:00 2001\nFrom: Timothy Carambat <rambat1010@gmail.com>\nDate: Fri, 26 Apr 2024 16:46:04 -0700\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom flask import Flask, redirect, request\nimport re\n\napp = Flask(__name__)\n\n\n@app.route('/redirect')\ndef redirectToTarget():\n '''\n Get target URL from request,\n use a regular expression to check if... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-32698\nDescription: nFPM is an alternative to fpm. The file permissions on the checked-in files were not maintained. Hence, when nfpm packaged \nthe files (without extra config for enforcing it’s own permission... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-hcxp-87ww-ww9m\nDescription: \n\n```diff\nFrom c21eff4b031acb04fb4dfce8bd5fdfecc2b6524f Mon Sep 17 00:00:00 2001\nFrom: Jehan <jehan@girinstud.io>\nDate: Sun, 24 Jun 2018 04:48:48 +0200\nSubject: [PATCH] Issue #168... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2020-24753\nDescription: A memory corruption vulnerability in Objective Open CBOR Run-time (oocborrt) in versions before 2020-08-12 could allow an attacker to execute code via crafted Concise Binary Object Represent... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-23941\nDescription: SwagPayPal is a PayPal integration for shopware/platform. If JavaScript-based PayPal checkout methods are used (PayPal Plus, Smart Payment Buttons, SEPA, Pay Later, Venmo, Credit card), the ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-9464\nDescription: Nextcloud Server before 9.0.54 and 10.0.0 suffers from an improper authorization check on removing shares. The Sharing Backend as implemented in Nextcloud does differentiate between shares to... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-cvfg-5hfc-wcq7\nDescription: \n\n```diff\nFrom b101a6bbd4f2181c360bd38e7683df4a03cba83e Mon Sep 17 00:00:00 2001\nFrom: Xinchen Hui <laruence@gmail.com>\nDate: Sat, 12 Dec 2015 18:45:11 -0800\nSubject: [PATCH] Use ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2016-10156\nDescription: A flaw in systemd v228 in /src/basic/fs-util.c caused world writable suid files to be created when using the systemd timers features, allowing local attackers to escalate their privileges to... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-fj93-7wm4-8x2g\nDescription: \n\n```diff\nFrom b0d9cc758a48f13321750d7409fb7655dcdf2b50 Mon Sep 17 00:00:00 2001\nFrom: Denis Ryabov <dryabov@yandex.ru>\nDate: Thu, 13 Jun 2019 20:42:26 +0300\nSubject: [PATCH] Chec... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0558\nDescription: Cross-site Scripting (XSS) - Stored in Packagist microweber/microweber prior to 1.2.11.\n\n```diff\nFrom 14a1bb971bcb8b5456c2bf0020c3018907a2704d Mon Sep 17 00:00:00 2001\nFrom: Bozhidar Slav... |
[
{
"role": "user",
"content": "This code was flagged for ReDoS - Regular Expression Denial of Service (CWE-1333):\n\n```python\nimport re\ndef match_tags(html):\n pattern = r'<([a-z]+)([^>]*)*>'\n return re.findall(pattern, html)\n```\n\nThe suggested fix is: Use ([^>]*) without outer quantifier, or us... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-x9vc-5q77-m7x4\nDescription: \n\n```diff\nFrom a2b1eb1028f45ac58dea5f58593c1d3db2b4a104 Mon Sep 17 00:00:00 2001\nFrom: GammaC0de <gammac0de@users.noreply.github.com>\nDate: Sun, 22 Jan 2023 01:14:49 +0200\nSubject... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-205\nDescription: \n\n```diff\nFrom 5e52ef5a461570cfb68f3bdbbebfe972cb4e0fd8 Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Tue, 4 May 2021 19:14:24 -0700\nSubject: [PATCH] F... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-39302\nDescription: MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value.\n\n```diff\nFrom 20d9020b76d1f6790c4d84e020d0cc97c929f66b Mon Sep 17 00:00:0... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-34080\nDescription: MantisBT (Mantis Bug Tracker) is an open source issue tracker. If an issue references a note that belongs to another issue that the user doesn't have access to, then it gets hyperlinked. Cli... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0387\nDescription: Cross-site Scripting (XSS) - Stored in Packagist remdex/livehelperchat prior to 3.93v.\n\n```diff\nFrom ff70c7dd641b68b9afb170b89ec1ef003a4e3444 Mon Sep 17 00:00:00 2001\nFrom: Remigijus Kimi... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-jv36-3qpq-7g23\nDescription: \n\n```diff\nFrom 9f756bc67a84d4566bf74a0c2432aa55da404021 Mon Sep 17 00:00:00 2001\nFrom: DRC <information@libjpeg-turbo.org>\nDate: Tue, 4 Apr 2023 13:53:21 -0500\nSubject: [PATCH] Lo... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-qgj8-g9q4-7f2p\nDescription: \n\n```diff\nFrom 8793c3636493c5efdda08f3b5ed5c6e1ea594fd9 Mon Sep 17 00:00:00 2001\nFrom: Alex X <alexey.khit@gmail.com>\nDate: Thu, 11 Jan 2024 14:26:51 +0300\nSubject: [PATCH] Add wa... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-fm67-cv37-96ff\nDescription: \n\n```diff\nFrom b21da40ead640b6153783dad506e68b4024056ef Mon Sep 17 00:00:00 2001\nFrom: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>\nDate: Mon, 27 Jun 2022 2... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2020-27829\nDescription: A heap based buffer overflow in coders/tiff.c may result in program crash and denial of service in ImageMagick before 7.0.10-45.\n\n```diff\nFrom 6ee5059cd3ac8d82714a1ab1321399b88539abf0 Mon... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2020-27560\nDescription: ImageMagick 7.0.10-34 allows Division by Zero in OptimizeLayerFrames in MagickCore/layer.c, which may cause a denial of service.\n\n```diff\nFrom ef59bd764f88d893f1219fee8ba696a5d3f8c1c4 Mon... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-43138\nDescription: In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the mapValues() method, aka lib/internal/iterator.js createObjectIterator prototype pollution.\n\n```di... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0938\nDescription: Stored XSS via file upload in GitHub repository star7th/showdoc prior to v2.10.4.\n\n```diff\nFrom da56d1d68702a7a80506245c251e58eaf84cff27 Mon Sep 17 00:00:00 2001\nFrom: Ajaysen R <40132420... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2019-15140\nDescription: coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a M... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-qff9-r3c8-wgm2\nDescription: \n\n```diff\nFrom 3f39f2d68d11895929c04f7b49b97a734ae7cd1f Mon Sep 17 00:00:00 2001\nFrom: Nick Freear <nfreear@yahoo.co.uk>\nDate: Fri, 12 Jul 2019 12:44:42 +0100\nSubject: [PATCH] Bug... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-q25h-fm3c-jgp6\nDescription: \n\n```diff\nFrom a0ac402cfcdc904f9772e1762b3fda112dcc56a0 Mon Sep 17 00:00:00 2001\nFrom: Linus Torvalds <torvalds@linux-foundation.org>\nDate: Tue, 6 Dec 2016 16:18:14 -0800\nSubject:... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\ndef check_api_key(provided_key, stored_key):\n \"\"\"Verify API key.\"\"\"\n return provided_key == stored_key\n```\n\nIdentify any security issues, their severity, and how to fix them."
},
{
"role": "as... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-6crj-vqv7-qq9r\nDescription: \n\n```diff\nFrom 37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab Mon Sep 17 00:00:00 2001\nFrom: Lev Stipakov <lev@openvpn.net>\nDate: Wed, 15 Apr 2020 10:30:17 +0300\nSubject: [PATCH] Fix il... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nimport base64\nimport MySQLdb\n\n\ndef checkPassword(userid, password):\n '''\n Get the password of the userid from the database and compare with the provided one.\n '''\n db = MySQLdb.connect(host=\"local... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-v7w9-63xh-6r3w\nDescription: \n\n```diff\nFrom 6a14a9bd767c6e452e4df77a24126c3eeb93dcbf Mon Sep 17 00:00:00 2001\nFrom: Tony Murray <murraytony@gmail.com>\nDate: Tue, 29 Oct 2024 21:48:25 -0500\nSubject: [PATCH] Fi... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2017-6390\nDescription: An issue was discovered in whatanime.ga before c334dd8499a681587dd4199e90b0aa0eba814c1d. The vulnerability exists due to insufficient filtration of user-supplied data passed to the \"whatanim... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-5r95-3f2r-9v8g\nDescription: \n\n```diff\nFrom 05692d7005a364add85c6e25a6c4447ce08f913a Mon Sep 17 00:00:00 2001\nFrom: Vlad Tsyrklevich <vlad@tsyrklevich.net>\nDate: Wed, 12 Oct 2016 18:51:24 +0200\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-0569\nDescription: Observable Discrepancy in Packagist snipe/snipe-it prior to v5.3.9.\n\n\n\n```diff\nFrom 05c0819776b07425b2831cd31a8a0f4e7ac30c09 Mon Sep 17 00:00:00 2001\nFrom: snipe <snipe@snipe.net>\nDate... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\nfrom lxml import etree\n\ndef get_root():\n '''\n Create an XML parser, parse the 'resources/config.xml' file and return the root.\n '''\n parser = etree.XMLParser(resolve_entities=True)\n tree = etree.... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-9hp6-4448-45g2\nDescription: \n\n```diff\nFrom 1d79aedc3f82d8c9969b115fe61bc4bd705ec8de Mon Sep 17 00:00:00 2001\nFrom: Yusuke Wada <yusuke@kamawada.com>\nDate: Wed, 3 Sep 2025 13:12:15 +0900\nSubject: [PATCH] Merg... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2021-499\nDescription: \n\n```diff\nFrom 79865b542f9ffdc9caeb255631f7c56f1d4b6517 Mon Sep 17 00:00:00 2001\nFrom: Amit Patankar <amitpatankar@google.com>\nDate: Tue, 4 May 2021 18:05:46 -0700\nSubject: [PATCH] Fix... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-3rh7-494q-3mjq\nDescription: \n\n```diff\nFrom e3a5d056633677959ad924a51758876d415e7046 Mon Sep 17 00:00:00 2001\nFrom: Riccardo Schirone <rschiron@redhat.com>\nDate: Mon, 21 Jan 2019 18:11:42 +0100\nSubject: [PATC... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-6335\nDescription: A Malformed h2 frame can cause 'std::out_of_range' exception when parsing priority meta data. This behavior can lead to denial-of-service. This affects all supported versions of HHVM (3.25.2,... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2017-5576\nDescription: Integer overflow in the vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c in the VideoCore DRM driver in the Linux kernel before 4.9.7 allows local users to cause a denial of service or p... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2018-10574\nDescription: site/index.php/admin/trees/add/ in BigTree 4.2.22 and earlier allows remote attackers to upload and execute arbitrary PHP code because the BigTreeStorage class in core/inc/bigtree/apis/stora... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-mrww-q696-jcq2\nDescription: \n\n```diff\nFrom 5705d99cc1f23f36f9a84aab26d1724010b97798 Mon Sep 17 00:00:00 2001\nFrom: pancake <pancake@nopcode.org>\nDate: Fri, 30 May 2025 09:38:35 +0200\nSubject: [PATCH] Add war... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-fvjx-7cx6-588x\nDescription: \n\n```diff\nFrom 2e8e8c6387ecdf5923dfc4d7718d18eba1b0873d Mon Sep 17 00:00:00 2001\nFrom: Keith Rarick <kr@xph.us>\nDate: Sun, 23 May 2010 00:13:28 -0700\nSubject: [PATCH] Discard job ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-874r-46c6-7p4r\nDescription: \n\n```diff\nFrom 543a4d87c4fade02173f793905a99adec517bc3b Mon Sep 17 00:00:00 2001\nFrom: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>\nDate: Wed, 9 Mar 2022 11:15:32 +0100\nS... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2014-3710\nDescription: The donote function in readelf.c in file through 5.20, as used in the Fileinfo component in PHP 5.4.34, does not ensure that sufficient note headers are present, which allows remote attackers... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2022-23593\nDescription: Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service)... |
[
{
"role": "user",
"content": "Review this code for security vulnerabilities:\n\n```python\ndef safe_delete(filepath):\n \"\"\"Delete file only if user owns it.\"\"\"\n import os\n if os.path.exists(filepath):\n stat = os.stat(filepath)\n if stat.st_uid == os.getuid():\n os.... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2015-10077\nDescription: A vulnerability was found in webbuilders-group silverstripe-kapost-bridge 0.3.3. It has been declared as critical. Affected by this vulnerability is the function index/getPreview of the file... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2023-5289\nDescription: Allocation of Resources Without Limits or Throttling in GitHub repository ikus060/rdiffweb prior to 2.8.4.\n\n```diff\nFrom 06f89b43469aae70e8833e55192721523f86c5a2 Mon Sep 17 00:00:00 2001\n... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-4j82-5ccr-4r8v\nDescription: \n\n```diff\nFrom c2426bba00a01de6913738df8fa78e0215fcce02 Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Thu, 11 Nov 2021 11:50:53 -0800\nSubject: [PA... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-v558-fhw2-v46w\nDescription: \n\n```diff\nFrom 6f9d60f614359720ec98e22b80ba15e8bf88e712 Mon Sep 17 00:00:00 2001\nFrom: Emilio Escobar <escoem@users.noreply.github.com>\nDate: Mon, 27 May 2019 22:43:12 +0200\nSubje... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: PYSEC-2020-293\nDescription: \n\n```diff\nFrom 204945b19e44b57906c9344c0d00120eeeae178a Mon Sep 17 00:00:00 2001\nFrom: Mihai Maruseac <mihaimaruseac@google.com>\nDate: Fri, 18 Sep 2020 13:04:23 -0700\nSubject: [PATCH] ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2021-26911\nDescription: core/imap/MCIMAPSession.cpp in Canary Mail before 3.22 has Missing SSL Certificate Validation for IMAP in STARTTLS mode.\n\n```diff\nFrom 45acb4efbcaa57a20ac5127dc976538671fce018 Mon Sep 17 ... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2020-5288\nDescription: \"In PrestaShop between versions 1.7.0.0 and 1.7.6.5, there is improper access controls on product attributes page. The problem is fixed in 1.7.6.5.\n\n```diff\nFrom e6fd58dc89f1c7b23eb6c49d5... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-36xj-qg9x-f33m\nDescription: \n\n```diff\nFrom 3c4d7c0ee30a30e5abff3d6d9586a3753101faf5 Mon Sep 17 00:00:00 2001\nFrom: Guy Harris <guy@alum.mit.edu>\nDate: Sat, 4 Feb 2017 03:18:44 -0800\nSubject: [PATCH] CVE-2017... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-x8qg-5w28-wmr9\nDescription: \n\n```diff\nFrom fcc808c84c2cc3afb343063e32a49440d32a553c Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Javier=20Rengel=20Jim=C3=A9nez?= <rephus@gmail.com>\nDate: Fri, 14 Apr 2023 16:42:32... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2024-38516\nDescription: ai-client-html is an Aimeos e-commerce HTML client component. Debug information revealed sensitive information from environment variables in error log. This issue has been patched in version... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: CVE-2025-67505\nDescription: Okta Java Management SDK facilitates interactions with the Okta management API. In versions 11.0.0 through 20.0.0, race conditions may arise from concurrent requests using the ApiClient clas... |
[
{
"role": "user",
"content": "Review this code change for security implications:\n\nCVE: GHSA-9pp5-9c7g-4r83\nDescription: \n\n```diff\nFrom bf2aaa1b1830e534ba651d422545ac08a115151b Mon Sep 17 00:00:00 2001\nFrom: Josh Cummings <3627351+jzheaux@users.noreply.github.com>\nDate: Tue, 29 Apr 2025 15:50:08 -060... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.