CVE-2019-3805

Red Hat wildfly: Signal Handler Race Condition

5.5 medium EPSS 0.19%

Published 3 May 2019 Updated 4 Aug 2024 CNA: redhat

Description

A flaw was discovered in wildfly versions up to 16.0.0.Final that would allow local users who are able to execute init.d script to terminate arbitrary processes on the system. An attacker could exploit this by modifying the PID file in /var/run/jboss-eap/ allowing the init.d script to terminate any process as root.

Severity (CVSS)

5.5 medium CVSS 3.0 from redhat (CNA)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.01% of all scored CVEs. Scores of 26 Nov 2026.

Weakness

  • CWE-364 Signal Handler Race Condition

Affected products

As the CNA lists them.

ProductVersions
wildfly
affected affects up to 16.0.0.Final

Is my server affected?

Find the installed version of wildfly and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i wildfly
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-3805 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-3805

RHEL, Rocky, Alma, Fedora

rpm -q wildfly
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-3805

Alpine

apk list --installed | grep -i wildfly

With Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:

trivy rootfs --scanners vuln / | grep CVE-2019-3805
trivy image --scanners vuln IMAGE | grep CVE-2019-3805

Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.

References

Advisories

Source: the record CVE-2019-3805 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.