CVE-2013-0176
What it is
The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.0% 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: 3.0% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.0% · EPSS, next 30 days
- Weakness
- CWE-399
- Record status
- Modified
Affected
- Libssh ≤ 0.5.3
- Libssh 0.4.7
- Libssh 0.4.8
- Libssh 0.5.0
- Libssh 0.5.1
- Libssh 0.5.2
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
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-2013-0176.md and follow it. Check whether this project is affected by CVE-2013-0176. 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://secunia.com/advisories/51982
- http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/
- http://secunia.com/advisories/51982
- http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/
References
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098065.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098094.html
- http://secunia.com/advisories/51982
- http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/
- http://www.ubuntu.com/usn/USN-1707-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81595
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098065.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098094.html
- http://secunia.com/advisories/51982
- http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/
- http://www.ubuntu.com/usn/USN-1707-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81595