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-x3cq-8f32-5f63",4 "modified": "2023-07-12T14:46:52Z",5 "published": "2023-07-06T21:15:04Z",6 "aliases": [7 "CVE-2023-33246"8 ],9 "summary": "Apache RocketMQ may have remote code execution vulnerability when using update configuration function",10 "details": "For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. \n\nSeveral components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content. \n\nTo prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .",11 "severity": [12 {13 "type": "CVSS_V3",14 "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"15 }16 ],17 "affected": [18 {19 "package": {20 "ecosystem": "Maven",21 "name": "org.apache.rocketmq:rocketmq-broker"22 },23 "ranges": [24 {25 "type": "ECOSYSTEM",26 "events": [27 {28 "introduced": "5.0.0"29 },30 {31 "fixed": "5.1.1"32 }33 ]34 }35 ]36 },37 {38 "package": {39 "ecosystem": "Maven",40 "name": "org.apache.rocketmq:rocketmq-namesrv"41 },42 "ranges": [43 {44 "type": "ECOSYSTEM",45 "events": [46 {47 "introduced": "4.0.0"48 },49 {50 "fixed": "4.9.6"51 }52 ]53 }54 ]55 },56 {57 "package": {58 "ecosystem": "Maven",59 "name": "org.apache.rocketmq:rocketmq-controller"60 },61 "ranges": [62 {63 "type": "ECOSYSTEM",64 "events": [65 {66 "introduced": "5.0.0"67 },68 {69 "fixed": "5.1.1"70 }71 ]72 }73 ]74 },75 {76 "package": {77 "ecosystem": "Maven",78 "name": "org.apache.rocketmq:rocketmq-namesrv"79 },80 "ranges": [81 {82 "type": "ECOSYSTEM",83 "events": [84 {85 "introduced": "5.0.0"86 },87 {88 "fixed": "5.1.1"89 }90 ]91 }92 ]93 }94 ],95 "references": [96 {97 "type": "ADVISORY",98 "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33246"99 },100 {101 "type": "WEB",102 "url": "https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d"103 },104 {105 "type": "WEB",106 "url": "https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703"107 },108 {109 "type": "PACKAGE",110 "url": "https://github.com/apache/rocketmq"111 },112 {113 "type": "WEB",114 "url": "https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp"115 },116 {117 "type": "WEB",118 "url": "http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html"119 },120 {121 "type": "WEB",122 "url": "http://www.openwall.com/lists/oss-security/2023/07/12/1"123 }124 ],125 "database_specific": {126 "cwe_ids": [127 "CWE-94"128 ],129 "severity": "CRITICAL",130 "github_reviewed": true,131 "github_reviewed_at": "2023-07-06T23:48:22Z",132 "nvd_published_at": "2023-05-24T15:15:09Z"133 }134}