CVE-2015-2157
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 2.1 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Debian Linux 7.0
- Fedoraproject Fedora 20
- Fedoraproject Fedora 22
- Opensuse 13.1
- Opensuse 13.2
- Putty 0.51
- Putty 0.52
- Putty 0.53b
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-2157.md and follow it. Check whether this project is affected by CVE-2015-2157. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151790.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00032.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- http://www.debian.org/security/2015/dsa-3190
- http://www.openwall.com/lists/oss-security/2015/02/28/4
- http://www.openwall.com/lists/oss-security/2015/02/28/5
- http://www.securityfocus.com/bid/72825
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151790.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151839.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-March/151933.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00032.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/private-key-not-wiped-2.html
- http://www.debian.org/security/2015/dsa-3190
- http://www.openwall.com/lists/oss-security/2015/02/28/4
- http://www.openwall.com/lists/oss-security/2015/02/28/5
- http://www.securityfocus.com/bid/72825