CVE-2015-2157
published 2015-03-27CVE-2015-2157: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows…
PriorityP45low2.1CVSS 2.0
AVLACLAuNCPINAN
EPSS
0.58%
44.4th percentile
The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | putty | < putty 0.63-10 (bookworm) | putty 0.63-10 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| opensuse | opensuse | — | — |
| opensuse | opensuse | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | — | — |
| putty | putty | >= 0 < 0.63-10 | 0.63-10 |
| putty | putty | >= 0 < 0.63-10 | 0.63-10 |
| putty | putty | >= 0 < 0.63-10 | 0.63-10 |
| putty | putty | >= 0 < 0.63-10 | 0.63-10 |
| simon_tatham | putty | — | — |
CVSS provenance
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:P/I:N/A:N
osv2.1LOW
vendor_debian2.1LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2015-2157: putty - The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 thro...
vendor_debian·2015·CVSS 2.1
CVE-2015-2157 [LOW] CVE-2015-2157: putty - The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 thro...
The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.
Scope: local
bookworm: resolved (fixed in 0.63-10)
bullseye: resolved (fixed in 0.63-10)
forky: resolved (fixed in 0.63-10)
sid: resolved (fixed in 0.63-10)
trixie: resolved (fixed in 0.63-10)
GHSA
GHSA-cmw5-crx2-gx7r: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0
ghsa_unreviewed·2022-05-14
CVE-2015-2157 [LOW] CWE-200 GHSA-cmw5-crx2-gx7r: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0
The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.
OSV
CVE-2015-2157: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0
osv·2015-03-27·CVSS 2.1
CVE-2015-2157 [LOW] CVE-2015-2157: The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0
The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-2157 putty: failure to scrub private keys from memory after use
bugzilla·2015-03-03·CVSS 2.1
CVE-2015-2157 [LOW] CVE-2015-2157 putty: failure to scrub private keys from memory after use
CVE-2015-2157 putty: failure to scrub private keys from memory after use
It was reported [1] that PuTTy versions prior to 0.64 after loading a private key from a disk file, mistakenly leak a memory buffer containing a copy of the private key.
Upstream commit that fixes this:
http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commit;h=65f69bca7363ceceeac515ae2a82b8f8adc6404d
[1]: http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
Discussion:
Created putty tracking bugs for this issue:
Affects: fedora-all [bug 1198194]
Affects: epel-all [bug 1198195]
---
putty-0.64-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
---
putty-0.64-1.fc20 has been pushed to the Fedora 2
Bugzilla
CVE-2015-2157 putty: failure to scrub private keys from memory after use [fedora-all]
bugzilla·2015-03-03·CVSS 2.1
CVE-2015-2157 [LOW] CVE-2015-2157 putty: failure to scrub private keys from memory after use [fedora-all]
CVE-2015-2157 putty: failure to scrub private keys from memory after use [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
Bugzilla
CVE-2015-2157 putty: failure to scrub private keys from memory after use [epel-all]
bugzilla·2015-03-03·CVSS 2.1
CVE-2015-2157 [LOW] CVE-2015-2157 putty: failure to scrub private keys from memory after use [epel-all]
CVE-2015-2157 putty: failure to scrub private keys from memory after use [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported v
http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151790.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.htmlhttp://lists.opensuse.org/opensuse-updates/2015-03/msg00032.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/changes.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.htmlhttp://www.debian.org/security/2015/dsa-3190http://www.openwall.com/lists/oss-security/2015/02/28/4http://www.openwall.com/lists/oss-security/2015/02/28/5http://www.securityfocus.com/bid/72825http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151790.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.htmlhttp://lists.opensuse.org/opensuse-updates/2015-03/msg00032.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/changes.htmlhttp://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.htmlhttp://www.debian.org/security/2015/dsa-3190http://www.openwall.com/lists/oss-security/2015/02/28/4http://www.openwall.com/lists/oss-security/2015/02/28/5http://www.securityfocus.com/bid/72825
2015-03-27
Published