iris-sast/CWE-Bench-Java
CWE-Bench-Java This repository contains the dataset CWE-Bench-Java presented in the paper LLM-Assisted Static Analysis for Detecting Security Vulnerabilities. At a high level, this dataset contains 120 CVEs spanning 4 CWEs, namely path-traversal, OS-command injection, cross-site scripting, and code-injection. Each CVE includes the buggy and fixed source code of the project, along with the information of the fixed files and functions. We provide the seed information for each… See the full description on the dataset page: https://huggingface.co/datasets/iris-sast/CWE-Bench-Java.
1215
1{2 "schema_version": "1.4.0",3 "id": "GHSA-395w-qhqr-9fr6",4 "modified": "2021-01-06T20:01:15Z",5 "published": "2021-01-06T20:01:34Z",6 "aliases": [7 "CVE-2020-17519"8 ],9 "summary": "Path Traversal in Apache Flink",10 "details": "A change introduced in Apache Flink 1.11.0 (and released in 1.11.1 and 1.11.2 as well) allows attackers to read any file on the local filesystem of the JobManager through the REST interface of the JobManager process. Access is restricted to files accessible by the JobManager process. All users should upgrade to Flink 1.11.3 or 1.12.0 if their Flink instance(s) are exposed. The issue was fixed in commit b561010b0ee741543c3953306037f00d7a9f0801 from apache/flink:master.",11 "severity": [12 13 ],14 "affected": [15 {16 "package": {17 "ecosystem": "Maven",18 "name": "org.apache.flink:flink-runtime_2.11"19 },20 "ranges": [21 {22 "type": "ECOSYSTEM",23 "events": [24 {25 "introduced": "1.11.0"26 },27 {28 "fixed": "1.11.3"29 }30 ]31 }32 ]33 },34 {35 "package": {36 "ecosystem": "Maven",37 "name": "org.apache.flink:flink-runtime_2.12"38 },39 "ranges": [40 {41 "type": "ECOSYSTEM",42 "events": [43 {44 "introduced": "1.11.0"45 },46 {47 "fixed": "1.11.3"48 }49 ]50 }51 ]52 }53 ],54 "references": [55 {56 "type": "ADVISORY",57 "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-17519"58 },59 {60 "type": "WEB",61 "url": "https://lists.apache.org/thread.html/r0a433be10676f4fe97ca423d08f914e0ead341c901216f292d2bbe83@%3Cissues.flink.apache.org%3E"62 },63 {64 "type": "WEB",65 "url": "https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7@%3Cannounce.apache.org%3E"66 },67 {68 "type": "WEB",69 "url": "https://lists.apache.org/thread.html/r229167538863518738e02f4c1c5a8bb34c1d45dadcc97adf6676b0c1@%3Cdev.flink.apache.org%3E"70 },71 {72 "type": "WEB",73 "url": "https://lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d@%3Cuser-zh.flink.apache.org%3E"74 },75 {76 "type": "WEB",77 "url": "https://lists.apache.org/thread.html/r28f17e564950d663e68cc6fe75756012dda62ac623766bb9bc5e7034@%3Cissues.flink.apache.org%3E"78 },79 {80 "type": "WEB",81 "url": "https://lists.apache.org/thread.html/r2fc60b30557e4a537c2a6293023049bd1c49fd92b518309aa85a0398@%3Cissues.flink.apache.org%3E"82 },83 {84 "type": "WEB",85 "url": "https://lists.apache.org/thread.html/r4e1b72bfa789ea5bc20b8afe56119200ed25bdab0eb80d664fa5bfe2@%3Cdev.flink.apache.org%3E"86 },87 {88 "type": "WEB",89 "url": "https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E"90 },91 {92 "type": "WEB",93 "url": "https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cannounce.apache.org%3E"94 },95 {96 "type": "WEB",97 "url": "https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cdev.flink.apache.org%3E"98 },99 {100 "type": "WEB",101 "url": "https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cuser.flink.apache.org%3E"102 },103 {104 "type": "WEB",105 "url": "https://lists.apache.org/thread.html/r88b55f3ebf1f8f4e1cc61f030252aaef4b77060b56557a243abb92a1@%3Cissues.flink.apache.org%3E"106 },107 {108 "type": "WEB",109 "url": "https://lists.apache.org/thread.html/r88f427865fb6aa6e6378efe07632a1906b430365e15e3b9621aabe1d@%3Cissues.flink.apache.org%3E"110 },111 {112 "type": "WEB",113 "url": "https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922@%3Cannounce.apache.org%3E"114 },115 {116 "type": "WEB",117 "url": "https://lists.apache.org/thread.html/ra8c96bf3ccb4e491f9ce87ba35f134b4449beb2a38d1ce28fd89001f@%3Cdev.flink.apache.org%3E"118 },119 {120 "type": "WEB",121 "url": "http://packetstormsecurity.com/files/160849/Apache-Flink-1.11.0-Arbitrary-File-Read-Directory-Traversal.html"122 },123 {124 "type": "WEB",125 "url": "http://www.openwall.com/lists/oss-security/2021/01/05/2"126 }127 ],128 "database_specific": {129 "cwe_ids": [130 "CWE-22",131 "CWE-552"132 ],133 "severity": "MODERATE",134 "github_reviewed": true,135 "github_reviewed_at": "2021-01-06T20:01:15Z",136 "nvd_published_at": "2021-01-05T12:15:00Z"137 }138}