{ "id": "CVE-2023-31039", "sourceIdentifier": "security@apache.org", "published": "2023-05-08T09:15:09.637", "lastModified": "2023-05-12T02:03:27.397", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "Security vulnerability\u00a0in 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:\u00a0 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:\u00a0 https://github.com/apache/brpc/pull/2218 https://github.com/apache/brpc/pull/2218 " } ], "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "security@apache.org", "type": "Primary", "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" ] } ] }