Command Injection Affecting nasa/CryptoLib package, versions [,1.4.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.91% (56th 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-UNMANAGED-NASACRYPTOLIB-13058630
  • published26 Sept 2025
  • disclosed23 Sept 2025
  • creditLuigino Camastra

Introduced: 23 Sep 2025

CVE-2025-59534  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade nasa/CryptoLib to version 1.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the initialize_kerberos_keytab_file_login() function. An attacker can execute arbitrary commands by supplying crafted input that is interpolated into a shell command and executed without sanitization.

References

CVSS Base Scores

version 4.0
version 3.1