Improper Input Validation Affecting apache/brpc package, versions [0.9.0,1.5.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-APACHEBRPC-5498633
  • published8 May 2023
  • disclosed8 May 2023
  • creditUnknown

Introduced: 8 May 2023

CVE-2023-31039  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade apache/brpc to version 1.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via ServerOptions::pid_file. An 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.

CVSS Scores

version 3.1