GHSA-f8q4-jwww-x3wv

Suggest an improvement
Source
https://github.com/advisories/GHSA-f8q4-jwww-x3wv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-f8q4-jwww-x3wv/GHSA-f8q4-jwww-x3wv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f8q4-jwww-x3wv
Aliases
Published
2022-03-19T00:01:03Z
Modified
2024-02-16T07:56:21.547732Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Race Condition in Paramiko
Details

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

References

Affected packages

PyPI / paramiko

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.10.0
Fixed
2.10.1

Affected versions

2.*

2.10.0

Ecosystem specific

{
    "affected_functions": [
        "paramiko.pkey.PKey._write_private_key_file"
    ]
}

PyPI / paramiko

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.9.0
Fixed
2.9.3

Affected versions

2.*

2.9.0
2.9.1
2.9.2

Ecosystem specific

{
    "affected_functions": [
        "paramiko.pkey.PKey._write_private_key_file"
    ]
}