{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31039","published":"2023-05-08T09:15:09.637000Z","last_modified":"2026-10-24T13:10:00.147000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:apache:brpc:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"brpc","version_start_including":"0.9.0","version_end_excluding":"1.5.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/brpc"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"epss":{"score":0.01907,"percentile":0.80361,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2023-31039/","html_en":"/en/cve/CVE-2023-31039/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31039","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31039"},"untrusted":{"vendor_name":"Apache","product_name":"Brpc","desc_en":"Security vulnerability in Apache bRPC <1.5.0 on all platforms allows attackers to execute arbitrary code via ServerOptions::pid_file.\nAn attacker that can influence the ServerOptions pid_file parameter with which the bRPC server is started can execute arbitrary code with the permissions of the bRPC process.\n\nSolution:\n1. upgrade to bRPC >= 1.5.0, download link:  https://dist.apache.org/repos/dist/release/brpc/1.5.0/ https://dist.apache.org/repos/dist/release/brpc/1.5.0/ \n2. If you are using an old version of bRPC and hard to upgrade, you can apply this patch:  https://github.com/apache/brpc/pull/2218 https://github.com/apache/brpc/pull/2218","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache bRPC","versions":[]},{"untrusted_vendor":"apache","untrusted_product":"brpc","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/05/08/1","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread/jqpttrqbc38yhckgp67xk399hqxnz7jn","tags":["Mailing List","Patch","Vendor Advisory"]}]}}