Race Condition Affecting paramiko package, versions <2.8.1-1ubuntu3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.08% (79th 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-UBUNTU2410-PARAMIKO-8204500
  • published15 Oct 2024
  • disclosed17 Mar 2022

Introduced: 17 Mar 2022

CVE-2022-24302  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 paramiko to version 2.8.1-1ubuntu3 or higher.

NVD Description

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

In Paramiko before 2.10.1, a race condition (between creation and chmod) in the write_private_key_file function could allow unauthorized information disclosure.

CVSS Base Scores

version 3.1