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-5x3v-2gxr-59m2",4 "modified": "2021-04-07T19:55:55Z",5 "published": "2020-07-01T17:26:15Z",6 "aliases": [7 "CVE-2019-17572"8 ],9 "summary": "Directory traversal in Apache RocketMQ",10 "details": "In Apache RocketMQ 4.2.0 to 4.6.0, when the automatic topic creation in the broker is turned on by default, an evil topic like “../../../../topic2020” is sent from rocketmq-client to the broker, a topic folder will be created in the parent directory in brokers, which leads to a directory traversal vulnerability. Users of the affected versions should apply one of the following: Upgrade to Apache RocketMQ 4.6.1 or later.",11 "severity": [12 13 ],14 "affected": [15 {16 "package": {17 "ecosystem": "Maven",18 "name": "org.apache.rocketmq:rocketmq-broker"19 },20 "ranges": [21 {22 "type": "ECOSYSTEM",23 "events": [24 {25 "introduced": "4.2.0"26 },27 {28 "fixed": "4.6.1"29 }30 ]31 }32 ]33 }34 ],35 "references": [36 {37 "type": "ADVISORY",38 "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17572"39 },40 {41 "type": "WEB",42 "url": "https://github.com/apache/rocketmq/issues/1637"43 },44 {45 "type": "WEB",46 "url": "https://github.com/apache/rocketmq/commit/f8f6fbe4aa7f5dee937e688322628c366b12a552"47 },48 {49 "type": "WEB",50 "url": "https://lists.apache.org/thread.html/fdea1c5407da47a17d5522fa149a097cacded1916c1c1534d46edc6d%40%3Cprivate.rocketmq.apache.org%3E"51 },52 {53 "type": "WEB",54 "url": "https://seclists.org/oss-sec/2020/q2/112"55 },56 {57 "type": "WEB",58 "url": "https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEROCKETMQ-569108"59 }60 ],61 "database_specific": {62 "cwe_ids": [63 "CWE-22"64 ],65 "severity": "MODERATE",66 "github_reviewed": true,67 "github_reviewed_at": "2020-07-01T17:26:05Z",68 "nvd_published_at": null69 }70}