Arbitrary Command Injection Affecting ksmtp package, versions <21.12.3-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.53% (41st 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-DEBIAN14-KSMTP-11747471
  • published10 Aug 2025
  • disclosed10 Aug 2021

Introduced: 10 Aug 2021

CVE-2021-38373  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-319  (opens in a new tab)

How to fix?

Upgrade Debian:14 ksmtp to version 21.12.3-2 or higher.

NVD Description

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

In KDE KMail 19.12.3 (aka 5.13.3), the SMTP STARTTLS option is not honored (and cleartext messages are sent) unless "Server requires authentication" is checked.

CVSS Base Scores

version 3.1