{"id":"CVE-2023-31039","sourceIdentifier":"security@apache.org","published":"2023-05-08T09:15:09.637","lastModified":"2026-10-24T13:10:00.147","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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"},{"lang":"es","value":"Vulnerabilidad de seguridad en Apache bRPC anterior a 1.5.0 en todas las plataformas permite a los atacantes ejecutar código arbitrario a través de ServerOptions::pid_file.\nUn atacante que puede influir en el parámetro ServerOptions pid_file con el que se inicia el servidor bRPC puede ejecutar código arbitrario con los permisos del proceso bRPC. Solución:\n1. actualizar a bRPC >= 1.5.0, enlace de descarga: https://dist.apache.org/repos/dist/release/brpc/1.5.0/ https://dist.apache.org/repos/dist/release/brpc/1.5.0/\n2. Si está utilizando una versión antigua de bRPC y es difícil de actualizar, puede aplicar este parche: https://github.com/apache/brpc/pull/2218 https://github.com/apache/brpc/pull/2218"}],"affected":[{"source":"security@apache.org","affectedData":[{"vendor":"Apache Software Foundation","product":"Apache bRPC","defaultStatus":"unaffected","versions":[{"version":"0.9.0","lessThan":"1.5.0","versionType":"semver","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"apache","product":"brpc","defaultStatus":"unknown","cpes":["cpe:2.3:a:apache:brpc:*:*:*:*:*:*:*:*"],"versions":[{"version":"0.9.0","lessThan":"1.5.0","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-10-15T18:24:41.780912Z","id":"CVE-2023-31039","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@apache.org","type":"Secondary","description":[{"lang":"en","value":"CWE-20"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apache:brpc:*:*:*:*:*:*:*:*","versionStartIncluding":"0.9.0","versionEndExcluding":"1.5.0","matchCriteriaId":"1DC104D4-AF38-45BF-A44A-DB89A39230A0"}]}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/05/08/1","source":"security@apache.org","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread/jqpttrqbc38yhckgp67xk399hqxnz7jn","source":"security@apache.org","tags":["Mailing List","Patch","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/05/08/1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://lists.apache.org/thread/jqpttrqbc38yhckgp67xk399hqxnz7jn","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Vendor Advisory"]}]}