CVE-2019-5443
n/a curl: Improper Control of Generation of Code
Check your servers for CVE-2019-5443
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-5443 affects curl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A non-privileged user or program can put code and a config file in a known non-privileged path (under C:/usr/local/) that will make curl <= 7.65.1 automatically run the code (as an openssl "engine") on invocation. If that curl is invoked by a privileged user it can do anything it wants.
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.3% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-94 Improper Control of Generation of Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
curl
n/a
|
affected <= 7.65.1
|
Is my server affected?
Find the installed version of curl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i curl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-5443 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-5443RHEL, Rocky, Alma, Fedora
rpm -q curl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-5443Alpine
apk list --installed | grep -i curlWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-5443
trivy image --scanners vuln IMAGE | grep CVE-2019-5443
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://security.netapp.com/advisory/ntap-20191017-0002/ security.netapp.com
Other references
- [oss-security] 20190624 curl: Windows OpenSSL engine code injection openwall.com · mailing list
- 108881 securityfocus.com · vdb entry
- https://www.oracle.com/security-alerts/cpuapr2020.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html oracle.com
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- https://curl.haxx.se/docs/CVE-2019-5443.html curl.haxx.se
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
Source: the record CVE-2019-5443 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.
Vulnpocalypse