Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-31039: Security vulnerability in Apache bRPC <1.5.0 on all platforms allows attackers to execute arbitrary code via S

66
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADE

CVE-2023-31039 is a critical-severity flaw (CVSS 9.8) affecting brpc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Security vulnerability in Apache bRPC <1.5.0 on all platforms allows attackers to execute arbitrary code 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. Solution: 1. upgrade to bRPC >= 1.5.0, download link:  https://dist.apache.org/repos/dist/release/brpc/1.5.0/ https://dist.apache.org/repos/

Why this priority

  • Critical severity
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.5% (top 26%)
CISA exploited listNo
WeaknessCWE-20
Published2023-05-08
Last modified2026-10-24
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache brpc UPGRADE
Affected: >= 0.9.0 and < 1.5.0
Fixed in: 1.5.0
Safe to downgrade to: a release before 0.9.0
1. Check installed version
apt-cache policy brpc || rpm -q brpc || brpc --version
2. UPGRADE to 1.5.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade brpc
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade brpc
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.9.0 (Debian / Ubuntu)
apt-cache madison brpc sudo apt install brpc=<VERSION_BEFORE_0.9.0> sudo apt-mark hold brpc
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list brpc sudo dnf downgrade brpc-<VERSION_BEFORE_0.9.0> sudo dnf versionlock add brpc
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · gnome-shell-extension-tiling-assistant · FIXED · 56-1.fc46 · FEDORA-2026-ebf66a5321 · source
sudo dnf upgrade --advisory=FEDORA-2026-ebf66a5321
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-31039?

brpc: upgrade to 1.5.0. Exact commands for each OS are on this page.

Is CVE-2023-31039 being exploited?

CVE-2023-31039 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-31039 affect?

CVE-2023-31039 affects brpc. Severity is critical (CVSS 9.8). Security vulnerability in Apache bRPC <1.5.0 on all platforms allows attackers to execute arbitrary code via ServerOptions::pid_file. An attacker that can influence the ServerOptions pid_file parameter with which the bRPC server is started

How urgent is CVE-2023-31039?

Priority 66/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.