CVE-2021-3978 Affecting cfrpki package, versions <1.4.2-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (12th 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 IDSNYK-DEBIAN12-CFRPKI-8679224
  • published31 Jan 2025
  • disclosed29 Jan 2025

Introduced: 29 Jan 2025

NewCVE-2021-3978  (opens in a new tab)

How to fix?

Upgrade Debian:12 cfrpki to version 1.4.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cfrpki package and not the cfrpki package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root ( https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service ) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.